]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
defconfig: zynqmp_mini: qspi: Use TCM memory for MMU table
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 13 Jul 2017 13:31:13 +0000 (19:01 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 13 Jul 2017 14:44:00 +0000 (16:44 +0200)
Allocating MMU in OCM takes up more space and u-boot
cant fit in it with MMU. So, use TCM for MMU table
by pointing tlb address to TCM while booting.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/xilinx_zynqmp_mini_qspi_defconfig
include/configs/xilinx_zynqmp_mini.h

index 3191395be6511ba25828d359d5139ebd3c7235f1..b59873b934ba27f6e6c31c14d1aa5026a71a542f 100644 (file)
@@ -1,6 +1,8 @@
 CONFIG_ARM=y
 CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini"
 CONFIG_ARCH_ZYNQMP=y
+CONFIG_SYS_MEM_RSVD_FOR_MMU=y
+CONFIG_DEFINE_TCM_OCM_MMAP=y
 CONFIG_ZYNQMP_QSPI=y
 # CONFIG_MMC is not set
 CONFIG_SYS_TEXT_BASE=0xFFFC0000
index b7bddb307820d2779ca563f5ad9902006290f747..51975b29115558623879dfc369204baeb57fac72 100644 (file)
@@ -86,6 +86,7 @@
 # define CONFIG_ENV_SIZE               1400
 # define CONFIG_SYS_INIT_SP_ADDR       (CONFIG_SYS_SDRAM_BASE + 0x20000)
 # define CONFIG_SYS_MALLOC_LEN         0x2000
+# define CONFIG_MP
 
 #elif defined(CONFIG_MINI_NAND)
 # define CONFIG_SYS_SDRAM_SIZE         0x1000000