From ab2b3191abd114da73b8d58216255eb2f26b078d Mon Sep 17 00:00:00 2001 From: Joseph Chen Date: Mon, 21 Sep 2020 15:35:26 +0800 Subject: [PATCH] rockchip: rv1126: add periph device region for thunder-boot SPL It makes thunder-boot SPL only map periph device region as dcache off but not all 4GB region to save boot time. Signed-off-by: Joseph Chen Change-Id: Ib0abafe1b74cde24755780261fb7fcfaa8932ea2 --- include/configs/rv1126_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/rv1126_common.h b/include/configs/rv1126_common.h index a6307ebcc7..19e4d9cf99 100644 --- a/include/configs/rv1126_common.h +++ b/include/configs/rv1126_common.h @@ -55,6 +55,9 @@ #define CONFIG_SYS_SDRAM_BASE 0 #define SDRAM_MAX_SIZE 0xfd000000 +#define PERIPH_DEVICE_START_ADDR (CONFIG_SYS_SDRAM_BASE + SDRAM_MAX_SIZE) +#define PERIPH_DEVICE_END_ADDR SZ_4G + #define CONFIG_SYS_NONCACHED_MEMORY (1 << 20) /* 1 MiB */ #ifndef CONFIG_SPL_BUILD