powerpc: Remove bi_memstart & bi_memsize assignments in spl.c
authorStefan Roese <sr@denx.de>
Wed, 12 Aug 2020 11:55:20 +0000 (13:55 +0200)
committerStefan Roese <sr@denx.de>
Wed, 26 Aug 2020 07:19:54 +0000 (09:19 +0200)
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>
board/Arcturus/ucp1020/spl.c
board/freescale/p1010rdb/spl.c
board/freescale/p1_p2_rdb_pc/spl.c
board/freescale/t102xrdb/spl.c
board/freescale/t104xrdb/spl.c
board/freescale/t208xqds/spl.c
board/freescale/t208xrdb/spl.c
board/freescale/t4rdb/spl.c

index 5416a5b..0fd9532 100644 (file)
@@ -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();
index 4ee4573..fbaa6a6 100644 (file)
@@ -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();
index e76c3e8..8aceceb 100644 (file)
@@ -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();
index da442fc..09dd88a 100644 (file)
@@ -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();
index f83d69b..e792295 100644 (file)
@@ -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();
index c197884..d8c2bbe 100644 (file)
@@ -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();
index 07aab63..c64bd87 100644 (file)
@@ -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();
index 64d2753..9aa0a9b 100644 (file)
@@ -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();