mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 05:01:30 +00:00
powerpc: Remove bi_memstart & bi_memsize assignments in spl.c
Most likely these deprecated (removed) variables are not needed. Lets remove the assignments completely from all spl.c files. Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Oleksandr Zhadan and Michael Durrant Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
063d547cac
commit
e516404ee5
8 changed files with 0 additions and 16 deletions
|
@ -83,8 +83,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -69,8 +69,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -75,8 +75,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -103,8 +103,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -94,8 +94,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -102,8 +102,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -72,8 +72,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
|
@ -75,8 +75,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
|||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||
memset(bd, 0, sizeof(struct bd_info));
|
||||
gd->bd = bd;
|
||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
||||
|
||||
arch_cpu_init();
|
||||
get_clocks();
|
||||
|
|
Loading…
Add table
Reference in a new issue