]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: board: lion-rk3368: reduce env-size default to 8KiB
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 2 Jan 2018 17:43:37 +0000 (18:43 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 2 Jan 2018 18:12:53 +0000 (19:12 +0100)
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@theobroma-systems.com>
board/theobroma-systems/lion_rk3368/Kconfig

index d7aa487abd4f86c166c2e3e62a4ecfa013c5a9bb..fddbf826df128e0c9656880c630d1db33eb842fc 100644 (file)
@@ -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