diff options
author | Michal Simek | 2017-12-01 13:50:33 +0100 |
---|---|---|
committer | Michal Simek | 2017-12-14 20:08:15 +0100 |
commit | 52b36fd155c3c860f094272627c466ba4a4f4e26 (patch) | |
tree | 27866874baed7b4bba78369d10f121c1231df5fb /include | |
parent | 8b93a92f6d089c8b3a055c8d89492e73137490b7 (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')
-rw-r--r-- | include/configs/zynq-common.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 7247c903075..b10cb3f5722 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 |