Commit 8c1fb11b authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: s3c: enable s3c24xx multiplatform support

With the custom ISA I/O and the missing sparse-irq support
out of the way, s3c24xx can now be built into the same
kernel as all other ARM9 based platforms.
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c78a41fc
...@@ -438,24 +438,6 @@ config ARCH_SA1100 ...@@ -438,24 +438,6 @@ config ARCH_SA1100
help help
Support for StrongARM 11x0 based boards. Support for StrongARM 11x0 based boards.
config ARCH_S3C24XX
bool "Samsung S3C24XX SoCs"
select ATAGS
select CLKSRC_SAMSUNG_PWM
select GPIO_SAMSUNG
select GPIOLIB
select IRQ_DOMAIN
select S3C2410_WATCHDOG
select SAMSUNG_ATAGS
select SPARSE_IRQ
select USE_OF
select WATCHDOG
help
Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
(<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
Samsung SMDK2410 development board (and derivatives).
config ARCH_OMAP1 config ARCH_OMAP1
bool "TI OMAP1" bool "TI OMAP1"
select ARCH_OMAP select ARCH_OMAP
......
...@@ -4,6 +4,8 @@ CONFIG_POSIX_MQUEUE=y ...@@ -4,6 +4,8 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_RELAY=y CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y CONFIG_BLK_DEV_INITRD=y
# CONFIG_COMPAT_BRK is not set # CONFIG_COMPAT_BRK is not set
CONFIG_ARCH_MULTI_V4T=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_S3C24XX=y CONFIG_ARCH_S3C24XX=y
CONFIG_S3C_ADC=y CONFIG_S3C_ADC=y
CONFIG_S3C24XX_PWM=y CONFIG_S3C24XX_PWM=y
......
...@@ -4,6 +4,9 @@ CONFIG_IKCONFIG_PROC=y ...@@ -4,6 +4,9 @@ CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=16 CONFIG_LOG_BUF_SHIFT=16
CONFIG_BLK_DEV_INITRD=y CONFIG_BLK_DEV_INITRD=y
CONFIG_SLAB=y CONFIG_SLAB=y
CONFIG_ARCH_MULTI_V4T=y
CONFIG_ARCH_MULTI_V5=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_S3C24XX=y CONFIG_ARCH_S3C24XX=y
CONFIG_S3C_ADC=y CONFIG_S3C_ADC=y
CONFIG_CPU_S3C2412=y CONFIG_CPU_S3C2412=y
......
...@@ -13,6 +13,8 @@ CONFIG_SLOB=y ...@@ -13,6 +13,8 @@ CONFIG_SLOB=y
CONFIG_MODULES=y CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_UNLOAD=y
# CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_BSG is not set
CONFIG_ARCH_MULTI_V4T=y
# CONFIG_ARCH_MULTI_V7 is not set
CONFIG_ARCH_S3C24XX=y CONFIG_ARCH_S3C24XX=y
CONFIG_MACH_TCT_HAMMER=y CONFIG_MACH_TCT_HAMMER=y
CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_TEXT=0x0
......
...@@ -5,6 +5,22 @@ ...@@ -5,6 +5,22 @@
# #
# Copyright 2007 Simtec Electronics # Copyright 2007 Simtec Electronics
menuconfig ARCH_S3C24XX
bool "Samsung S3C24XX SoCs"
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5
select ATAGS
select CLKSRC_SAMSUNG_PWM
select GPIO_SAMSUNG
select GPIOLIB
select S3C2410_WATCHDOG
select SAMSUNG_ATAGS
select WATCHDOG
help
Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443
and S3C2450 SoCs based systems, such as the Simtec Electronics BAST
(<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or the
Samsung SMDK2410 development board (and derivatives).
if ARCH_S3C24XX if ARCH_S3C24XX
config PLAT_S3C24XX config PLAT_S3C24XX
...@@ -12,7 +28,6 @@ config PLAT_S3C24XX ...@@ -12,7 +28,6 @@ config PLAT_S3C24XX
select GPIOLIB select GPIOLIB
select NO_IOPORT_MAP select NO_IOPORT_MAP
select S3C_DEV_NAND select S3C_DEV_NAND
select IRQ_DOMAIN
select COMMON_CLK select COMMON_CLK
help help
Base platform code for any Samsung S3C24XX device Base platform code for any Samsung S3C24XX device
...@@ -25,6 +40,7 @@ comment "S3C24XX SoCs" ...@@ -25,6 +40,7 @@ comment "S3C24XX SoCs"
config CPU_S3C2410 config CPU_S3C2410
bool "Samsung S3C2410" bool "Samsung S3C2410"
depends on ARCH_MULTI_V4T
default y default y
select CPU_ARM920T select CPU_ARM920T
select S3C2410_COMMON_CLK select S3C2410_COMMON_CLK
...@@ -36,6 +52,7 @@ config CPU_S3C2410 ...@@ -36,6 +52,7 @@ config CPU_S3C2410
config CPU_S3C2412 config CPU_S3C2412
bool "Samsung S3C2412" bool "Samsung S3C2412"
depends on ARCH_MULTI_V5
select CPU_ARM926T select CPU_ARM926T
select S3C2412_COMMON_CLK select S3C2412_COMMON_CLK
select S3C2412_PM if PM_SLEEP select S3C2412_PM if PM_SLEEP
...@@ -44,6 +61,7 @@ config CPU_S3C2412 ...@@ -44,6 +61,7 @@ config CPU_S3C2412
config CPU_S3C2416 config CPU_S3C2416
bool "Samsung S3C2416/S3C2450" bool "Samsung S3C2416/S3C2450"
depends on ARCH_MULTI_V5
select CPU_ARM926T select CPU_ARM926T
select S3C2416_PM if PM_SLEEP select S3C2416_PM if PM_SLEEP
select S3C2443_COMMON_CLK select S3C2443_COMMON_CLK
...@@ -52,6 +70,7 @@ config CPU_S3C2416 ...@@ -52,6 +70,7 @@ config CPU_S3C2416
config CPU_S3C2440 config CPU_S3C2440
bool "Samsung S3C2440" bool "Samsung S3C2440"
depends on ARCH_MULTI_V4T
select CPU_ARM920T select CPU_ARM920T
select S3C2410_COMMON_CLK select S3C2410_COMMON_CLK
select S3C2410_PM if PM_SLEEP select S3C2410_PM if PM_SLEEP
...@@ -60,6 +79,7 @@ config CPU_S3C2440 ...@@ -60,6 +79,7 @@ config CPU_S3C2440
config CPU_S3C2442 config CPU_S3C2442
bool "Samsung S3C2442" bool "Samsung S3C2442"
depends on ARCH_MULTI_V4T
select CPU_ARM920T select CPU_ARM920T
select S3C2410_COMMON_CLK select S3C2410_COMMON_CLK
select S3C2410_PM if PM_SLEEP select S3C2410_PM if PM_SLEEP
...@@ -72,6 +92,7 @@ config CPU_S3C244X ...@@ -72,6 +92,7 @@ config CPU_S3C244X
config CPU_S3C2443 config CPU_S3C2443
bool "Samsung S3C2443" bool "Samsung S3C2443"
depends on ARCH_MULTI_V4T
select CPU_ARM920T select CPU_ARM920T
select S3C2443_COMMON_CLK select S3C2443_COMMON_CLK
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment