Merge pull request #1206 from hathach/bcm-dwc2-address

Bcm dwc2 address
This commit is contained in:
Ha Thach
2021-11-22 12:07:07 +07:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
CFLAGS += -DBCM_VERSION=2711

View File

@@ -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