From dac7574c98cc6db1b40c244c5bedb81a2b78d0ca Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 22 Nov 2021 10:52:28 +0700 Subject: [PATCH 1/3] 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 From 21787ecdd355917db3790be20f35f6f2d5a05a66 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 22 Nov 2021 10:52:53 +0700 Subject: [PATCH 2/3] update bcm prph --- hw/mcu/broadcom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/mcu/broadcom b/hw/mcu/broadcom index d126323fc..5bff1d5e0 160000 --- a/hw/mcu/broadcom +++ b/hw/mcu/broadcom @@ -1 +1 @@ -Subproject commit d126323fc77e81d1f18677a439685a4754ea02aa +Subproject commit 5bff1d5e02c37c38ee1e5cf3f7fe82fdc7e1517e From 8a18c22c2f7c15b5c7869428877c1e50157d5856 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 22 Nov 2021 10:59:22 +0700 Subject: [PATCH 3/3] add BCM_VERSION --- hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk b/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk index e69de29bb..897342479 100644 --- a/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk +++ b/hw/bsp/raspberrypi4/boards/raspberrypi_cm4/board.mk @@ -0,0 +1 @@ +CFLAGS += -DBCM_VERSION=2711