[PATCH 14/21] Convert CONFIG_SYS_MONITOR_LEN to Kconfig
Simon Glass
sjg at chromium.org
Sun Oct 30 02:43:37 CET 2022
On Fri, 28 Oct 2022 at 18:31, Tom Rini <trini at konsulko.com> wrote:
>
> This converts the following to Kconfig:
> CONFIG_SYS_MONITOR_LEN
>
> To do this, we set a default of 0 for everyone because there are a
> number of cases where we define CONFIG_SYS_MONITOR_LEN but the only
> impact is that we set TOTAL_MALLOC_LEN to be CONFIG_SYS_MALLOC_LEN +
> CONFIG_ENV_SIZE, so we must continue to allow all boards to set this
> value. Update the SPL code to use 200 KB as the default raw U-Boot size
> directly, if we don't have a real CONFIG_SYS_MONITOR_LEN value.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Kconfig | 11 +++++++++++
> README | 6 ------
> common/spl/spl.c | 11 +++++++----
> configs/10m50_defconfig | 1 +
> configs/3c120_defconfig | 1 +
yay!
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list