diff options
| -rw-r--r-- | arch/arm/Kconfig | 1 | ||||
| -rw-r--r-- | arch/arm/mach-exynos4/Kconfig | 7 | ||||
| -rw-r--r-- | arch/arm/mach-exynos4/Makefile | 2 | ||||
| -rw-r--r-- | arch/arm/mach-exynos4/include/mach/debug-macro.S | 4 | ||||
| -rw-r--r-- | arch/arm/mach-exynos4/mach-smdkc210.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-exynos4/mach-smdkv310.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-s5p64x0/cpu.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-s5pv210/include/mach/irqs.h | 6 | ||||
| -rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 1 | ||||
| -rw-r--r-- | arch/arm/plat-s5p/cpu.c | 8 | ||||
| -rw-r--r-- | arch/arm/plat-samsung/init.c | 2 |
11 files changed, 21 insertions, 16 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 93d595a7477..efe06e00471 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -2009,6 +2009,7 @@ menu "Power management options" | |||
| 2009 | source "kernel/power/Kconfig" | 2009 | source "kernel/power/Kconfig" |
| 2010 | 2010 | ||
| 2011 | config ARCH_SUSPEND_POSSIBLE | 2011 | config ARCH_SUSPEND_POSSIBLE |
| 2012 | depends on !ARCH_S5P64X0 && !ARCH_S5P6442 | ||
| 2012 | def_bool y | 2013 | def_bool y |
| 2013 | 2014 | ||
| 2014 | endmenu | 2015 | endmenu |
diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig index a021b5240bb..e849f67be47 100644 --- a/arch/arm/mach-exynos4/Kconfig +++ b/arch/arm/mach-exynos4/Kconfig | |||
| @@ -20,6 +20,11 @@ config EXYNOS4_MCT | |||
| 20 | help | 20 | help |
| 21 | Use MCT (Multi Core Timer) as kernel timers | 21 | Use MCT (Multi Core Timer) as kernel timers |
| 22 | 22 | ||
| 23 | config EXYNOS4_DEV_AHCI | ||
| 24 | bool | ||
| 25 | help | ||
| 26 | Compile in platform device definitions for AHCI | ||
| 27 | |||
| 23 | config EXYNOS4_DEV_PD | 28 | config EXYNOS4_DEV_PD |
| 24 | bool | 29 | bool |
| 25 | help | 30 | help |
| @@ -134,9 +139,9 @@ config MACH_ARMLEX4210 | |||
| 134 | select S3C_DEV_HSMMC | 139 | select S3C_DEV_HSMMC |
| 135 | select S3C_DEV_HSMMC2 | 140 | select S3C_DEV_HSMMC2 |
| 136 | select S3C_DEV_HSMMC3 | 141 | select S3C_DEV_HSMMC3 |
| 142 | select EXYNOS4_DEV_AHCI | ||
| 137 | select EXYNOS4_DEV_SYSMMU | 143 | select EXYNOS4_DEV_SYSMMU |
| 138 | select EXYNOS4_SETUP_SDHCI | 144 | select EXYNOS4_SETUP_SDHCI |
| 139 | select SATA_AHCI_PLATFORM | ||
| 140 | help | 145 | help |
| 141 | Machine support for Samsung ARMLEX4210 based on EXYNOS4210 | 146 | Machine support for Samsung ARMLEX4210 based on EXYNOS4210 |
| 142 | 147 | ||
diff --git a/arch/arm/mach-exynos4/Makefile b/arch/arm/mach-exynos4/Makefile index b8f0e7d82d7..9be104f63c0 100644 --- a/arch/arm/mach-exynos4/Makefile +++ b/arch/arm/mach-exynos4/Makefile | |||
| @@ -39,6 +39,7 @@ obj-$(CONFIG_MACH_NURI) += mach-nuri.o | |||
| 39 | # device support | 39 | # device support |
| 40 | 40 | ||
| 41 | obj-y += dev-audio.o | 41 | obj-y += dev-audio.o |
| 42 | obj-$(CONFIG_EXYNOS4_DEV_AHCI) += dev-ahci.o | ||
| 42 | obj-$(CONFIG_EXYNOS4_DEV_PD) += dev-pd.o | 43 | obj-$(CONFIG_EXYNOS4_DEV_PD) += dev-pd.o |
| 43 | obj-$(CONFIG_EXYNOS4_DEV_SYSMMU) += dev-sysmmu.o | 44 | obj-$(CONFIG_EXYNOS4_DEV_SYSMMU) += dev-sysmmu.o |
| 44 | 45 | ||
| @@ -53,4 +54,3 @@ obj-$(CONFIG_EXYNOS4_SETUP_I2C7) += setup-i2c7.o | |||
| 53 | obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD) += setup-keypad.o | 54 | obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD) += setup-keypad.o |
| 54 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI) += setup-sdhci.o | 55 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI) += setup-sdhci.o |
| 55 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o | 56 | obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o |
| 56 | obj-$(CONFIG_SATA_AHCI_PLATFORM) += dev-ahci.o | ||
diff --git a/arch/arm/mach-exynos4/include/mach/debug-macro.S b/arch/arm/mach-exynos4/include/mach/debug-macro.S index 58bbd049a6c..a442ef86116 100644 --- a/arch/arm/mach-exynos4/include/mach/debug-macro.S +++ b/arch/arm/mach-exynos4/include/mach/debug-macro.S | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | .macro addruart, rp, rv | 23 | .macro addruart, rp, rv |
| 24 | ldreq \rp, = S3C_PA_UART | 24 | ldr \rp, = S3C_PA_UART |
| 25 | ldrne \rv, = S3C_VA_UART | 25 | ldr \rv, = S3C_VA_UART |
| 26 | #if CONFIG_DEBUG_S3C_UART != 0 | 26 | #if CONFIG_DEBUG_S3C_UART != 0 |
| 27 | add \rp, \rp, #(0x10000 * CONFIG_DEBUG_S3C_UART) | 27 | add \rp, \rp, #(0x10000 * CONFIG_DEBUG_S3C_UART) |
| 28 | add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART) | 28 | add \rv, \rv, #(0x10000 * CONFIG_DEBUG_S3C_UART) |
diff --git a/arch/arm/mach-exynos4/mach-smdkc210.c b/arch/arm/mach-exynos4/mach-smdkc210.c index 25a25681812..e645f7a955f 100644 --- a/arch/arm/mach-exynos4/mach-smdkc210.c +++ b/arch/arm/mach-exynos4/mach-smdkc210.c | |||
| @@ -125,7 +125,7 @@ static struct resource smdkc210_smsc911x_resources[] = { | |||
| 125 | }; | 125 | }; |
| 126 | 126 | ||
| 127 | static struct smsc911x_platform_config smsc9215_config = { | 127 | static struct smsc911x_platform_config smsc9215_config = { |
| 128 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH, | 128 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, |
| 129 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, | 129 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, |
| 130 | .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY, | 130 | .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY, |
| 131 | .phy_interface = PHY_INTERFACE_MODE_MII, | 131 | .phy_interface = PHY_INTERFACE_MODE_MII, |
diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c index 88e0275143b..152676471b6 100644 --- a/arch/arm/mach-exynos4/mach-smdkv310.c +++ b/arch/arm/mach-exynos4/mach-smdkv310.c | |||
| @@ -127,7 +127,7 @@ static struct resource smdkv310_smsc911x_resources[] = { | |||
| 127 | }; | 127 | }; |
| 128 | 128 | ||
| 129 | static struct smsc911x_platform_config smsc9215_config = { | 129 | static struct smsc911x_platform_config smsc9215_config = { |
| 130 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH, | 130 | .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_LOW, |
| 131 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, | 131 | .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, |
| 132 | .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY, | 132 | .flags = SMSC911X_USE_16BIT | SMSC911X_FORCE_INTERNAL_PHY, |
| 133 | .phy_interface = PHY_INTERFACE_MODE_MII, | 133 | .phy_interface = PHY_INTERFACE_MODE_MII, |
diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index b8d02eb4cf3..a5c00952ea3 100644 --- a/arch/arm/mach-s5p64x0/cpu.c +++ b/arch/arm/mach-s5p64x0/cpu.c | |||
| @@ -119,7 +119,7 @@ void __init s5p6450_map_io(void) | |||
| 119 | s3c_adc_setname("s3c64xx-adc"); | 119 | s3c_adc_setname("s3c64xx-adc"); |
| 120 | 120 | ||
| 121 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); | 121 | iotable_init(s5p64x0_iodesc, ARRAY_SIZE(s5p64x0_iodesc)); |
| 122 | iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6440_iodesc)); | 122 | iotable_init(s5p6450_iodesc, ARRAY_SIZE(s5p6450_iodesc)); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | /* | 125 | /* |
diff --git a/arch/arm/mach-s5pv210/include/mach/irqs.h b/arch/arm/mach-s5pv210/include/mach/irqs.h index 26710b35ef8..b9f9ec33384 100644 --- a/arch/arm/mach-s5pv210/include/mach/irqs.h +++ b/arch/arm/mach-s5pv210/include/mach/irqs.h | |||
| @@ -99,9 +99,9 @@ | |||
| 99 | #define IRQ_TC IRQ_PENDN | 99 | #define IRQ_TC IRQ_PENDN |
| 100 | #define IRQ_KEYPAD S5P_IRQ_VIC2(25) | 100 | #define IRQ_KEYPAD S5P_IRQ_VIC2(25) |
| 101 | #define IRQ_CG S5P_IRQ_VIC2(26) | 101 | #define IRQ_CG S5P_IRQ_VIC2(26) |
| 102 | #define IRQ_SEC S5P_IRQ_VIC2(27) | 102 | #define IRQ_SSS_INT S5P_IRQ_VIC2(27) |
| 103 | #define IRQ_SECRX S5P_IRQ_VIC2(28) | 103 | #define IRQ_SSS_HASH S5P_IRQ_VIC2(28) |
| 104 | #define IRQ_SECTX S5P_IRQ_VIC2(29) | 104 | #define IRQ_PCM2 S5P_IRQ_VIC2(29) |
| 105 | #define IRQ_SDMIRQ S5P_IRQ_VIC2(30) | 105 | #define IRQ_SDMIRQ S5P_IRQ_VIC2(30) |
| 106 | #define IRQ_SDMFIQ S5P_IRQ_VIC2(31) | 106 | #define IRQ_SDMFIQ S5P_IRQ_VIC2(31) |
| 107 | 107 | ||
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index bc08ac42e7c..c6a9e86c2d5 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
| @@ -44,7 +44,6 @@ | |||
| 44 | #include <plat/keypad.h> | 44 | #include <plat/keypad.h> |
| 45 | #include <plat/pm.h> | 45 | #include <plat/pm.h> |
| 46 | #include <plat/fb.h> | 46 | #include <plat/fb.h> |
| 47 | #include <plat/gpio-cfg.h> | ||
| 48 | #include <plat/s5p-time.h> | 47 | #include <plat/s5p-time.h> |
| 49 | 48 | ||
| 50 | /* Following are default values for UCON, ULCON and UFCON UART registers */ | 49 | /* Following are default values for UCON, ULCON and UFCON UART registers */ |
diff --git a/arch/arm/plat-s5p/cpu.c b/arch/arm/plat-s5p/cpu.c index c3bfe9b13ac..5cf5e721e6c 100644 --- a/arch/arm/plat-s5p/cpu.c +++ b/arch/arm/plat-s5p/cpu.c | |||
| @@ -39,7 +39,7 @@ static const char name_exynos4210[] = "EXYNOS4210"; | |||
| 39 | static struct cpu_table cpu_ids[] __initdata = { | 39 | static struct cpu_table cpu_ids[] __initdata = { |
| 40 | { | 40 | { |
| 41 | .idcode = 0x56440100, | 41 | .idcode = 0x56440100, |
| 42 | .idmask = 0xffffff00, | 42 | .idmask = 0xfffff000, |
| 43 | .map_io = s5p6440_map_io, | 43 | .map_io = s5p6440_map_io, |
| 44 | .init_clocks = s5p6440_init_clocks, | 44 | .init_clocks = s5p6440_init_clocks, |
| 45 | .init_uarts = s5p6440_init_uarts, | 45 | .init_uarts = s5p6440_init_uarts, |
| @@ -47,7 +47,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
| 47 | .name = name_s5p6440, | 47 | .name = name_s5p6440, |
| 48 | }, { | 48 | }, { |
| 49 | .idcode = 0x36442000, | 49 | .idcode = 0x36442000, |
| 50 | .idmask = 0xffffff00, | 50 | .idmask = 0xfffff000, |
| 51 | .map_io = s5p6442_map_io, | 51 | .map_io = s5p6442_map_io, |
| 52 | .init_clocks = s5p6442_init_clocks, | 52 | .init_clocks = s5p6442_init_clocks, |
| 53 | .init_uarts = s5p6442_init_uarts, | 53 | .init_uarts = s5p6442_init_uarts, |
| @@ -55,7 +55,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
| 55 | .name = name_s5p6442, | 55 | .name = name_s5p6442, |
| 56 | }, { | 56 | }, { |
| 57 | .idcode = 0x36450000, | 57 | .idcode = 0x36450000, |
| 58 | .idmask = 0xffffff00, | 58 | .idmask = 0xfffff000, |
| 59 | .map_io = s5p6450_map_io, | 59 | .map_io = s5p6450_map_io, |
| 60 | .init_clocks = s5p6450_init_clocks, | 60 | .init_clocks = s5p6450_init_clocks, |
| 61 | .init_uarts = s5p6450_init_uarts, | 61 | .init_uarts = s5p6450_init_uarts, |
| @@ -79,7 +79,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
| 79 | .name = name_s5pv210, | 79 | .name = name_s5pv210, |
| 80 | }, { | 80 | }, { |
| 81 | .idcode = 0x43210000, | 81 | .idcode = 0x43210000, |
| 82 | .idmask = 0xfffff000, | 82 | .idmask = 0xfffe0000, |
| 83 | .map_io = exynos4_map_io, | 83 | .map_io = exynos4_map_io, |
| 84 | .init_clocks = exynos4_init_clocks, | 84 | .init_clocks = exynos4_init_clocks, |
| 85 | .init_uarts = exynos4_init_uarts, | 85 | .init_uarts = exynos4_init_uarts, |
diff --git a/arch/arm/plat-samsung/init.c b/arch/arm/plat-samsung/init.c index 6790edfaca6..79d10fca909 100644 --- a/arch/arm/plat-samsung/init.c +++ b/arch/arm/plat-samsung/init.c | |||
| @@ -36,7 +36,7 @@ static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode, | |||
| 36 | unsigned int count) | 36 | unsigned int count) |
| 37 | { | 37 | { |
| 38 | for (; count != 0; count--, tab++) { | 38 | for (; count != 0; count--, tab++) { |
| 39 | if ((idcode & tab->idmask) == tab->idcode) | 39 | if ((idcode & tab->idmask) == (tab->idcode & tab->idmask)) |
| 40 | return tab; | 40 | return tab; |
| 41 | } | 41 | } |
| 42 | 42 | ||
