aboutsummaryrefslogtreecommitdiff
path: root/include/configs/xilinx_versal_mini.h
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>2019-09-09 03:31:08 -0600
committerMichal Simek <michal.simek@xilinx.com>2019-10-08 09:41:27 +0200
commita85f388565063404ec6cd8b908094c0e3e6472e3 (patch)
tree64db0ae244268dbaff8781387a6702cb7f3ba364 /include/configs/xilinx_versal_mini.h
parent8567717dff2b3d972003d91361004f2ecef3935c (diff)
downloadu-boot-a85f388565063404ec6cd8b908094c0e3e6472e3.zip
u-boot-a85f388565063404ec6cd8b908094c0e3e6472e3.tar.gz
u-boot-a85f388565063404ec6cd8b908094c0e3e6472e3.tar.bz2
arm64: versal: Fix for OCM overwriting issue
This patch reduces the console buffer size from 2048 to 1024, thus fixes OCM overwriting issue. Differences are in bss section as is shown from output: xilinx_versal_mini: all -2056 bss -2048 text -8 u-boot: add: 0/0, grow: 0/-3 bytes: 0/-2056 (-2056) function old new delta cli_simple_run_command 340 332 -8 static.lastcommand 2049 1025 -1024 console_buffer 2049 1025 -1024 Better would be to use PPU RAM but this change is also aligned with changes done in ZynqMP mini configurations. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx_versal_mini.h')
-rw-r--r--include/configs/xilinx_versal_mini.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/xilinx_versal_mini.h b/include/configs/xilinx_versal_mini.h
index d30a697..ee305e0 100644
--- a/include/configs/xilinx_versal_mini.h
+++ b/include/configs/xilinx_versal_mini.h
@@ -26,4 +26,7 @@
#undef CONFIG_BOOTP_BOOTFILESIZE
#undef CONFIG_BOOTP_MAY_FAIL
+#undef CONFIG_SYS_CBSIZE
+#define CONFIG_SYS_CBSIZE 1024
+
#endif /* __CONFIG_VERSAL_MINI_H */