aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-08-23 04:56:47 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 05:08:49 -0400
commit7585382ad5ca26134fffc860da9bfc1947895eb3 (patch)
treed342f58a97711a7ba60475f1bf375d80d15a7015
parent2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd (diff)
ARM: ux500: Take out STUIB support when not booting with Device Tree
It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/mach-ux500/Makefile2
-rw-r--r--arch/arm/mach-ux500/board-mop500-stuib.c14
-rw-r--r--arch/arm/mach-ux500/board-mop500-uib.c8
-rw-r--r--arch/arm/mach-ux500/board-mop500.h1
4 files changed, 1 insertions, 24 deletions
diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile
index 0d2a89394e7b..4f55eccae704 100644
--- a/arch/arm/mach-ux500/Makefile
+++ b/arch/arm/mach-ux500/Makefile
@@ -8,7 +8,7 @@ obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
8obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o 8obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o
9obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \ 9obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \
10 board-mop500-regulators.o \ 10 board-mop500-regulators.o \
11 board-mop500-uib.o board-mop500-stuib.o \ 11 board-mop500-uib.o \
12 board-mop500-pins.o \ 12 board-mop500-pins.o \
13 board-mop500-audio.o 13 board-mop500-audio.o
14obj-$(CONFIG_SMP) += platsmp.o headsmp.o 14obj-$(CONFIG_SMP) += platsmp.o headsmp.o
diff --git a/arch/arm/mach-ux500/board-mop500-stuib.c b/arch/arm/mach-ux500/board-mop500-stuib.c
deleted file mode 100644
index 7fa30217cc01..000000000000
--- a/arch/arm/mach-ux500/board-mop500-stuib.c
+++ /dev/null
@@ -1,14 +0,0 @@
1/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * License terms: GNU General Public License (GPL), version 2
5 */
6
7#include <linux/kernel.h>
8#include <linux/init.h>
9
10#include "board-mop500.h"
11
12void __init mop500_stuib_init(void)
13{
14}
diff --git a/arch/arm/mach-ux500/board-mop500-uib.c b/arch/arm/mach-ux500/board-mop500-uib.c
index 0e94f1dc7a6f..2742eeccbcd0 100644
--- a/arch/arm/mach-ux500/board-mop500-uib.c
+++ b/arch/arm/mach-ux500/board-mop500-uib.c
@@ -15,7 +15,6 @@
15#include "id.h" 15#include "id.h"
16 16
17enum mop500_uib { 17enum mop500_uib {
18 STUIB,
19}; 18};
20 19
21struct uib { 20struct uib {
@@ -25,11 +24,6 @@ struct uib {
25}; 24};
26 25
27static struct uib __initdata mop500_uibs[] = { 26static struct uib __initdata mop500_uibs[] = {
28 [STUIB] = {
29 .name = "ST-UIB",
30 .option = "stuib",
31 .init = mop500_stuib_init,
32 },
33}; 27};
34 28
35static struct uib *mop500_uib; 29static struct uib *mop500_uib;
@@ -99,7 +93,5 @@ int __init mop500_uib_init(void)
99 return 0; 93 return 0;
100 } 94 }
101 95
102 __mop500_uib_init(&mop500_uibs[STUIB], "detected");
103
104 return 0; 96 return 0;
105} 97}
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 223639b50441..2fb89e2d5faa 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -89,7 +89,6 @@ extern struct msp_i2s_platform_data msp2_platform_data;
89extern struct msp_i2s_platform_data msp3_platform_data; 89extern struct msp_i2s_platform_data msp3_platform_data;
90extern struct pl022_ssp_controller ssp0_plat; 90extern struct pl022_ssp_controller ssp0_plat;
91 91
92void __init mop500_stuib_init(void);
93void __init mop500_pinmaps_init(void); 92void __init mop500_pinmaps_init(void);
94void __init snowball_pinmaps_init(void); 93void __init snowball_pinmaps_init(void);
95void __init hrefv60_pinmaps_init(void); 94void __init hrefv60_pinmaps_init(void);