[U-Boot] [PATCH] rockchip: board: lion-rk3368: reduce env-size default to 8KiB

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Jan 2 18:13:31 UTC 2018


We want to have the same configuration defaults for the RK3368-uQ7
as for the RK3399-Q7: this change reduces the default env-size to
8KiB to ensure that it does not overlap the boot-payload on SD/MMC
configurations.

References: commit fe529e6597c0 ("rockchip: rk3399-puma: reduce env size to 8kiB")
Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---

 board/theobroma-systems/lion_rk3368/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/theobroma-systems/lion_rk3368/Kconfig b/board/theobroma-systems/lion_rk3368/Kconfig
index d7aa487..fddbf82 100644
--- a/board/theobroma-systems/lion_rk3368/Kconfig
+++ b/board/theobroma-systems/lion_rk3368/Kconfig
@@ -12,4 +12,10 @@ config SYS_CONFIG_NAME
 config BOARD_SPECIFIC_OPTIONS # dummy
 	def_bool y
 
+config ENV_SIZE
+	default 0x2000
+
+config ENV_OFFSET
+	default 0x3c000 if ENV_IS_IN_SPI_FLASH
+
 endif
-- 
2.1.4



More information about the U-Boot mailing list