summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-11-03 13:13:08 +0700
committerhathach <[email protected]>2021-11-03 13:13:08 +0700
commit0faff5a859cfd91f92a9b91f65a1d6a164f0a7be (patch)
treeaaf8f106f88caa5d25c50b8d43d9ce27597ab711
parente16506cb52d6d8e8b2a2e2910f10c32a89a6d322 (diff)
update broadcom peripherals to latest
-rw-r--r--hw/bsp/raspberrypi4/family.c4
-rw-r--r--hw/bsp/raspberrypi4/family.mk2
m---------hw/mcu/broadcom0
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/bsp/raspberrypi4/family.c b/hw/bsp/raspberrypi4/family.c
index 95b28c6fc..7a7a0e9ff 100644
--- a/hw/bsp/raspberrypi4/family.c
+++ b/hw/bsp/raspberrypi4/family.c
@@ -30,7 +30,7 @@
#include "broadcom/interrupts.h"
#include "broadcom/io.h"
#include "broadcom/mmu.h"
-//#include "broadcom/caches.h"
+#include "broadcom/caches.h"
#include "broadcom/vcmailbox.h"
//--------------------------------------------------------------------+
@@ -57,7 +57,7 @@ void board_init(void)
gpio_setPinOutputBool(18, true);
gpio_initOutputPinWithPullNone(42);
setup_mmu_flat_map();
-// init_caches();
+ init_caches();
// gpio_initOutputPinWithPullNone(23);
// gpio_initOutputPinWithPullNone(24);
diff --git a/hw/bsp/raspberrypi4/family.mk b/hw/bsp/raspberrypi4/family.mk
index 2a0a87788..475cfa4ff 100644
--- a/hw/bsp/raspberrypi4/family.mk
+++ b/hw/bsp/raspberrypi4/family.mk
@@ -25,9 +25,9 @@ SRC_C += \
$(MCU_DIR)/broadcom/interrupts.c \
$(MCU_DIR)/broadcom/io.c \
$(MCU_DIR)/broadcom/mmu.c \
+ $(MCU_DIR)/broadcom/caches.c \
$(MCU_DIR)/broadcom/vcmailbox.c
-# $(MCU_DIR)/broadcom/caches.c \
CROSS_COMPILE = aarch64-none-elf-
diff --git a/hw/mcu/broadcom b/hw/mcu/broadcom
-Subproject 55cd6f798a45cac905d7bf81baa2bcbf7de7c42
+Subproject d126323fc77e81d1f18677a439685a4754ea02a