aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/mbus.c
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2020-05-06 08:02:40 -0400
committerTom Rini <trini@konsulko.com>2020-05-15 14:47:35 -0400
commitbb0fb4c0f40803eaffd7a4fc0ec3a9fe4a8be0f0 (patch)
tree8882d7c32fd24fa1ff2765873caafa713c4d5215 /arch/arm/mach-mvebu/mbus.c
parentb48f72a86b3758e05227fa1fc607ea2c0c365f93 (diff)
downloadu-boot-bb0fb4c0f40803eaffd7a4fc0ec3a9fe4a8be0f0.zip
u-boot-bb0fb4c0f40803eaffd7a4fc0ec3a9fe4a8be0f0.tar.gz
u-boot-bb0fb4c0f40803eaffd7a4fc0ec3a9fe4a8be0f0.tar.bz2
rename symbol: CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
Have this symbol follow the pattern of all other such symbols. This patch also removes a TODO from the code. Reviewed-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Diffstat (limited to 'arch/arm/mach-mvebu/mbus.c')
-rw-r--r--arch/arm/mach-mvebu/mbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mvebu/mbus.c b/arch/arm/mach-mvebu/mbus.c
index a95db5e..39bd200 100644
--- a/arch/arm/mach-mvebu/mbus.c
+++ b/arch/arm/mach-mvebu/mbus.c
@@ -411,7 +411,7 @@ int mvebu_mbus_del_window(phys_addr_t base, size_t size)
return 0;
}
-#ifndef CONFIG_KIRKWOOD
+#ifndef CONFIG_ARCH_KIRKWOOD
static void mvebu_mbus_get_lowest_base(struct mvebu_mbus_state *mbus,
phys_addr_t *base)
{
@@ -479,7 +479,7 @@ int mbus_dt_setup_win(struct mvebu_mbus_state *mbus,
return -ENOMEM;
}
-#ifndef CONFIG_KIRKWOOD
+#ifndef CONFIG_ARCH_KIRKWOOD
/*
* Re-configure the mbus bridge registers each time this function
* is called. Since it may get called from the board code in
@@ -497,7 +497,7 @@ int mvebu_mbus_probe(struct mbus_win windows[], int count)
int ret;
int i;
-#if defined(CONFIG_KIRKWOOD)
+#if defined(CONFIG_ARCH_KIRKWOOD)
mbus_state.soc = &kirkwood_mbus_data;
#endif
#if defined(CONFIG_ARCH_MVEBU)