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 <[email protected]>
---

 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

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to