summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-03-20 14:57:22 (GMT)
committerJagan Teki <jagan@amarulasolutions.com>2017-04-07 05:53:46 (GMT)
commitd6a7e0cbe30d4493283b559a6e5f655e127649f2 (patch)
tree01fd4e26108c4b25b5e73b1036be3442bc96caf9 /include/configs/sunxi-common.h
parent522c282ff4800886cdc60d9b363adcb07c9131ee (diff)
downloadu-boot-fsl-qoriq-d6a7e0cbe30d4493283b559a6e5f655e127649f2.tar.xz
sunxi: Add default environment size
On boards that defines ENV_IS_NOWHERE, such as the NES classic, commit 19dbe7d1a3f7 ("common: Move environment choice to Kconfig") broke the build because of a missing environment size. Reintroduce a default environment size consistent with what we had before. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index e1c5fe7..171cea2 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -142,6 +142,8 @@
#if defined(CONFIG_ENV_IS_IN_MMC)
#define CONFIG_SYS_MMC_ENV_DEV 0 /* first detected MMC controller */
#define CONFIG_SYS_MMC_MAX_DEVICE 4
+#elif defined(CONFIG_ENV_IS_NOWHERE)
+#define CONFIG_ENV_SIZE (128 << 10)
#endif
/* 64MB of malloc() pool */