summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2017-12-01 13:50:33 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-12-14 20:08:15 +0100
commit52b36fd155c3c860f094272627c466ba4a4f4e26 (patch)
tree27866874baed7b4bba78369d10f121c1231df5fb /include/configs/zynq-common.h
parent8b93a92f6d089c8b3a055c8d89492e73137490b7 (diff)
arm: zynq: Fix SPL SD boot mode
This patch is fixing two issues: 1. Insufficient stack size for fat fs buffers 2. Insufficient space in malloc area Tested on zc702 and zc706. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 7247c90307..b10cb3f572 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -344,12 +344,9 @@
/* 3 * 64kB blocks of OCM - one is on the top because of bootrom */
#define CONFIG_SPL_MAX_SIZE 0x30000
-/* The highest 64k OCM address */
-#define OCM_HIGH_ADDR 0xffff0000
-
/* On the top of OCM space */
-#define CONFIG_SYS_SPL_MALLOC_START OCM_HIGH_ADDR
-#define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000
+#define CONFIG_SYS_SPL_MALLOC_START CONFIG_SPL_STACK_R_ADDR
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000000
/*
* SPL stack position - and stack goes down