]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynqmp: mini: Adjust malloc length for mini qspi and nand
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 17 Dec 2015 09:48:15 +0000 (15:18 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 17 Dec 2015 13:06:35 +0000 (14:06 +0100)
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 <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp_mini.h

index fcf116bb121a3de341762e2a249beb968389ee41..51040c01fcd24c113a77724545b966ab1d55d892 100644 (file)
@@ -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
 
 # 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