diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-05-02 12:01:46 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 07:54:33 -0400 |
commit | e1b3144586876ac0318f344b4a525108f86c1abd (patch) | |
tree | 939f1d161346975a5d6e4ddc46667ae6658544ed | |
parent | b0bdd8bca9a8f4ae1c3f6a256e83b73edad06050 (diff) |
ARM: u300: convert to multiplatform
Now that we removed our dependency on <mach/*> the U300
can be converted to mutliplatform. Remove the invalid restriction
that U300 would not support AUTO_ZRELADDR (it does) and update
the defconfig in the process.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | arch/arm/Kconfig | 21 | ||||
-rw-r--r-- | arch/arm/configs/u300_defconfig | 11 | ||||
-rw-r--r-- | arch/arm/mach-u300/Kconfig | 31 |
3 files changed, 30 insertions, 33 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 26896433ae78..b6f9ce6f4f5b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -812,25 +812,6 @@ config ARCH_SHARK | |||
812 | Support for the StrongARM based Digital DNARD machine, also known | 812 | Support for the StrongARM based Digital DNARD machine, also known |
813 | as "Shark" (<http://www.shark-linux.de/shark.html>). | 813 | as "Shark" (<http://www.shark-linux.de/shark.html>). |
814 | 814 | ||
815 | config ARCH_U300 | ||
816 | bool "ST-Ericsson U300 Series" | ||
817 | depends on MMU | ||
818 | select ARCH_REQUIRE_GPIOLIB | ||
819 | select ARM_AMBA | ||
820 | select ARM_PATCH_PHYS_VIRT | ||
821 | select ARM_VIC | ||
822 | select CLKDEV_LOOKUP | ||
823 | select CLKSRC_MMIO | ||
824 | select CLKSRC_OF | ||
825 | select COMMON_CLK | ||
826 | select CPU_ARM926T | ||
827 | select GENERIC_CLOCKEVENTS | ||
828 | select HAVE_TCM | ||
829 | select SPARSE_IRQ | ||
830 | select USE_OF | ||
831 | help | ||
832 | Support for ST-Ericsson U300 series mobile platforms. | ||
833 | |||
834 | config ARCH_DAVINCI | 815 | config ARCH_DAVINCI |
835 | bool "TI DaVinci" | 816 | bool "TI DaVinci" |
836 | select ARCH_HAS_HOLES_MEMORYMODEL | 817 | select ARCH_HAS_HOLES_MEMORYMODEL |
@@ -2041,7 +2022,7 @@ config CRASH_DUMP | |||
2041 | 2022 | ||
2042 | config AUTO_ZRELADDR | 2023 | config AUTO_ZRELADDR |
2043 | bool "Auto calculation of the decompressed kernel image address" | 2024 | bool "Auto calculation of the decompressed kernel image address" |
2044 | depends on !ZBOOT_ROM && !ARCH_U300 | 2025 | depends on !ZBOOT_ROM |
2045 | help | 2026 | help |
2046 | ZRELADDR is the physical address where the decompressed kernel | 2027 | ZRELADDR is the physical address where the decompressed kernel |
2047 | image will be placed. If AUTO_ZRELADDR is selected, the address | 2028 | image will be placed. If AUTO_ZRELADDR is selected, the address |
diff --git a/arch/arm/configs/u300_defconfig b/arch/arm/configs/u300_defconfig index 374000ec4e4e..a5fa0d90185a 100644 --- a/arch/arm/configs/u300_defconfig +++ b/arch/arm/configs/u300_defconfig | |||
@@ -1,7 +1,8 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | # CONFIG_LOCALVERSION_AUTO is not set | 1 | # CONFIG_LOCALVERSION_AUTO is not set |
3 | # CONFIG_SWAP is not set | 2 | # CONFIG_SWAP is not set |
4 | CONFIG_SYSVIPC=y | 3 | CONFIG_SYSVIPC=y |
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
5 | CONFIG_LOG_BUF_SHIFT=14 | 6 | CONFIG_LOG_BUF_SHIFT=14 |
6 | CONFIG_EXPERT=y | 7 | CONFIG_EXPERT=y |
7 | # CONFIG_AIO is not set | 8 | # CONFIG_AIO is not set |
@@ -11,12 +12,9 @@ CONFIG_MODULE_UNLOAD=y | |||
11 | # CONFIG_LBDAF is not set | 12 | # CONFIG_LBDAF is not set |
12 | # CONFIG_BLK_DEV_BSG is not set | 13 | # CONFIG_BLK_DEV_BSG is not set |
13 | # CONFIG_IOSCHED_CFQ is not set | 14 | # CONFIG_IOSCHED_CFQ is not set |
15 | # CONFIG_ARCH_MULTI_V7 is not set | ||
14 | CONFIG_ARCH_U300=y | 16 | CONFIG_ARCH_U300=y |
15 | CONFIG_MACH_U300=y | ||
16 | CONFIG_MACH_U300_BS335=y | ||
17 | CONFIG_MACH_U300_SPIDUMMY=y | 17 | CONFIG_MACH_U300_SPIDUMMY=y |
18 | CONFIG_NO_HZ=y | ||
19 | CONFIG_HIGH_RES_TIMERS=y | ||
20 | CONFIG_PREEMPT=y | 18 | CONFIG_PREEMPT=y |
21 | CONFIG_AEABI=y | 19 | CONFIG_AEABI=y |
22 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 20 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
@@ -44,11 +42,11 @@ CONFIG_I2C=y | |||
44 | # CONFIG_HWMON is not set | 42 | # CONFIG_HWMON is not set |
45 | CONFIG_WATCHDOG=y | 43 | CONFIG_WATCHDOG=y |
46 | CONFIG_REGULATOR=y | 44 | CONFIG_REGULATOR=y |
45 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
47 | CONFIG_FB=y | 46 | CONFIG_FB=y |
48 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 47 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
49 | # CONFIG_LCD_CLASS_DEVICE is not set | 48 | # CONFIG_LCD_CLASS_DEVICE is not set |
50 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | 49 | CONFIG_BACKLIGHT_CLASS_DEVICE=y |
51 | # CONFIG_HID_SUPPORT is not set | ||
52 | # CONFIG_USB_SUPPORT is not set | 50 | # CONFIG_USB_SUPPORT is not set |
53 | CONFIG_MMC=y | 51 | CONFIG_MMC=y |
54 | CONFIG_MMC_CLKGATE=y | 52 | CONFIG_MMC_CLKGATE=y |
@@ -70,4 +68,3 @@ CONFIG_DEBUG_FS=y | |||
70 | CONFIG_TIMER_STATS=y | 68 | CONFIG_TIMER_STATS=y |
71 | # CONFIG_DEBUG_PREEMPT is not set | 69 | # CONFIG_DEBUG_PREEMPT is not set |
72 | CONFIG_DEBUG_INFO=y | 70 | CONFIG_DEBUG_INFO=y |
73 | # CONFIG_CRC32 is not set | ||
diff --git a/arch/arm/mach-u300/Kconfig b/arch/arm/mach-u300/Kconfig index 1f597647d431..e2f350f2c32b 100644 --- a/arch/arm/mach-u300/Kconfig +++ b/arch/arm/mach-u300/Kconfig | |||
@@ -1,24 +1,45 @@ | |||
1 | if ARCH_U300 | ||
2 | |||
3 | menu "ST-Ericsson AB U300/U335 Platform" | 1 | menu "ST-Ericsson AB U300/U335 Platform" |
4 | 2 | ||
5 | comment "ST-Ericsson Mobile Platform Products" | 3 | comment "ST-Ericsson Mobile Platform Products" |
6 | 4 | ||
7 | config MACH_U300 | 5 | config ARCH_U300 |
8 | bool "U300" | 6 | bool "ST-Ericsson U300 Series" |
7 | depends on MMU | ||
8 | select ARCH_REQUIRE_GPIOLIB | ||
9 | select ARM_AMBA | ||
10 | select ARM_PATCH_PHYS_VIRT | ||
11 | select ARM_VIC | ||
12 | select CLKDEV_LOOKUP | ||
13 | select CLKSRC_MMIO | ||
14 | select CLKSRC_OF | ||
15 | select COMMON_CLK | ||
16 | select CPU_ARM926T | ||
17 | select GENERIC_CLOCKEVENTS | ||
18 | select HAVE_TCM | ||
9 | select PINCTRL | 19 | select PINCTRL |
10 | select PINCTRL_COH901 | 20 | select PINCTRL_COH901 |
11 | select PINCTRL_U300 | 21 | select PINCTRL_U300 |
22 | select SPARSE_IRQ | ||
23 | select USE_OF | ||
24 | help | ||
25 | Support for ST-Ericsson U300 series mobile platforms. | ||
12 | 26 | ||
13 | comment "ST-Ericsson U300/U335 Feature Selections" | 27 | comment "ST-Ericsson U300/U335 Feature Selections" |
14 | 28 | ||
29 | config MACH_U300 | ||
30 | depends on ARCH_U300 | ||
31 | bool "U300" | ||
32 | default y | ||
33 | |||
15 | config U300_DEBUG | 34 | config U300_DEBUG |
35 | depends on ARCH_U300 | ||
16 | bool "Debug support for U300" | 36 | bool "Debug support for U300" |
17 | depends on PM | 37 | depends on PM |
18 | help | 38 | help |
19 | Debug support for U300 in sysfs, procfs etc. | 39 | Debug support for U300 in sysfs, procfs etc. |
20 | 40 | ||
21 | config MACH_U300_SPIDUMMY | 41 | config MACH_U300_SPIDUMMY |
42 | depends on ARCH_U300 | ||
22 | bool "SSP/SPI dummy chip" | 43 | bool "SSP/SPI dummy chip" |
23 | select SPI | 44 | select SPI |
24 | select SPI_MASTER | 45 | select SPI_MASTER |
@@ -31,5 +52,3 @@ config MACH_U300_SPIDUMMY | |||
31 | SPI framework and ARM PL022 support. | 52 | SPI framework and ARM PL022 support. |
32 | 53 | ||
33 | endmenu | 54 | endmenu |
34 | |||
35 | endif | ||