rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig
[oweals/u-boot.git] / board / theobroma-systems / puma_rk3399 / Kconfig
index a645590d7874fbdd77263ffec57795484db25e6a..80b3460d4cd5a6369f53d87057f98ef9a7225866 100644 (file)
@@ -12,4 +12,10 @@ config SYS_CONFIG_NAME
 config BOARD_SPECIFIC_OPTIONS # dummy
        def_bool y
 
+config ENV_SIZE
+       default 0x2000 if ENV_IS_IN_SPI_FLASH
+
+config ENV_OFFSET
+       default 0x3c000 if ENV_IS_IN_SPI_FLASH
+
 endif