[PATCH] ARM: owl: Drop custom machine

2017-07-01 Thread Andreas Färber
Rely on the fallback to "Generic DT based system".
This change is visible in /proc/cpuinfo.

Cc: Arnd Bergmann 
Signed-off-by: Andreas Färber 
---
 arch/arm/mach-actions/Makefile |  1 -
 arch/arm/mach-actions/owl.c| 28 
 2 files changed, 29 deletions(-)
 delete mode 100644 arch/arm/mach-actions/owl.c

diff --git a/arch/arm/mach-actions/Makefile b/arch/arm/mach-actions/Makefile
index eeb3896e4952..c0f116241da7 100644
--- a/arch/arm/mach-actions/Makefile
+++ b/arch/arm/mach-actions/Makefile
@@ -1,4 +1,3 @@
-obj-y += owl.o
 obj-${CONFIG_SMP} += platsmp.o headsmp.o
 
 AFLAGS_headsmp.o := -Wa,-march=armv7-a
diff --git a/arch/arm/mach-actions/owl.c b/arch/arm/mach-actions/owl.c
deleted file mode 100644
index 4ac4a860f3d6..
--- a/arch/arm/mach-actions/owl.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2017 Andreas Färber
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- */
-
-#include 
-#include 
-
-static const char * const owl_dt_compat[] = {
-   "actions,s500",
-   NULL
-};
-
-DT_MACHINE_START(OWL, "Actions Semi Owl platform")
-   .dt_compat  = owl_dt_compat,
-   .l2c_aux_val= 0,
-   .l2c_aux_mask   = ~0,
-MACHINE_END
-- 
2.12.3



[PATCH] ARM: owl: Drop custom machine

2017-07-01 Thread Andreas Färber
Rely on the fallback to "Generic DT based system".
This change is visible in /proc/cpuinfo.

Cc: Arnd Bergmann 
Signed-off-by: Andreas Färber 
---
 arch/arm/mach-actions/Makefile |  1 -
 arch/arm/mach-actions/owl.c| 28 
 2 files changed, 29 deletions(-)
 delete mode 100644 arch/arm/mach-actions/owl.c

diff --git a/arch/arm/mach-actions/Makefile b/arch/arm/mach-actions/Makefile
index eeb3896e4952..c0f116241da7 100644
--- a/arch/arm/mach-actions/Makefile
+++ b/arch/arm/mach-actions/Makefile
@@ -1,4 +1,3 @@
-obj-y += owl.o
 obj-${CONFIG_SMP} += platsmp.o headsmp.o
 
 AFLAGS_headsmp.o := -Wa,-march=armv7-a
diff --git a/arch/arm/mach-actions/owl.c b/arch/arm/mach-actions/owl.c
deleted file mode 100644
index 4ac4a860f3d6..
--- a/arch/arm/mach-actions/owl.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2017 Andreas Färber
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- */
-
-#include 
-#include 
-
-static const char * const owl_dt_compat[] = {
-   "actions,s500",
-   NULL
-};
-
-DT_MACHINE_START(OWL, "Actions Semi Owl platform")
-   .dt_compat  = owl_dt_compat,
-   .l2c_aux_val= 0,
-   .l2c_aux_mask   = ~0,
-MACHINE_END
-- 
2.12.3