mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
a85f388565
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>
32 lines
734 B
C
32 lines
734 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Configuration for Xilinx Versal MINI configuration
|
|
*
|
|
* (C) Copyright 2018-2019 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
* Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_VERSAL_MINI_H
|
|
#define __CONFIG_VERSAL_MINI_H
|
|
|
|
#define CONFIG_SYS_MEMTEST_SCRATCH 0xfffc0000
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS
|
|
|
|
#include <configs/xilinx_versal.h>
|
|
|
|
/* Undef unneeded configs */
|
|
#undef CONFIG_EXTRA_ENV_SETTINGS
|
|
#undef CONFIG_ZLIB
|
|
#undef CONFIG_GZIP
|
|
#undef CONFIG_CMD_ENV
|
|
|
|
/* BOOTP options */
|
|
#undef CONFIG_BOOTP_BOOTFILESIZE
|
|
#undef CONFIG_BOOTP_MAY_FAIL
|
|
|
|
#undef CONFIG_SYS_CBSIZE
|
|
#define CONFIG_SYS_CBSIZE 1024
|
|
|
|
#endif /* __CONFIG_VERSAL_MINI_H */
|