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 <chenjh@rock-chips.com> Change-Id: Ib0abafe1b74cde24755780261fb7fcfaa8932ea2
This commit is contained in:
parent
2a3fb7bb04
commit
ab2b3191ab
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue