]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
rockchip: rock: remove CONFIG_ENV_OFFSET
authorKever Yang <kever.yang@rock-chips.com>
Fri, 3 Nov 2017 08:11:04 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 7 Nov 2017 08:16:56 +0000 (09:16 +0100)
We use the same default ENV setting in rockchip_common.h for all SoC.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/rock.h

index 8d845d95e378262ba5e2dad2f4c1997ebef15432..468dfdbff9880f3b9d46010d8521adf95ffdf8ee 100644 (file)
 
 #define CONFIG_SYS_MMC_ENV_DEV 0
 
-#if CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BROM)
-/* SPL @ 32k for 34k
- * u-boot directly after @ 68k for 400k or so
- * ENV @ 992k
- */
-#define CONFIG_ENV_OFFSET ((1024-32) * 1024)
-#else
-/* SPL @ 32k for ~36k
- * ENV @ 96k
- * u-boot @ 128K
- */
-#define CONFIG_ENV_OFFSET (96 * 1024)
-#endif
-
 #endif