[PATCH 3/3] fixup! mvebu: rework how memory is detected
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Feb 15 08:31:24 PST 2017
---
arch/arm/mach-mvebu/dove.c | 2 --
arch/arm/mach-mvebu/kirkwood.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c
index d6407f394229..9a3b05d004d5 100644
--- a/arch/arm/mach-mvebu/dove.c
+++ b/arch/arm/mach-mvebu/dove.c
@@ -54,8 +54,6 @@ static void __noreturn dove_restart_soc(struct restart_handler *rst)
static int dove_init_soc(struct device_node *root, void *context)
{
- unsigned long phys_base, phys_size;
-
if (!of_machine_is_compatible("marvell,dove"))
return 0;
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c
index 51eb69fc4e7f..d5ddf05e3447 100644
--- a/arch/arm/mach-mvebu/kirkwood.c
+++ b/arch/arm/mach-mvebu/kirkwood.c
@@ -31,8 +31,6 @@ static void __noreturn kirkwood_restart_soc(struct restart_handler *rst)
static int kirkwood_init_soc(struct device_node *root, void *context)
{
- unsigned long phys_base, phys_size;
-
if (!of_machine_is_compatible("marvell,kirkwood"))
return 0;
--
2.11.0
More information about the barebox
mailing list