rockchip: include: configs: remove unused configs for tag and size
PATCH 1/1 rockchip: include: configs: remove unused configs for tag and size
The configs ROCKCHIP_CHIP_TAG and ROCKCHIP_MAX_INIT_SIZE were originally added with rksd.c, rkspi.c and rkcommon.c in mind, but are no longer in use and replaced by struct spl_info, so remove unused configs for tag and size.
Signed-off-by Johan Jonker <[email protected]>
--- include/configs/rk3036_common.h | 3 --- include/configs/rk3188_common.h | 2 -- include/configs/rk322x_common.h | 2 -- 3 files changed, 7 deletions(-)
include/configs/rk3036_common.h +0 -3
@@ -16,9 +16,6 @@#define CONFIG_SYS_INIT_SP_ADDR 0x60100000#define CONFIG_SPL_STACK 0x10081fff -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (4 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK30" -#define CONFIG_SYS_SDRAM_BASE 0x60000000#define SDRAM_BANK_SIZE (512UL << 20UL)#define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE)
include/configs/rk3188_common.h +0 -2
@@ -16,8 +16,6 @@#endif #define CONFIG_SYS_INIT_SP_ADDR 0x60100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (0x8000 - 0x800) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK31"#define CONFIG_IRAM_BASE 0x10080000/* spl size 32kb sram - 2kb bootrom */
include/configs/rk322x_common.h +0 -2
@@ -17,8 +17,6 @@#define CONFIG_SYS_INIT_SP_ADDR 0x61100000#define CONFIG_SPL_MAX_SIZE 0x100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (28 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK32"#define CONFIG_IRAM_BASE 0x10080000#define CONFIG_SYS_SDRAM_BASE 0x60000000
Signature · 1 line
2.20.1
Quoted 6 lines · Johan Jonker
The configs
ROCKCHIP_CHIP_TAGandROCKCHIP_MAX_INIT_SIZEwere originally added withrksd.c,rkspi.candrkcommon.cin mind, but are no longer in use and replaced by structspl_info, so remove unused configs for tag and size.Signed-off-by Johan Jonker <[email protected]>
Reviewed-by Kever Yang <[email protected]>
Thanks,
- Kever
Quoted 46 lines
--- include/configs/rk3036_common.h | 3 --- include/configs/rk3188_common.h | 2 -- include/configs/rk322x_common.h | 2 -- 3 files changed, 7 deletions(-)include/configs/rk3036_common.h +0
-3@@ -16,9 +16,6 @@#define CONFIG_SYS_INIT_SP_ADDR 0x60100000#define CONFIG_SPL_STACK 0x10081fff -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (4 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK30" -#define CONFIG_SYS_SDRAM_BASE 0x60000000#define SDRAM_BANK_SIZE (512UL << 20UL)#define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE)include/configs/rk3188_common.h +0
-2@@ -16,8 +16,6 @@#endif #define CONFIG_SYS_INIT_SP_ADDR 0x60100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (0x8000 - 0x800) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK31"#define CONFIG_IRAM_BASE 0x10080000/* spl size 32kb sram - 2kb bootrom */ include/configs/rk322x_common.h +0
-2@@ -17,8 +17,6 @@#define CONFIG_SYS_INIT_SP_ADDR 0x61100000#define CONFIG_SPL_MAX_SIZE 0x100000 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (28 << 10) -#define CONFIG_ROCKCHIP_CHIP_TAG "RK32"#define CONFIG_IRAM_BASE 0x10080000#define CONFIG_SYS_SDRAM_BASE 0x60000000