projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: convert bd_t to struct bd_info by coccinelle
[platform/kernel/u-boot.git]
/
board
/
freescale
/
p1_p2_rdb_pc
/
spl.c
diff --git
a/board/freescale/p1_p2_rdb_pc/spl.c
b/board/freescale/p1_p2_rdb_pc/spl.c
index
6ed0a81
..
e76c3e8
100644
(file)
--- a/
board/freescale/p1_p2_rdb_pc/spl.c
+++ b/
board/freescale/p1_p2_rdb_pc/spl.c
@@
-69,11
+69,11
@@
void board_init_r(gd_t *gd, ulong dest_addr)
{
/* Pointer is writable since we allocated a register for it */
gd = (gd_t *)CONFIG_SPL_GD_ADDR;
{
/* Pointer is writable since we allocated a register for it */
gd = (gd_t *)CONFIG_SPL_GD_ADDR;
-
bd_t
*bd;
+
struct bd_info
*bd;
memset(gd, 0, sizeof(gd_t));
memset(gd, 0, sizeof(gd_t));
- bd = (
bd_t
*)(CONFIG_SPL_GD_ADDR + sizeof(gd_t));
- memset(bd, 0, sizeof(
bd_t
));
+ 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;
gd->bd = bd;
bd->bi_memstart = CONFIG_SYS_INIT_L2_ADDR;
bd->bi_memsize = CONFIG_SYS_L2_SIZE;