diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-08-23 04:56:47 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-26 05:08:49 -0400 |
commit | 7585382ad5ca26134fffc860da9bfc1947895eb3 (patch) | |
tree | d342f58a97711a7ba60475f1bf375d80d15a7015 | |
parent | 2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd (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/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-stuib.c | 14 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-uib.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.h | 1 |
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 | |||
8 | obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o | 8 | obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o |
9 | obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \ | 9 | obj-$(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 |
14 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o | 14 | obj-$(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 | |||
12 | void __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 | ||
17 | enum mop500_uib { | 17 | enum mop500_uib { |
18 | STUIB, | ||
19 | }; | 18 | }; |
20 | 19 | ||
21 | struct uib { | 20 | struct uib { |
@@ -25,11 +24,6 @@ struct uib { | |||
25 | }; | 24 | }; |
26 | 25 | ||
27 | static struct uib __initdata mop500_uibs[] = { | 26 | static struct uib __initdata mop500_uibs[] = { |
28 | [STUIB] = { | ||
29 | .name = "ST-UIB", | ||
30 | .option = "stuib", | ||
31 | .init = mop500_stuib_init, | ||
32 | }, | ||
33 | }; | 27 | }; |
34 | 28 | ||
35 | static struct uib *mop500_uib; | 29 | static 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; | |||
89 | extern struct msp_i2s_platform_data msp3_platform_data; | 89 | extern struct msp_i2s_platform_data msp3_platform_data; |
90 | extern struct pl022_ssp_controller ssp0_plat; | 90 | extern struct pl022_ssp_controller ssp0_plat; |
91 | 91 | ||
92 | void __init mop500_stuib_init(void); | ||
93 | void __init mop500_pinmaps_init(void); | 92 | void __init mop500_pinmaps_init(void); |
94 | void __init snowball_pinmaps_init(void); | 93 | void __init snowball_pinmaps_init(void); |
95 | void __init hrefv60_pinmaps_init(void); | 94 | void __init hrefv60_pinmaps_init(void); |