From: Siva Durga Prasad Paladugu Date: Thu, 17 Dec 2015 09:48:15 +0000 (+0530) Subject: zynqmp: mini: Adjust malloc length for mini qspi and nand X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d52c14247708eb65f4d736384ad6891f47bbfe70;p=thirdparty%2Fu-boot.git zynqmp: mini: Adjust malloc length for mini qspi and nand Adjust malloc length to be allocated for mini qspi and nand as nand needs more dynamic memory compared to QSPI. Also updated the SDRAM size for Nand mini u-boot Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/include/configs/xilinx_zynqmp_mini.h b/include/configs/xilinx_zynqmp_mini.h index fcf116bb121..51040c01fcd 100644 --- a/include/configs/xilinx_zynqmp_mini.h +++ b/include/configs/xilinx_zynqmp_mini.h @@ -70,7 +70,6 @@ /* Define needed configs */ #define CONFIG_CMD_MEMORY #define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */ -#define CONFIG_SYS_MALLOC_LEN 0x2000 #define CONFIG_NR_DRAM_BANKS 1 @@ -79,12 +78,14 @@ # define CONFIG_SYS_SDRAM_BASE 0xFFFC0000 # define CONFIG_ENV_SIZE 1400 # define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x20000) +# define CONFIG_SYS_MALLOC_LEN 0x2000 #elif defined(CONFIG_MINI_NAND) -# define CONFIG_SYS_SDRAM_SIZE (4 * 1024 * 1024) +# define CONFIG_SYS_SDRAM_SIZE 0x1000000 # define CONFIG_SYS_SDRAM_BASE 0 # define CONFIG_ENV_SIZE 0x10000 # define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x40000) +# define CONFIG_SYS_MALLOC_LEN 0x800000 #endif