[PATCH v2 1/8] usb: dwc2: Extract register definitions to common header file

Marek Vasut marex at denx.de
Tue Dec 31 19:09:39 CET 2024


On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote:
> From: Kongyang Liu <seashell11234455 at 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 at gmail.com>
> Signed-off-by: Junhui Liu <liujh2818 at outlook.com>
Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list