]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
rockchip: config: use common CONFIG_ENV_SIZE for all SoCs
authorKever Yang <kever.yang@rock-chips.com>
Tue, 31 Oct 2017 07:52:20 +0000 (15:52 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 7 Nov 2017 08:16:56 +0000 (09:16 +0100)
All Rockchip SoCs use 32KB as CONFIG_ENV_SIZE.

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/evb_rk3229.h
include/configs/kylin_rk3036.h
include/configs/lion_rk3368.h
include/configs/rk3036_common.h
include/configs/rk3188_common.h
include/configs/rk322x_common.h
include/configs/rk3288_common.h
include/configs/rk3328_common.h
include/configs/rk3399_common.h
include/configs/rockchip-common.h
include/configs/sheep_rk3368.h

index 8906c8f0b1a7cc9b4b2a129b82da8dc91ce2bc94..ae981f7610dc4159452662bc25c86a58740407a9 100644 (file)
@@ -11,8 +11,6 @@
 
 
 /* Store env in emmc */
-#undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_SIZE                 (32 << 10)
 #define CONFIG_SYS_MMC_ENV_DEV          0
 #define CONFIG_SYS_MMC_ENV_PART         0
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
index 36009b8599e5c32decfd1045a89573e55cf47513..d2d630d6107f7dd5c6609d6f6615358a7f98ff8b 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef CONFIG_SPL_BUILD
 
 /* Store env in emmc */
-#undef CONFIG_ENV_SIZE
-#define CONFIG_ENV_SIZE                        SZ_32K
 #define CONFIG_SYS_MMC_ENV_DEV         0 /* emmc */
 #define CONFIG_SYS_MMC_ENV_PART                0 /* user area */
 
index 4118ffd65b41d16742524f4aed3d31387710df6d..c40dbadc151cb18beee5b640c49dab3a27373b19 100644 (file)
@@ -13,6 +13,5 @@
 #define KERNEL_LOAD_ADDR               0x280000
 #define DTB_LOAD_ADDR                  0x5600000
 #define INITRD_LOAD_ADDR               0x5bf0000
-#define CONFIG_ENV_SIZE                        0x2000
 
 #endif
index 9ac0df57dedb4d51fa21359f8c3dee853d0478ff..4ed8f5a6c764f78b82b7628fd708b89d41df0053 100644 (file)
@@ -10,7 +10,6 @@
 #include "rockchip-common.h"
 
 #define CONFIG_NR_DRAM_BANKS           1
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SKIP_LOWLEVEL_INIT
index 5e462346be2aef20f6ef7b27e64e778396e4445d..cfa5364710234ba8dcb8eaaea34aadcd16da4761 100644 (file)
@@ -14,7 +14,6 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
 #define CONFIG_NR_DRAM_BANKS           1
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 
index fa9abc0a561dc87d0154ae28ccd8f4f67a48aed9..b22169d163a2f7a93a8547856573c3dc5021ac10 100644 (file)
@@ -10,7 +10,6 @@
 #include "rockchip-common.h"
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /*  64M */
index 34f255847a8c940c793a291c1da72e69795f9804..2b8f618f721be35aecf929123c456991933f2019 100644 (file)
@@ -12,7 +12,6 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
 #define CONFIG_NR_DRAM_BANKS           1
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 
index 9819b22ce23662f779a8faa843cd620536489ff1..af556323f89a4c1b4ef347ba5ba7edcc7dd1b6b8 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "rockchip-common.h"
 
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SKIP_LOWLEVEL_INIT
index 1d7a87271c96791d462831bc27b9e229a6e114e1..561bfa73b664c26d56ae5b3e8d3ea53f712e6514 100644 (file)
@@ -10,7 +10,6 @@
 #include "rockchip-common.h"
 
 #define CONFIG_NR_DRAM_BANKS           1
-#define CONFIG_ENV_SIZE                        0x2000
 #define CONFIG_SYS_MALLOC_LEN          (32 << 20)
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SKIP_LOWLEVEL_INIT
index 3fc1b7153b7fe66985289ca05907829dc57c1840..35d948ae29f196897b6666ead7ece10682bab9da 100644 (file)
@@ -65,6 +65,7 @@
  * Rockchip SoCs use fixed ENV 32KB@(4MB-32KB)
  */
 #define CONFIG_ENV_OFFSET      (SZ_4M - SZ_32K)
+#define CONFIG_ENV_SIZE                SZ_32K
 
 #define CONFIG_DISPLAY_BOARDINFO_LATE
 
index eac9755bbad6fef9e90279d07ec9e5b06ba0e586..4eb4fb0e2fa6f590ce96ecfcf212be075aeaff02 100644 (file)
@@ -13,7 +13,6 @@
 #define KERNEL_LOAD_ADDR               0x280000
 #define DTB_LOAD_ADDR                  0x5600000
 #define INITRD_LOAD_ADDR               0x5bf0000
-#define CONFIG_ENV_SIZE                        0x2000
 
 #define CONFIG_CONSOLE_SCROLL_LINES    10