aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-06-20 15:57:34 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-20 15:57:34 -0400
commit098a4cb7c0c9bdd86e9d99f607e9f31206a914eb (patch)
treefe96c6b220bdf09f691c0d82865572e1e1b2a456 /arch
parentea75ee9ab8835ece099589c729574aa8aa94c0a6 (diff)
parentec57b709c3dc2e8b7643c51fc4c3fdae42b29be2 (diff)
Merge S3Cxxxx branch
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/configs/s3c2410_defconfig76
-rw-r--r--arch/arm/mach-s3c2410/mach-anubis.c50
2 files changed, 89 insertions, 37 deletions
diff --git a/arch/arm/configs/s3c2410_defconfig b/arch/arm/configs/s3c2410_defconfig
index 3cec29d56c8e..e17661380096 100644
--- a/arch/arm/configs/s3c2410_defconfig
+++ b/arch/arm/configs/s3c2410_defconfig
@@ -1,12 +1,14 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16 3# Linux kernel version: 2.6.17
4# Mon Mar 20 20:36:02 2006 4# Tue Jun 20 18:57:01 2006
5# 5#
6CONFIG_ARM=y 6CONFIG_ARM=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_RWSEM_GENERIC_SPINLOCK=y 8CONFIG_RWSEM_GENERIC_SPINLOCK=y
9CONFIG_GENERIC_HWEIGHT=y
9CONFIG_GENERIC_CALIBRATE_DELAY=y 10CONFIG_GENERIC_CALIBRATE_DELAY=y
11CONFIG_VECTORS_BASE=0xffff0000
10 12
11# 13#
12# Code maturity level options 14# Code maturity level options
@@ -27,6 +29,7 @@ CONFIG_SYSVIPC=y
27CONFIG_SYSCTL=y 29CONFIG_SYSCTL=y
28# CONFIG_AUDIT is not set 30# CONFIG_AUDIT is not set
29# CONFIG_IKCONFIG is not set 31# CONFIG_IKCONFIG is not set
32# CONFIG_RELAY is not set
30CONFIG_INITRAMFS_SOURCE="" 33CONFIG_INITRAMFS_SOURCE=""
31CONFIG_UID16=y 34CONFIG_UID16=y
32CONFIG_CC_OPTIMIZE_FOR_SIZE=y 35CONFIG_CC_OPTIMIZE_FOR_SIZE=y
@@ -42,10 +45,6 @@ CONFIG_BASE_FULL=y
42CONFIG_FUTEX=y 45CONFIG_FUTEX=y
43CONFIG_EPOLL=y 46CONFIG_EPOLL=y
44CONFIG_SHMEM=y 47CONFIG_SHMEM=y
45CONFIG_CC_ALIGN_FUNCTIONS=0
46CONFIG_CC_ALIGN_LABELS=0
47CONFIG_CC_ALIGN_LOOPS=0
48CONFIG_CC_ALIGN_JUMPS=0
49CONFIG_SLAB=y 48CONFIG_SLAB=y
50# CONFIG_TINY_SHMEM is not set 49# CONFIG_TINY_SHMEM is not set
51CONFIG_BASE_SMALL=0 50CONFIG_BASE_SMALL=0
@@ -57,7 +56,6 @@ CONFIG_OBSOLETE_INTERMODULE=y
57# 56#
58CONFIG_MODULES=y 57CONFIG_MODULES=y
59# CONFIG_MODULE_UNLOAD is not set 58# CONFIG_MODULE_UNLOAD is not set
60CONFIG_OBSOLETE_MODPARM=y
61# CONFIG_MODVERSIONS is not set 59# CONFIG_MODVERSIONS is not set
62# CONFIG_MODULE_SRCVERSION_ALL is not set 60# CONFIG_MODULE_SRCVERSION_ALL is not set
63CONFIG_KMOD=y 61CONFIG_KMOD=y
@@ -65,6 +63,7 @@ CONFIG_KMOD=y
65# 63#
66# Block layer 64# Block layer
67# 65#
66# CONFIG_BLK_DEV_IO_TRACE is not set
68 67
69# 68#
70# IO Schedulers 69# IO Schedulers
@@ -92,6 +91,7 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
92# CONFIG_ARCH_IOP3XX is not set 91# CONFIG_ARCH_IOP3XX is not set
93# CONFIG_ARCH_IXP4XX is not set 92# CONFIG_ARCH_IXP4XX is not set
94# CONFIG_ARCH_IXP2000 is not set 93# CONFIG_ARCH_IXP2000 is not set
94# CONFIG_ARCH_IXP23XX is not set
95# CONFIG_ARCH_L7200 is not set 95# CONFIG_ARCH_L7200 is not set
96# CONFIG_ARCH_PXA is not set 96# CONFIG_ARCH_PXA is not set
97# CONFIG_ARCH_RPC is not set 97# CONFIG_ARCH_RPC is not set
@@ -106,6 +106,8 @@ CONFIG_ARCH_S3C2410=y
106# CONFIG_ARCH_H720X is not set 106# CONFIG_ARCH_H720X is not set
107# CONFIG_ARCH_AAEC2000 is not set 107# CONFIG_ARCH_AAEC2000 is not set
108# CONFIG_ARCH_AT91RM9200 is not set 108# CONFIG_ARCH_AT91RM9200 is not set
109# CONFIG_ARCH_PNX4008 is not set
110# CONFIG_ARCH_NETX is not set
109 111
110# 112#
111# S3C24XX Implementations 113# S3C24XX Implementations
@@ -116,14 +118,19 @@ CONFIG_ARCH_BAST=y
116CONFIG_BAST_PC104_IRQ=y 118CONFIG_BAST_PC104_IRQ=y
117CONFIG_ARCH_H1940=y 119CONFIG_ARCH_H1940=y
118CONFIG_MACH_N30=y 120CONFIG_MACH_N30=y
121CONFIG_MACH_SMDK=y
119CONFIG_ARCH_SMDK2410=y 122CONFIG_ARCH_SMDK2410=y
120CONFIG_ARCH_S3C2440=y 123CONFIG_ARCH_S3C2440=y
124CONFIG_SMDK2440_CPU2440=y
125CONFIG_SMDK2440_CPU2442=y
121CONFIG_MACH_VR1000=y 126CONFIG_MACH_VR1000=y
122CONFIG_MACH_RX3715=y 127CONFIG_MACH_RX3715=y
123CONFIG_MACH_OTOM=y 128CONFIG_MACH_OTOM=y
124CONFIG_MACH_NEXCODER_2440=y 129CONFIG_MACH_NEXCODER_2440=y
125CONFIG_CPU_S3C2410=y 130CONFIG_CPU_S3C2410=y
131CONFIG_CPU_S3C244X=y
126CONFIG_CPU_S3C2440=y 132CONFIG_CPU_S3C2440=y
133CONFIG_CPU_S3C2442=y
127 134
128# 135#
129# S3C2410 Boot 136# S3C2410 Boot
@@ -251,12 +258,15 @@ CONFIG_IP_PNP_BOOTP=y
251# CONFIG_INET_AH is not set 258# CONFIG_INET_AH is not set
252# CONFIG_INET_ESP is not set 259# CONFIG_INET_ESP is not set
253# CONFIG_INET_IPCOMP is not set 260# CONFIG_INET_IPCOMP is not set
261# CONFIG_INET_XFRM_TUNNEL is not set
254# CONFIG_INET_TUNNEL is not set 262# CONFIG_INET_TUNNEL is not set
255CONFIG_INET_DIAG=y 263CONFIG_INET_DIAG=y
256CONFIG_INET_TCP_DIAG=y 264CONFIG_INET_TCP_DIAG=y
257# CONFIG_TCP_CONG_ADVANCED is not set 265# CONFIG_TCP_CONG_ADVANCED is not set
258CONFIG_TCP_CONG_BIC=y 266CONFIG_TCP_CONG_BIC=y
259# CONFIG_IPV6 is not set 267# CONFIG_IPV6 is not set
268# CONFIG_INET6_XFRM_TUNNEL is not set
269# CONFIG_INET6_TUNNEL is not set
260# CONFIG_NETFILTER is not set 270# CONFIG_NETFILTER is not set
261 271
262# 272#
@@ -360,7 +370,6 @@ CONFIG_MTD_CFI_I2=y
360# CONFIG_MTD_CFI_I8 is not set 370# CONFIG_MTD_CFI_I8 is not set
361CONFIG_MTD_CFI_INTELEXT=y 371CONFIG_MTD_CFI_INTELEXT=y
362CONFIG_MTD_CFI_AMDSTD=y 372CONFIG_MTD_CFI_AMDSTD=y
363CONFIG_MTD_CFI_AMDSTD_RETRY=0
364# CONFIG_MTD_CFI_STAA is not set 373# CONFIG_MTD_CFI_STAA is not set
365CONFIG_MTD_CFI_UTIL=y 374CONFIG_MTD_CFI_UTIL=y
366# CONFIG_MTD_RAM is not set 375# CONFIG_MTD_RAM is not set
@@ -385,7 +394,6 @@ CONFIG_MTD_BAST_MAXSIZE=4
385# CONFIG_MTD_SLRAM is not set 394# CONFIG_MTD_SLRAM is not set
386# CONFIG_MTD_PHRAM is not set 395# CONFIG_MTD_PHRAM is not set
387# CONFIG_MTD_MTDRAM is not set 396# CONFIG_MTD_MTDRAM is not set
388# CONFIG_MTD_BLKMTD is not set
389# CONFIG_MTD_BLOCK2MTD is not set 397# CONFIG_MTD_BLOCK2MTD is not set
390 398
391# 399#
@@ -694,7 +702,6 @@ CONFIG_S3C2410_WATCHDOG=y
694# 702#
695# CONFIG_USBPCWATCHDOG is not set 703# CONFIG_USBPCWATCHDOG is not set
696# CONFIG_NVRAM is not set 704# CONFIG_NVRAM is not set
697# CONFIG_RTC is not set
698CONFIG_S3C2410_RTC=y 705CONFIG_S3C2410_RTC=y
699# CONFIG_DTLK is not set 706# CONFIG_DTLK is not set
700# CONFIG_R3964 is not set 707# CONFIG_R3964 is not set
@@ -743,9 +750,7 @@ CONFIG_SENSORS_EEPROM=m
743# CONFIG_SENSORS_PCF8574 is not set 750# CONFIG_SENSORS_PCF8574 is not set
744# CONFIG_SENSORS_PCA9539 is not set 751# CONFIG_SENSORS_PCA9539 is not set
745# CONFIG_SENSORS_PCF8591 is not set 752# CONFIG_SENSORS_PCF8591 is not set
746# CONFIG_SENSORS_RTC8564 is not set
747# CONFIG_SENSORS_MAX6875 is not set 753# CONFIG_SENSORS_MAX6875 is not set
748# CONFIG_RTC_X1205_I2C is not set
749# CONFIG_I2C_DEBUG_CORE is not set 754# CONFIG_I2C_DEBUG_CORE is not set
750# CONFIG_I2C_DEBUG_ALGO is not set 755# CONFIG_I2C_DEBUG_ALGO is not set
751# CONFIG_I2C_DEBUG_BUS is not set 756# CONFIG_I2C_DEBUG_BUS is not set
@@ -807,18 +812,29 @@ CONFIG_SENSORS_LM85=m
807# 812#
808 813
809# 814#
810# Multimedia Capabilities Port drivers 815# LED devices
816#
817# CONFIG_NEW_LEDS is not set
818
819#
820# LED drivers
821#
822
823#
824# LED Triggers
811# 825#
812 826
813# 827#
814# Multimedia devices 828# Multimedia devices
815# 829#
816# CONFIG_VIDEO_DEV is not set 830# CONFIG_VIDEO_DEV is not set
831CONFIG_VIDEO_V4L2=y
817 832
818# 833#
819# Digital Video Broadcasting Devices 834# Digital Video Broadcasting Devices
820# 835#
821# CONFIG_DVB is not set 836# CONFIG_DVB is not set
837# CONFIG_USB_DABUSB is not set
822 838
823# 839#
824# Graphics support 840# Graphics support
@@ -828,6 +844,7 @@ CONFIG_FB_CFB_FILLRECT=y
828CONFIG_FB_CFB_COPYAREA=y 844CONFIG_FB_CFB_COPYAREA=y
829CONFIG_FB_CFB_IMAGEBLIT=y 845CONFIG_FB_CFB_IMAGEBLIT=y
830# CONFIG_FB_MACMODES is not set 846# CONFIG_FB_MACMODES is not set
847CONFIG_FB_FIRMWARE_EDID=y
831CONFIG_FB_MODE_HELPERS=y 848CONFIG_FB_MODE_HELPERS=y
832# CONFIG_FB_TILEBLITTING is not set 849# CONFIG_FB_TILEBLITTING is not set
833# CONFIG_FB_S1D13XXX is not set 850# CONFIG_FB_S1D13XXX is not set
@@ -863,6 +880,7 @@ CONFIG_FONT_8x16=y
863# 880#
864CONFIG_USB_ARCH_HAS_HCD=y 881CONFIG_USB_ARCH_HAS_HCD=y
865CONFIG_USB_ARCH_HAS_OHCI=y 882CONFIG_USB_ARCH_HAS_OHCI=y
883# CONFIG_USB_ARCH_HAS_EHCI is not set
866CONFIG_USB=y 884CONFIG_USB=y
867# CONFIG_USB_DEBUG is not set 885# CONFIG_USB_DEBUG is not set
868 886
@@ -915,9 +933,7 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
915# CONFIG_USB_ACECAD is not set 933# CONFIG_USB_ACECAD is not set
916# CONFIG_USB_KBTAB is not set 934# CONFIG_USB_KBTAB is not set
917# CONFIG_USB_POWERMATE is not set 935# CONFIG_USB_POWERMATE is not set
918# CONFIG_USB_MTOUCH is not set 936# CONFIG_USB_TOUCHSCREEN is not set
919# CONFIG_USB_ITMTOUCH is not set
920# CONFIG_USB_EGALAX is not set
921# CONFIG_USB_YEALINK is not set 937# CONFIG_USB_YEALINK is not set
922# CONFIG_USB_XPAD is not set 938# CONFIG_USB_XPAD is not set
923# CONFIG_USB_ATI_REMOTE is not set 939# CONFIG_USB_ATI_REMOTE is not set
@@ -931,15 +947,6 @@ CONFIG_USB_OHCI_LITTLE_ENDIAN=y
931# CONFIG_USB_MDC800 is not set 947# CONFIG_USB_MDC800 is not set
932 948
933# 949#
934# USB Multimedia devices
935#
936# CONFIG_USB_DABUSB is not set
937
938#
939# Video4Linux support is needed for USB Multimedia device support
940#
941
942#
943# USB Network Adapters 950# USB Network Adapters
944# 951#
945# CONFIG_USB_CATC is not set 952# CONFIG_USB_CATC is not set
@@ -984,17 +991,6 @@ CONFIG_USB_MON=y
984# USB Gadget Support 991# USB Gadget Support
985# 992#
986# CONFIG_USB_GADGET is not set 993# CONFIG_USB_GADGET is not set
987# CONFIG_USB_GADGET_NET2280 is not set
988# CONFIG_USB_GADGET_PXA2XX is not set
989# CONFIG_USB_GADGET_GOKU is not set
990# CONFIG_USB_GADGET_LH7A40X is not set
991# CONFIG_USB_GADGET_OMAP is not set
992# CONFIG_USB_GADGET_DUMMY_HCD is not set
993# CONFIG_USB_ZERO is not set
994# CONFIG_USB_ETH is not set
995# CONFIG_USB_GADGETFS is not set
996# CONFIG_USB_FILE_STORAGE is not set
997# CONFIG_USB_G_SERIAL is not set
998 994
999# 995#
1000# MMC/SD Card support 996# MMC/SD Card support
@@ -1002,6 +998,12 @@ CONFIG_USB_MON=y
1002# CONFIG_MMC is not set 998# CONFIG_MMC is not set
1003 999
1004# 1000#
1001# Real Time Clock
1002#
1003CONFIG_RTC_LIB=y
1004# CONFIG_RTC_CLASS is not set
1005
1006#
1005# File systems 1007# File systems
1006# 1008#
1007CONFIG_EXT2_FS=y 1009CONFIG_EXT2_FS=y
@@ -1052,7 +1054,6 @@ CONFIG_SYSFS=y
1052# CONFIG_TMPFS is not set 1054# CONFIG_TMPFS is not set
1053# CONFIG_HUGETLB_PAGE is not set 1055# CONFIG_HUGETLB_PAGE is not set
1054CONFIG_RAMFS=y 1056CONFIG_RAMFS=y
1055# CONFIG_RELAYFS_FS is not set
1056# CONFIG_CONFIGFS_FS is not set 1057# CONFIG_CONFIGFS_FS is not set
1057 1058
1058# 1059#
@@ -1193,6 +1194,7 @@ CONFIG_DEBUG_INFO=y
1193# CONFIG_DEBUG_FS is not set 1194# CONFIG_DEBUG_FS is not set
1194# CONFIG_DEBUG_VM is not set 1195# CONFIG_DEBUG_VM is not set
1195CONFIG_FRAME_POINTER=y 1196CONFIG_FRAME_POINTER=y
1197# CONFIG_UNWIND_INFO is not set
1196CONFIG_FORCED_INLINING=y 1198CONFIG_FORCED_INLINING=y
1197# CONFIG_RCU_TORTURE_TEST is not set 1199# CONFIG_RCU_TORTURE_TEST is not set
1198CONFIG_DEBUG_USER=y 1200CONFIG_DEBUG_USER=y
diff --git a/arch/arm/mach-s3c2410/mach-anubis.c b/arch/arm/mach-s3c2410/mach-anubis.c
index 52bf718137d4..4a92d6f92d6b 100644
--- a/arch/arm/mach-s3c2410/mach-anubis.c
+++ b/arch/arm/mach-s3c2410/mach-anubis.c
@@ -239,6 +239,54 @@ static struct s3c2410_platform_nand anubis_nand_info = {
239 .select_chip = anubis_nand_select, 239 .select_chip = anubis_nand_select,
240}; 240};
241 241
242/* IDE channels */
243
244static struct resource anubis_ide0_resource[] = {
245 {
246 .start = S3C2410_CS3,
247 .end = S3C2410_CS3 + (8*32) - 1,
248 .flags = IORESOURCE_MEM,
249 }, {
250 .start = S3C2410_CS3 + (1<<26),
251 .end = S3C2410_CS3 + (1<<26) + (8*32) - 1,
252 .flags = IORESOURCE_MEM,
253 }, {
254 .start = IRQ_IDE0,
255 .end = IRQ_IDE0,
256 .flags = IORESOURCE_IRQ,
257 },
258};
259
260static struct platform_device anubis_device_ide0 = {
261 .name = "simtec-ide",
262 .id = 0,
263 .num_resources = ARRAY_SIZE(anubis_ide0_resource),
264 .resource = anubis_ide0_resource,
265};
266
267static struct resource anubis_ide1_resource[] = {
268 {
269 .start = S3C2410_CS4,
270 .end = S3C2410_CS4 + (8*32) - 1,
271 .flags = IORESOURCE_MEM,
272 }, {
273 .start = S3C2410_CS4 + (1<<26),
274 .end = S3C2410_CS4 + (1<<26) + (8*32) - 1,
275 .flags = IORESOURCE_MEM,
276 }, {
277 .start = IRQ_IDE0,
278 .end = IRQ_IDE0,
279 .flags = IORESOURCE_IRQ,
280 },
281};
282
283
284static struct platform_device anubis_device_ide1 = {
285 .name = "simtec-ide",
286 .id = 1,
287 .num_resources = ARRAY_SIZE(anubis_ide1_resource),
288 .resource = anubis_ide1_resource,
289};
242 290
243/* Standard Anubis devices */ 291/* Standard Anubis devices */
244 292
@@ -249,6 +297,8 @@ static struct platform_device *anubis_devices[] __initdata = {
249 &s3c_device_i2c, 297 &s3c_device_i2c,
250 &s3c_device_rtc, 298 &s3c_device_rtc,
251 &s3c_device_nand, 299 &s3c_device_nand,
300 &anubis_device_ide0,
301 &anubis_device_ide1,
252}; 302};
253 303
254static struct clk *anubis_clocks[] = { 304static struct clk *anubis_clocks[] = {