powerpc/mpc85xx:Update MONITOR_LEN for 768KB u-boot size
PATCH 2/2 powerpc/mpc85xx:Update MONITOR_LEN for 768KB u-boot size
U-boot binary size has been increased from 512KB to 768KB.
So update CONFIG_SYS_MONITOR_LEN to reflect the same.
Signed-off-by Prabhakar Kushwaha <[email protected]>
--- include/configs/B4860QDS.h | 2 +- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P1022DS.h | 2 +- include/configs/P1023RDB.h | 2 +- include/configs/P1023RDS.h | 2 +- include/configs/P1_P2_RDB.h | 2 +- include/configs/P2020DS.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T1040QDS.h | 2 +- include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/corenet_ds.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/p1_twr.h | 2 +- include/configs/t4qds.h | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-)
include/configs/B4860QDS.h +1 -1
@@ -414,7 +414,7 @@ unsigned long get_board_ddr_clk(void); GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)/* Serial Port - controlled on board with jumper J8
include/configs/BSC9131RDB.h +1 -1
@@ -220,7 +220,7 @@ extern unsigned long get_sdram_size(void); - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon*/ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc*/ /* Serial Port */
include/configs/BSC9132QDS.h +1 -1
@@ -396,7 +396,7 @@ combinations. this should be removed later - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon*/ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc*/ /* Serial Port */
include/configs/C29XPCIE.h +1 -1
@@ -338,7 +338,7 @@ - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (2 * 1024 * 1024)/*
include/configs/P1010RDB.h +1 -1
@@ -566,7 +566,7 @@ extern unsigned long get_sdram_size(void); - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon*/ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc*/ /*
include/configs/P1022DS.h +1 -1
@@ -352,7 +352,7 @@ (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)/*
include/configs/P1023RDB.h +1 -1
@@ -125,7 +125,7 @@ extern unsigned long get_clock_freq(void); GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)/* Reserve 512 kB for Mon */ #define CONFIG_SYS_MALLOC_LEN (6 * 1024 * 1024)/* Reserved for malloc */ #define CONFIG_SYS_NAND_BASE 0xffa00000
include/configs/P1023RDS.h +1 -1
@@ -198,7 +198,7 @@ extern unsigned long get_clock_freq(void); (CONFIG_SYS_INIT_RAM_END - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (6 * 1024 * 1024)/* Reserved for malloc */ #ifndef CONFIG_NAND_SPL
include/configs/P1_P2_RDB.h +1 -1
@@ -238,7 +238,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon*/ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc*/ #ifndef CONFIG_NAND_SPL
include/configs/P2020DS.h +1 -1
@@ -284,7 +284,7 @@#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc */ #define CONFIG_SYS_NAND_BASE 0xffa00000
include/configs/P2041RDB.h +1 -1
@@ -315,7 +315,7 @@ unsigned long get_board_sys_clk(unsigned long dummy); GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Serial Port - controlled on board with jumper J8
include/configs/T1040QDS.h +1 -1
@@ -374,7 +374,7 @@ unsigned long get_board_ddr_clk(void); GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)/* Serial Port - controlled on board with jumper J8
include/configs/T104xRDB.h +1 -1
@@ -306,7 +306,7 @@ GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)/* Serial Port - controlled on board with jumper J8
include/configs/T208xQDS.h +1 -1
@@ -356,7 +356,7 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)/*
include/configs/T208xRDB.h +1 -1
@@ -320,7 +320,7 @@ unsigned long get_board_ddr_clk(void);#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)/*
include/configs/corenet_ds.h +1 -1
@@ -310,7 +310,7 @@#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc */ /* Serial Port - controlled on board with jumper J8
include/configs/p1_p2_rdb_pc.h +1 -1
@@ -508,7 +508,7 @@ GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (256 * 1024)/* Reserve 256 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc */ #define CONFIG_SYS_CPLD_BASE 0xffa00000
include/configs/p1_twr.h +1 -1
@@ -202,7 +202,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024)/* Reserve 512 kB for Mon */ +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)/* Reserved for malloc */ #define CONFIG_SYS_BR0_PRELIM CONFIG_FLASH_BR_PRELIM/* NOR Base Address */
include/configs/t4qds.h +1 -1
@@ -119,7 +119,7 @@ GENERATED_GBL_DATA_SIZE)#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET -#define CONFIG_SYS_MONITOR_LEN (512 * 1024) +#define CONFIG_SYS_MONITOR_LEN (768 * 1024)#define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024)/* Serial Port - controlled on board with jumper J8
Signature · 1 line
1.7.9.5
PATCH 2/2 powerpc/mpc85xx:Update MONITOR_LEN for 768KB u-boot size
Quoted 18 lines · Prabhakar Kushwaha
U-boot binary size has been increased from 512KB to 768KB.
So update
CONFIG_SYS_MONITOR_LENto reflect the same.Signed-off-by Prabhakar Kushwaha <[email protected]>--- include/configs/B4860QDS.h | 2 +- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P1022DS.h | 2 +- include/configs/P1023RDB.h | 2 +- include/configs/P1023RDS.h | 2 +- include/configs/P1_P2_RDB.h | 2 +- include/configs/P2020DS.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T1040QDS.h | 2 +-
Quoted 9 lines
include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/corenet_ds.h | 2 +- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/p1_twr.h | 2 +- include/configs/t4qds.h | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-)
Applied to u-boot-mpc85xx/master, thanks.
York