]> git.ipfire.org Git - u-boot.git/commitdiff
evb-rk3399: avoid redefinition of CONFIG_ENV_OFFSET
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 27 Sep 2017 18:23:09 +0000 (20:23 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:34 +0000 (00:33 +0200)
CONFIG_ENV_OFFSET is already defined in
include/configs/rockchip-common.h

For CONFIG_ROCKCHIP_BACK_TO_BROM=y we redefine CONFIG_ENV_OFFSET
to an unsuitable value. We were lucky to get a compiler warning.

Remove the incorrect redefinition.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/evb_rk3399.h

index 015f25a774006dd290d8db0542b9f3ecffafbf5d..66ead6c117230aacede8099e0ee634a0bee9bd1d 100644 (file)
 #include <configs/rk3399_common.h>
 
 #define CONFIG_SYS_MMC_ENV_DEV 1
-/*
- * SPL @ 32k for ~36k
- * ENV @ 96k
- * u-boot @ 128K
- */
-#define CONFIG_ENV_OFFSET (96 * 1024)
 
 #define SDRAM_BANK_SIZE                        (2UL << 30)