diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-27 16:19:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 12:09:29 -0400 |
commit | 7f2c91e5d8114da994f0005696539e276172340d (patch) | |
tree | 757242dd95edabb43f18ff8b656ad1e31ec2d02f /board/freescale | |
parent | cfb5dd358531a19c6aef5531f183b625fbf7d16f (diff) | |
download | u-boot-7f2c91e5d8114da994f0005696539e276172340d.tar.gz |
Convert CONFIG_SPL_GD_ADDR to Kconfig
This converts the following to Kconfig:
CONFIG_SPL_GD_ADDR
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/p1010rdb/spl.c | 4 | ||||
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/spl.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/p1010rdb/spl.c b/board/freescale/p1010rdb/spl.c index a78a9143a01..88695002deb 100644 --- a/board/freescale/p1010rdb/spl.c +++ b/board/freescale/p1010rdb/spl.c @@ -63,11 +63,11 @@ void board_init_f(ulong bootflag) 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; + gd = (gd_t *)CONFIG_VAL(GD_ADDR); struct bd_info *bd; memset(gd, 0, sizeof(gd_t)); - bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); + bd = (struct bd_info *)(CONFIG_VAL(GD_ADDR) + sizeof(gd_t)); memset(bd, 0, sizeof(struct bd_info)); gd->bd = bd; diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c index 580972d800a..b60027ebd9a 100644 --- 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_f(ulong bootflag) 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; + gd = (gd_t *)CONFIG_VAL(GD_ADDR); struct bd_info *bd; memset(gd, 0, sizeof(gd_t)); - bd = (struct bd_info *)(CONFIG_SPL_GD_ADDR + sizeof(gd_t)); + bd = (struct bd_info *)(CONFIG_VAL(GD_ADDR) + sizeof(gd_t)); memset(bd, 0, sizeof(struct bd_info)); gd->bd = bd; |