From 224d261a16435389cc349b0e1640d489f117189d Mon Sep 17 00:00:00 2001 From: Philipp Tomsich Date: Tue, 2 Jan 2018 18:43:37 +0100 Subject: [PATCH] rockchip: board: lion-rk3368: reduce env-size default to 8KiB 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 --- 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 d7aa487abd..fddbf826df 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.25.1