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
|
|
@ -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));
|
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
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));
|
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
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));
|
bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L2_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
|
|
@ -103,8 +103,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
|
|
@ -94,8 +94,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
|
|
@ -102,8 +102,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
|
|
@ -75,8 +75,6 @@ void board_init_r(gd_t *gd, ulong dest_addr)
|
||||||
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
bd = (struct bd_info *)(gd + sizeof(gd_t));
|
||||||
memset(bd, 0, sizeof(struct bd_info));
|
memset(bd, 0, sizeof(struct bd_info));
|
||||||
gd->bd = bd;
|
gd->bd = bd;
|
||||||
bd->bi_memstart = CONFIG_SYS_INIT_L3_ADDR;
|
|
||||||
bd->bi_memsize = CONFIG_SYS_L3_SIZE;
|
|
||||||
|
|
||||||
arch_cpu_init();
|
arch_cpu_init();
|
||||||
get_clocks();
|
get_clocks();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue