From 861ff277575fb00c8b8d22c3baab726c353a8fea Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Wed, 27 Sep 2017 20:23:09 +0200 Subject: [PATCH] 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 --- include/configs/evb_rk3399.h | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.39.5