]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb: dwc2: Align macros with Linux kernel definitions
authorKongyang Liu <seashell11234455@gmail.com>
Fri, 10 Jan 2025 13:55:24 +0000 (21:55 +0800)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Mon, 2 Jun 2025 07:57:25 +0000 (09:57 +0200)
commit6def014bba5ee779c7faeec012bc93d2ff90f6d3
tree6b1dcd3e612b54a27455e8e4095dcbb265cd1103
parenta5699130f4ad3f08d5192a459d116cd0ffc9ee4d
usb: dwc2: Align macros with Linux kernel definitions

Update the DWC2 macros to match those used in the Linux kernel, making
it easier to synchronize updates with kernel. Also removed some unused
macros to cleanup the code.

Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Link: https://lore.kernel.org/r/20250110-dwc2-dev-v4-5-987f4fd6f8b2@pigmoral.tech
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/dwc2_udc_otg_regs.h
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c
drivers/usb/host/dwc2.c
drivers/usb/host/dwc2.h