From: Heinrich Schuchardt Date: Wed, 27 Sep 2017 18:23:09 +0000 (+0200) Subject: evb-rk3399: avoid redefinition of CONFIG_ENV_OFFSET X-Git-Tag: v2017.11-rc1~3^2~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=861ff277575fb00c8b8d22c3baab726c353a8fea;p=oweals%2Fu-boot.git evb-rk3399: avoid redefinition of CONFIG_ENV_OFFSET 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 Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h index 015f25a774..66ead6c117 100644 --- a/include/configs/evb_rk3399.h +++ b/include/configs/evb_rk3399.h @@ -10,12 +10,6 @@ #include #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)