
31 Dec
2024
31 Dec
'24
7:09 p.m.
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote:
From: Kongyang Liu seashell11234455@gmail.com
The same registers are accessed in both the otg and gatet drivers of dwc2, and these registers are repeatedly defined in these two parts. Extract register definitions into a common header file to reduce redundancy and make the code more maintainable.
Signed-off-by: Kongyang Liu seashell11234455@gmail.com Signed-off-by: Junhui Liu liujh2818@outlook.com
Reviewed-by: Marek Vasut marex@denx.de