summaryrefslogtreecommitdiff
path: root/board/cavium
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-16 21:10:41 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:06:08 +0300
commit65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8 (patch)
treee1b9902c5257875fc5fe8243e1e759594f90beed /board/cavium
parenta322afc9f9b69dd52a9bc72937cd5adc18ea55c7 (diff)
downloadu-boot-65cc0e2a65d2c9f107b2f42db6396d9ade6c5ad8.tar.xz
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/cavium')
-rw-r--r--board/cavium/thunderx/atf.c2
-rw-r--r--board/cavium/thunderx/thunderx.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/cavium/thunderx/atf.c b/board/cavium/thunderx/atf.c
index 1a039c53c1..37340fe970 100644
--- a/board/cavium/thunderx/atf.c
+++ b/board/cavium/thunderx/atf.c
@@ -187,7 +187,7 @@ static void atf_print_part_table(void)
int ret;
char *ptype;
- struct storage_partition *part = (void *)CONFIG_SYS_LOWMEM_BASE;
+ struct storage_partition *part = (void *)CFG_SYS_LOWMEM_BASE;
pcount = atf_get_pcount();
diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c
index a8f8c78558..ab20825ed3 100644
--- a/board/cavium/thunderx/thunderx.c
+++ b/board/cavium/thunderx/thunderx.c
@@ -20,7 +20,7 @@
#include <dm/platform_data/serial_pl01x.h>
static const struct pl01x_serial_plat serial0 = {
- .base = CONFIG_SYS_SERIAL0,
+ .base = CFG_SYS_SERIAL0,
.type = TYPE_PL011,
.clock = 0,
.skip_init = true,
@@ -32,7 +32,7 @@ U_BOOT_DRVINFO(thunderx_serial0) = {
};
static const struct pl01x_serial_plat serial1 = {
- .base = CONFIG_SYS_SERIAL1,
+ .base = CFG_SYS_SERIAL1,
.type = TYPE_PL011,
.clock = 0,
.skip_init = true,