From dac7574c98cc6db1b40c244c5bedb81a2b78d0ca Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 22 Nov 2021 10:52:28 +0700 Subject: [PATCH] use USB_OTG_GLOBAL_BASE instead of hard code value --- src/portable/synopsys/dwc2/dwc2_bcm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portable/synopsys/dwc2/dwc2_bcm.h b/src/portable/synopsys/dwc2/dwc2_bcm.h index fcec0b0d2..353bc21ee 100644 --- a/src/portable/synopsys/dwc2/dwc2_bcm.h +++ b/src/portable/synopsys/dwc2/dwc2_bcm.h @@ -34,7 +34,7 @@ #include "broadcom/interrupts.h" #include "broadcom/caches.h" -#define DWC2_REG_BASE 0xFE980000UL +#define DWC2_REG_BASE USB_OTG_GLOBAL_BASE #define DWC2_EP_MAX 8 #define DWC2_EP_FIFO_SIZE 4096