From: Philipp Tomsich Date: Tue, 2 Jan 2018 17:43:37 +0000 (+0100) Subject: rockchip: board: lion-rk3368: reduce env-size default to 8KiB X-Git-Tag: v2018.01~4^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=224d261a16435389cc349b0e1640d489f117189d;p=u-boot 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 --- 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