rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig
[oweals/u-boot.git] / env / Kconfig
index 2477bf85309b20d6aba37ce72b34d7584154a5fc..bef6e89bfc3cc670077c5fb4cd80cbf5e29974bb 100644 (file)
@@ -427,4 +427,22 @@ config ENV_UBI_VOLUME
 
 endif
 
+if ARCH_ROCKCHIP
+
+config ENV_OFFSET
+       hex
+       depends on !ENV_IS_IN_UBI
+       depends on !ENV_IS_NOWHERE
+       default 0x3f8000
+       help
+         Offset from the start of the device (or partition)
+
+config ENV_SIZE
+       hex
+       default 0x8000
+       help
+         Size of the environment storage area
+
+endif
+
 endmenu