aboutsummaryrefslogtreecommitdiffstats
path: root/board/emulation/qemu-ppce500
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-16 13:10:41 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:06:08 -0500
commit65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8 (patch)
treee1b9902c5257875fc5fe8243e1e759594f90beed /board/emulation/qemu-ppce500
parenta322afc9f9b69dd52a9bc72937cd5adc18ea55c7 (diff)
downloadu-boot-65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8.tar.gz
global: Move remaining CONFIG_SYS_* to CFG_SYS_*
The rest of the unmigrated CONFIG symbols in the CONFIG_SYS namespace do not easily transition to Kconfig. In many cases they likely should come from the device tree instead. Move these out of CONFIG namespace and in to CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/emulation/qemu-ppce500')
-rw-r--r--board/emulation/qemu-ppce500/qemu-ppce500.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/emulation/qemu-ppce500/qemu-ppce500.c b/board/emulation/qemu-ppce500/qemu-ppce500.c
index a4254250bbf..a39bcb4fa0c 100644
--- a/board/emulation/qemu-ppce500/qemu-ppce500.c
+++ b/board/emulation/qemu-ppce500/qemu-ppce500.c
@@ -41,7 +41,7 @@ static void *get_fdt_virt(void)
if (gd->flags & GD_FLG_RELOC)
return (void *)gd->fdt_blob;
else
- return (void *)CONFIG_SYS_TMPVIRT;
+ return (void *)CFG_SYS_TMPVIRT;
}
static uint64_t get_fdt_phys(void)
@@ -163,7 +163,7 @@ int misc_init_r(void)
* U-Boot is relocated to RAM already, let's delete the temporary FDT
* virtual-physical mapping that was used in the pre-relocation phase.
*/
- disable_tlb(find_tlb_idx((void *)CONFIG_SYS_TMPVIRT, 1));
+ disable_tlb(find_tlb_idx((void *)CFG_SYS_TMPVIRT, 1));
/*
* Detect the presence of the platform bus node, and
@@ -248,7 +248,7 @@ void init_tlbs(void)
init_used_tlb_cams();
/* Create a dynamic AS=0 CCSRBAR mapping */
- assert(!tlb_map_range(CONFIG_SYS_CCSRBAR, CONFIG_SYS_CCSRBAR_PHYS,
+ assert(!tlb_map_range(CFG_SYS_CCSRBAR, CFG_SYS_CCSRBAR_PHYS,
1024 * 1024, TLB_MAP_IO));
/* Create a RAM map that spans all accessible RAM */