Commit 861ff277575fb00c8b8d22c3baab726c353a8fea

Authored by Heinrich Schuchardt
Committed by Philipp Tomsich
1 parent 4a18729726

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 <xypron.glpk@gmx.de>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff

include/configs/evb_rk3399.h
... ... @@ -10,12 +10,6 @@
10 10 #include <configs/rk3399_common.h>
11 11  
12 12 #define CONFIG_SYS_MMC_ENV_DEV 1
13   -/*
14   - * SPL @ 32k for ~36k
15   - * ENV @ 96k
16   - * u-boot @ 128K
17   - */
18   -#define CONFIG_ENV_OFFSET (96 * 1024)
19 13  
20 14 #define SDRAM_BANK_SIZE (2UL << 30)
21 15