summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2022-11-19 16:10:59 +0000
committerAndre Przywara <andre.przywara@arm.com>2022-12-13 20:33:31 +0000
commitb072aefbbe1cbbeab92c8153c07127051905d292 (patch)
tree7292e7be3487ce97fce2b2844edde04d98b87bdd /Kconfig
parentc917865c7fd14420d25388bb3c8c24cb03911caf (diff)
sunxi: define SYS_MONITOR_LEN in Kconfig, not _defconfig
Commit 08574ed339fb ("Convert CONFIG_SYS_MONITOR_LEN to Kconfig") moved the definition of said config variable from the common sunxi header to *every board's* defconfig. This is a platform choice, not board specific, so remove the variable from there, instead set the one value for all Allwinner boards in Kconfig. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 67f46467b1..0cdc9658f7 100644
--- a/Kconfig
+++ b/Kconfig
@@ -586,6 +586,7 @@ config SYS_SRAM_SIZE
config SYS_MONITOR_LEN
int "Maximum size in bytes reserved for U-Boot in memory"
default 1048576 if X86
+ default 786432 if ARCH_SUNXI
default 0
help
Size of memory reserved for monitor code, used to determine