From: Siva Durga Prasad Paladugu Date: Thu, 13 Jul 2017 13:31:13 +0000 (+0530) Subject: defconfig: zynqmp_mini: qspi: Use TCM memory for MMU table X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c0693408dab033317612cdc0878599728c1d441;p=thirdparty%2Fu-boot.git defconfig: zynqmp_mini: qspi: Use TCM memory for MMU table 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 Signed-off-by: Michal Simek --- diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index 3191395be65..b59873b934b 100644 --- a/configs/xilinx_zynqmp_mini_qspi_defconfig +++ b/configs/xilinx_zynqmp_mini_qspi_defconfig @@ -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 diff --git a/include/configs/xilinx_zynqmp_mini.h b/include/configs/xilinx_zynqmp_mini.h index b7bddb30782..51975b29115 100644 --- a/include/configs/xilinx_zynqmp_mini.h +++ b/include/configs/xilinx_zynqmp_mini.h @@ -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