summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-11-22 10:52:28 +0700
committerhathach <[email protected]>2021-11-22 10:52:28 +0700
commitdac7574c98cc6db1b40c244c5bedb81a2b78d0ca (patch)
tree6daf3bcd1bbd9d9f8ac23e756ab73497cc93c090 /src
parent6f59a2ce6e9cfdb7855b300db3ad1304b35bb25f (diff)
use USB_OTG_GLOBAL_BASE instead of hard code value
Diffstat (limited to 'src')
-rw-r--r--src/portable/synopsys/dwc2/dwc2_bcm.h2
1 files changed, 1 insertions, 1 deletions
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