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
commit b8d66e4d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

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

@ -1 +1 @@
Subproject commit d126323fc77e81d1f18677a439685a4754ea02aa
Subproject commit 5bff1d5e02c37c38ee1e5cf3f7fe82fdc7e1517e

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