Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: EXYNOS: Add ARCH_EXYNOS and reorganize arch/arm/mach-exynos

The arch/arm/mach-exynos4 directory (CONFIG_ARCH_EXYNOS4) has
made for plaforms based on EXYNOS4 SoCs. But since upcoming
Samsung's SoCs such as EXYNOS5 (ARM Cortex A15) can reuse most
codes in current mach-exynos4, one mach-exynos directory will
be used for them.

This patch changes to CONFIG_ARCH_EXYNOS (arch/arm/mach-exynos)
but keeps original CONFIG_ARCH_EXYNOS4 in mach-exynos/Kconfig to
avoid changing in driver side.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

+112 -87
+4 -4
arch/arm/Kconfig
··· 837 837 help 838 838 Samsung S5PV210/S5PC110 series based systems 839 839 840 - config ARCH_EXYNOS4 841 - bool "Samsung EXYNOS4" 840 + config ARCH_EXYNOS 841 + bool "SAMSUNG EXYNOS" 842 842 select CPU_V7 843 843 select ARCH_SPARSEMEM_ENABLE 844 844 select ARCH_HAS_HOLES_MEMORYMODEL ··· 852 852 select HAVE_S3C2410_WATCHDOG if WATCHDOG 853 853 select NEED_MACH_MEMORY_H 854 854 help 855 - Samsung EXYNOS4 series based systems 855 + Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5) 856 856 857 857 config ARCH_SHARK 858 858 bool "Shark" ··· 1079 1079 1080 1080 source "arch/arm/mach-s5pv210/Kconfig" 1081 1081 1082 - source "arch/arm/mach-exynos4/Kconfig" 1082 + source "arch/arm/mach-exynos/Kconfig" 1083 1083 1084 1084 source "arch/arm/mach-shmobile/Kconfig" 1085 1085
+1 -1
arch/arm/Makefile
··· 180 180 machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 181 181 machine-$(CONFIG_ARCH_S5PC100) := s5pc100 182 182 machine-$(CONFIG_ARCH_S5PV210) := s5pv210 183 - machine-$(CONFIG_ARCH_EXYNOS4) := exynos4 183 + machine-$(CONFIG_ARCH_EXYNOS4) := exynos 184 184 machine-$(CONFIG_ARCH_SA1100) := sa1100 185 185 machine-$(CONFIG_ARCH_SHARK) := shark 186 186 machine-$(CONFIG_ARCH_SHMOBILE) := shmobile
+2 -7
arch/arm/configs/exynos4_defconfig
··· 4 4 CONFIG_MODULES=y 5 5 CONFIG_MODULE_UNLOAD=y 6 6 # CONFIG_BLK_DEV_BSG is not set 7 - CONFIG_ARCH_EXYNOS4=y 7 + CONFIG_ARCH_EXYNOS=y 8 8 CONFIG_S3C_LOWLEVEL_UART_PORT=1 9 9 CONFIG_MACH_SMDKC210=y 10 - CONFIG_MACH_SMDKV310=y 11 10 CONFIG_MACH_ARMLEX4210=y 12 11 CONFIG_MACH_UNIVERSAL_C210=y 13 12 CONFIG_MACH_NURI=y 14 13 CONFIG_MACH_ORIGEN=y 14 + CONFIG_MACH_SMDK4412=y 15 15 CONFIG_NO_HZ=y 16 16 CONFIG_HIGH_RES_TIMERS=y 17 17 CONFIG_SMP=y 18 18 CONFIG_NR_CPUS=2 19 - CONFIG_HOTPLUG_CPU=y 20 19 CONFIG_PREEMPT=y 21 20 CONFIG_AEABI=y 22 21 CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc mem=256M" ··· 60 61 CONFIG_DEBUG_RT_MUTEXES=y 61 62 CONFIG_DEBUG_SPINLOCK=y 62 63 CONFIG_DEBUG_MUTEXES=y 63 - CONFIG_DEBUG_SPINLOCK_SLEEP=y 64 64 CONFIG_DEBUG_INFO=y 65 - # CONFIG_RCU_CPU_STALL_DETECTOR is not set 66 65 CONFIG_SYSCTL_SYSCALL_CHECK=y 67 66 CONFIG_DEBUG_USER=y 68 - CONFIG_DEBUG_ERRORS=y 69 67 CONFIG_DEBUG_LL=y 70 68 CONFIG_EARLY_PRINTK=y 71 - CONFIG_DEBUG_S3C_UART=1 72 69 CONFIG_CRC_CCITT=y
+31 -11
arch/arm/mach-exynos4/Kconfig arch/arm/mach-exynos/Kconfig
··· 1 - # arch/arm/mach-exynos4/Kconfig 1 + # arch/arm/mach-exynos/Kconfig 2 2 # 3 3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4 4 # http://www.samsung.com/ ··· 7 7 8 8 # Configuration options for the EXYNOS4 9 9 10 - if ARCH_EXYNOS4 10 + if ARCH_EXYNOS 11 + 12 + menu "SAMSUNG EXYNOS SoCs Support" 13 + 14 + choice 15 + prompt "EXYNOS System Type" 16 + default ARCH_EXYNOS4 17 + 18 + config ARCH_EXYNOS4 19 + bool "SAMSUNG EXYNOS4" 20 + help 21 + Samsung EXYNOS4 SoCs based systems 22 + 23 + endchoice 24 + 25 + comment "EXYNOS SoCs" 11 26 12 27 config CPU_EXYNOS4210 13 - bool 28 + bool "SAMSUNG EXYNOS4210" 29 + default y 30 + depends on ARCH_EXYNOS4 14 31 select SAMSUNG_DMADEV 15 32 select ARM_CPU_SUSPEND if PM 16 33 select S5P_PM if PM ··· 36 19 Enable EXYNOS4210 CPU support 37 20 38 21 config SOC_EXYNOS4212 39 - bool 40 - select ARM_CPU_SUSPEND if PM 22 + bool "SAMSUNG EXYNOS4212" 23 + default y 24 + depends on ARCH_EXYNOS4 41 25 select S5P_PM if PM 42 26 select S5P_SLEEP if PM 43 27 help 44 28 Enable EXYNOS4212 SoC support 45 29 46 30 config SOC_EXYNOS4412 47 - bool 31 + bool "SAMSUNG EXYNOS4412" 32 + default y 33 + depends on ARCH_EXYNOS4 48 34 help 49 35 Enable EXYNOS4412 SoC support 50 36 ··· 145 125 146 126 # machine support 147 127 148 - menu "EXYNOS4 Machines" 128 + if ARCH_EXYNOS4 149 129 150 130 comment "EXYNOS4210 Boards" 151 131 ··· 325 305 select MACH_SMDK4212 326 306 help 327 307 Machine support for Samsung SMDK4412 308 + endif 328 309 329 - endmenu 310 + if ARCH_EXYNOS4 330 311 331 - comment "Configuration for HSMMC bus width" 332 - 333 - menu "Use 8-bit bus width" 312 + comment "Configuration for HSMMC 8-bit bus width" 334 313 335 314 config EXYNOS4_SDHCI_CH0_8BIT 336 315 bool "Channel 0 with 8-bit bus" ··· 342 323 help 343 324 Support HSMMC Channel 2 8-bit bus. 344 325 If selected, Channel 3 is disabled. 326 + endif 345 327 346 328 endmenu 347 329
+5 -6
arch/arm/mach-exynos4/Makefile arch/arm/mach-exynos/Makefile
··· 1 - # arch/arm/mach-exynos4/Makefile 1 + # arch/arm/mach-exynos/Makefile 2 2 # 3 3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4 4 # http://www.samsung.com/ ··· 12 12 13 13 # Core support for EXYNOS4 system 14 14 15 - obj-$(CONFIG_ARCH_EXYNOS4) += cpu.o init.o clock.o irq-combiner.o 16 - obj-$(CONFIG_ARCH_EXYNOS4) += setup-i2c0.o irq-eint.o dma.o pmu.o 15 + obj-$(CONFIG_ARCH_EXYNOS4) += cpu.o init.o clock.o irq-combiner.o setup-i2c0.o 16 + obj-$(CONFIG_ARCH_EXYNOS4) += irq-eint.o dma.o pmu.o 17 17 obj-$(CONFIG_CPU_EXYNOS4210) += clock-exynos4210.o 18 18 obj-$(CONFIG_SOC_EXYNOS4212) += clock-exynos4212.o 19 19 obj-$(CONFIG_PM) += pm.o ··· 39 39 40 40 # device support 41 41 42 - obj-y += dev-audio.o 42 + obj-$(CONFIG_ARCH_EXYNOS4) += dev-audio.o 43 43 obj-$(CONFIG_EXYNOS4_DEV_AHCI) += dev-ahci.o 44 44 obj-$(CONFIG_EXYNOS4_DEV_PD) += dev-pd.o 45 45 obj-$(CONFIG_EXYNOS4_DEV_SYSMMU) += dev-sysmmu.o 46 - obj-$(CONFIG_EXYNOS4_DEV_DWMCI) += dev-dwmci.o 46 + obj-$(CONFIG_EXYNOS4_DEV_DWMCI) += dev-dwmci.o 47 47 48 48 obj-$(CONFIG_EXYNOS4_SETUP_FIMC) += setup-fimc.o 49 49 obj-$(CONFIG_EXYNOS4_SETUP_FIMD0) += setup-fimd0.o ··· 57 57 obj-$(CONFIG_EXYNOS4_SETUP_KEYPAD) += setup-keypad.o 58 58 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI) += setup-sdhci.o 59 59 obj-$(CONFIG_EXYNOS4_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o 60 - 61 60 obj-$(CONFIG_EXYNOS4_SETUP_USB_PHY) += setup-usb-phy.o
arch/arm/mach-exynos4/Makefile.boot arch/arm/mach-exynos/Makefile.boot
arch/arm/mach-exynos4/clock-exynos4210.c arch/arm/mach-exynos/clock-exynos4210.c
arch/arm/mach-exynos4/clock-exynos4212.c arch/arm/mach-exynos/clock-exynos4212.c
arch/arm/mach-exynos4/clock.c arch/arm/mach-exynos/clock.c
+37 -32
arch/arm/mach-exynos4/cpu.c arch/arm/mach-exynos/cpu.c
··· 1 - /* linux/arch/arm/mach-exynos4/cpu.c 1 + /* linux/arch/arm/mach-exynos/cpu.c 2 2 * 3 3 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4 4 * http://www.samsung.com ··· 40 40 extern void combiner_cascade_irq(unsigned int combiner_nr, unsigned int irq); 41 41 42 42 /* Initial IO mappings */ 43 - static struct map_desc exynos4_iodesc[] __initdata = { 43 + static struct map_desc exynos_iodesc[] __initdata = { 44 44 { 45 45 .virtual = (unsigned long)S5P_VA_SYSTIMER, 46 - .pfn = __phys_to_pfn(EXYNOS4_PA_SYSTIMER), 46 + .pfn = __phys_to_pfn(EXYNOS_PA_SYSTIMER), 47 47 .length = SZ_4K, 48 - .type = MT_DEVICE, 49 - }, { 50 - .virtual = (unsigned long)S5P_VA_CMU, 51 - .pfn = __phys_to_pfn(EXYNOS4_PA_CMU), 52 - .length = SZ_128K, 53 48 .type = MT_DEVICE, 54 49 }, { 55 50 .virtual = (unsigned long)S5P_VA_PMU, 56 - .pfn = __phys_to_pfn(EXYNOS4_PA_PMU), 51 + .pfn = __phys_to_pfn(EXYNOS_PA_PMU), 57 52 .length = SZ_64K, 58 53 .type = MT_DEVICE, 59 54 }, { 60 55 .virtual = (unsigned long)S5P_VA_COMBINER_BASE, 61 - .pfn = __phys_to_pfn(EXYNOS4_PA_COMBINER), 56 + .pfn = __phys_to_pfn(EXYNOS_PA_COMBINER), 62 57 .length = SZ_4K, 58 + .type = MT_DEVICE, 59 + }, { 60 + .virtual = (unsigned long)S5P_VA_GIC_CPU, 61 + .pfn = __phys_to_pfn(EXYNOS_PA_GIC_CPU), 62 + .length = SZ_64K, 63 + .type = MT_DEVICE, 64 + }, { 65 + .virtual = (unsigned long)S5P_VA_GIC_DIST, 66 + .pfn = __phys_to_pfn(EXYNOS_PA_GIC_DIST), 67 + .length = SZ_64K, 68 + .type = MT_DEVICE, 69 + }, { 70 + .virtual = (unsigned long)S3C_VA_UART, 71 + .pfn = __phys_to_pfn(S3C_PA_UART), 72 + .length = SZ_512K, 73 + .type = MT_DEVICE, 74 + }, 75 + }; 76 + 77 + static struct map_desc exynos4_iodesc[] __initdata = { 78 + { 79 + .virtual = (unsigned long)S5P_VA_CMU, 80 + .pfn = __phys_to_pfn(EXYNOS4_PA_CMU), 81 + .length = SZ_128K, 63 82 .type = MT_DEVICE, 64 83 }, { 65 84 .virtual = (unsigned long)S5P_VA_COREPERI_BASE, ··· 111 92 .length = SZ_4K, 112 93 .type = MT_DEVICE, 113 94 }, { 114 - .virtual = (unsigned long)S3C_VA_UART, 115 - .pfn = __phys_to_pfn(S3C_PA_UART), 116 - .length = SZ_512K, 117 - .type = MT_DEVICE, 118 - }, { 119 95 .virtual = (unsigned long)S5P_VA_SROMC, 120 96 .pfn = __phys_to_pfn(EXYNOS4_PA_SROMC), 121 97 .length = SZ_4K, ··· 119 105 .virtual = (unsigned long)S3C_VA_USB_HSPHY, 120 106 .pfn = __phys_to_pfn(EXYNOS4_PA_HSPHY), 121 107 .length = SZ_4K, 122 - .type = MT_DEVICE, 123 - }, { 124 - .virtual = (unsigned long)S5P_VA_GIC_CPU, 125 - .pfn = __phys_to_pfn(EXYNOS4_PA_GIC_CPU), 126 - .length = SZ_64K, 127 - .type = MT_DEVICE, 128 - }, { 129 - .virtual = (unsigned long)S5P_VA_GIC_DIST, 130 - .pfn = __phys_to_pfn(EXYNOS4_PA_GIC_DIST), 131 - .length = SZ_64K, 132 108 .type = MT_DEVICE, 133 109 }, 134 110 }; ··· 141 137 }, 142 138 }; 143 139 144 - static void exynos4_idle(void) 140 + static void exynos_idle(void) 145 141 { 146 142 if (!need_resched()) 147 143 cpu_do_idle(); ··· 155 151 } 156 152 157 153 /* 158 - * exynos4_map_io 154 + * exynos_map_io 159 155 * 160 156 * register the standard cpu IO areas 161 157 */ 162 158 void __init exynos4_map_io(void) 163 159 { 160 + iotable_init(exynos_iodesc, ARRAY_SIZE(exynos_iodesc)); 164 161 iotable_init(exynos4_iodesc, ARRAY_SIZE(exynos4_iodesc)); 165 162 166 163 if (soc_is_exynos4210() && samsung_rev() == EXYNOS4210_REV_0) ··· 255 250 { 256 251 return sysdev_class_register(&exynos4_sysclass); 257 252 } 258 - 259 253 core_initcall(exynos4_core_init); 260 254 261 255 #ifdef CONFIG_CACHE_L2X0 ··· 283 279 early_initcall(exynos4_l2x0_cache_init); 284 280 #endif 285 281 286 - int __init exynos4_init(void) 282 + int __init exynos_init(void) 287 283 { 288 - printk(KERN_INFO "EXYNOS4: Initializing architecture\n"); 284 + printk(KERN_INFO "EXYNOS: Initializing architecture\n"); 289 285 290 286 /* set idle function */ 291 - pm_idle = exynos4_idle; 287 + pm_idle = exynos_idle; 292 288 293 289 /* set sw_reset function */ 294 - s5p_reset_hook = exynos4_sw_reset; 290 + if (soc_is_exynos4210() || soc_is_exynos4212() || soc_is_exynos4412()) 291 + s5p_reset_hook = exynos4_sw_reset; 295 292 296 293 return sysdev_register(&exynos4_sysdev); 297 294 }
arch/arm/mach-exynos4/cpuidle.c arch/arm/mach-exynos/cpuidle.c
arch/arm/mach-exynos4/dev-ahci.c arch/arm/mach-exynos/dev-ahci.c
arch/arm/mach-exynos4/dev-audio.c arch/arm/mach-exynos/dev-audio.c
arch/arm/mach-exynos4/dev-dwmci.c arch/arm/mach-exynos/dev-dwmci.c
arch/arm/mach-exynos4/dev-pd.c arch/arm/mach-exynos/dev-pd.c
arch/arm/mach-exynos4/dev-sysmmu.c arch/arm/mach-exynos/dev-sysmmu.c
arch/arm/mach-exynos4/dma.c arch/arm/mach-exynos/dma.c
arch/arm/mach-exynos4/headsmp.S arch/arm/mach-exynos/headsmp.S
arch/arm/mach-exynos4/hotplug.c arch/arm/mach-exynos/hotplug.c
arch/arm/mach-exynos4/include/mach/debug-macro.S arch/arm/mach-exynos/include/mach/debug-macro.S
arch/arm/mach-exynos4/include/mach/dma.h arch/arm/mach-exynos/include/mach/dma.h
arch/arm/mach-exynos4/include/mach/dwmci.h arch/arm/mach-exynos/include/mach/dwmci.h
arch/arm/mach-exynos4/include/mach/entry-macro.S arch/arm/mach-exynos/include/mach/entry-macro.S
arch/arm/mach-exynos4/include/mach/exynos4-clock.h arch/arm/mach-exynos/include/mach/exynos4-clock.h
arch/arm/mach-exynos4/include/mach/gpio.h arch/arm/mach-exynos/include/mach/gpio.h
arch/arm/mach-exynos4/include/mach/hardware.h arch/arm/mach-exynos/include/mach/hardware.h
arch/arm/mach-exynos4/include/mach/io.h arch/arm/mach-exynos/include/mach/io.h
arch/arm/mach-exynos4/include/mach/irqs.h arch/arm/mach-exynos/include/mach/irqs.h
+25 -19
arch/arm/mach-exynos4/include/mach/map.h arch/arm/mach-exynos/include/mach/map.h
··· 1 - /* linux/arch/arm/mach-exynos4/include/mach/map.h 1 + /* linux/arch/arm/mach-exynos/include/mach/map.h 2 2 * 3 3 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 4 4 * http://www.samsung.com/ ··· 145 145 #define S3C_PA_IIC5 EXYNOS4_PA_IIC(5) 146 146 #define S3C_PA_IIC6 EXYNOS4_PA_IIC(6) 147 147 #define S3C_PA_IIC7 EXYNOS4_PA_IIC(7) 148 - #define SAMSUNG_PA_ADC EXYNOS4_PA_ADC 149 - #define SAMSUNG_PA_ADC1 EXYNOS4_PA_ADC1 150 148 #define S3C_PA_RTC EXYNOS4_PA_RTC 151 149 #define S3C_PA_WDT EXYNOS4_PA_WATCHDOG 150 + #define S3C_PA_UART EXYNOS4_PA_UART 152 151 153 152 #define S5P_PA_CHIPID EXYNOS4_PA_CHIPID 153 + #define S5P_PA_EHCI EXYNOS4_PA_EHCI 154 154 #define S5P_PA_FIMC0 EXYNOS4_PA_FIMC0 155 155 #define S5P_PA_FIMC1 EXYNOS4_PA_FIMC1 156 156 #define S5P_PA_FIMC2 EXYNOS4_PA_FIMC2 157 157 #define S5P_PA_FIMC3 EXYNOS4_PA_FIMC3 158 - #define S5P_PA_MIPI_CSIS0 EXYNOS4_PA_MIPI_CSIS0 159 - #define S5P_PA_MIPI_CSIS1 EXYNOS4_PA_MIPI_CSIS1 160 158 #define S5P_PA_FIMD0 EXYNOS4_PA_FIMD0 161 - #define S5P_PA_ONENAND EXYNOS4_PA_ONENAND 162 - #define S5P_PA_ONENAND_DMA EXYNOS4_PA_ONENAND_DMA 163 - #define S5P_PA_SDRAM EXYNOS4_PA_SDRAM 164 - #define S5P_PA_SROMC EXYNOS4_PA_SROMC 165 - #define S5P_PA_MFC EXYNOS4_PA_MFC 166 - #define S5P_PA_SYSCON EXYNOS4_PA_SYSCON 167 - #define S5P_PA_TIMER EXYNOS4_PA_TIMER 168 - #define S5P_PA_EHCI EXYNOS4_PA_EHCI 169 - 170 - #define S5P_PA_SDO EXYNOS4_PA_SDO 171 - #define S5P_PA_VP EXYNOS4_PA_VP 172 - #define S5P_PA_MIXER EXYNOS4_PA_MIXER 173 159 #define S5P_PA_HDMI EXYNOS4_PA_HDMI 174 160 #define S5P_PA_IIC_HDMIPHY EXYNOS4_PA_IIC_HDMIPHY 161 + #define S5P_PA_MFC EXYNOS4_PA_MFC 162 + #define S5P_PA_MIPI_CSIS0 EXYNOS4_PA_MIPI_CSIS0 163 + #define S5P_PA_MIPI_CSIS1 EXYNOS4_PA_MIPI_CSIS1 164 + #define S5P_PA_MIXER EXYNOS4_PA_MIXER 165 + #define S5P_PA_ONENAND EXYNOS4_PA_ONENAND 166 + #define S5P_PA_ONENAND_DMA EXYNOS4_PA_ONENAND_DMA 167 + #define S5P_PA_SDO EXYNOS4_PA_SDO 168 + #define S5P_PA_SDRAM EXYNOS4_PA_SDRAM 169 + #define S5P_PA_SROMC EXYNOS4_PA_SROMC 170 + #define S5P_PA_SYSCON EXYNOS4_PA_SYSCON 171 + #define S5P_PA_TIMER EXYNOS4_PA_TIMER 172 + #define S5P_PA_VP EXYNOS4_PA_VP 175 173 174 + #define SAMSUNG_PA_ADC EXYNOS4_PA_ADC 175 + #define SAMSUNG_PA_ADC1 EXYNOS4_PA_ADC1 176 176 #define SAMSUNG_PA_KEYPAD EXYNOS4_PA_KEYPAD 177 177 178 - /* UART */ 178 + #define EXYNOS_PA_COMBINER EXYNOS4_PA_COMBINER 179 + #define EXYNOS_PA_GIC_CPU EXYNOS4_PA_GIC_CPU 180 + #define EXYNOS_PA_GIC_DIST EXYNOS4_PA_GIC_DIST 181 + #define EXYNOS_PA_PMU EXYNOS4_PA_PMU 182 + #define EXYNOS_PA_SYSTIMER EXYNOS4_PA_SYSTIMER 179 183 180 - #define S3C_PA_UART EXYNOS4_PA_UART 184 + /* Compatibility UART */ 185 + 186 + #define S3C_VA_UARTx(x) (S3C_VA_UART + ((x) * S3C_UART_OFFSET)) 181 187 182 188 #define S5P_PA_UART(x) (S3C_PA_UART + ((x) * S3C_UART_OFFSET)) 183 189 #define S5P_PA_UART0 S5P_PA_UART(0)
arch/arm/mach-exynos4/include/mach/memory.h arch/arm/mach-exynos/include/mach/memory.h
arch/arm/mach-exynos4/include/mach/pm-core.h arch/arm/mach-exynos/include/mach/pm-core.h
arch/arm/mach-exynos4/include/mach/pmu.h arch/arm/mach-exynos/include/mach/pmu.h
arch/arm/mach-exynos4/include/mach/regs-audss.h arch/arm/mach-exynos/include/mach/regs-audss.h
arch/arm/mach-exynos4/include/mach/regs-clock.h arch/arm/mach-exynos/include/mach/regs-clock.h
arch/arm/mach-exynos4/include/mach/regs-gpio.h arch/arm/mach-exynos/include/mach/regs-gpio.h
arch/arm/mach-exynos4/include/mach/regs-irq.h arch/arm/mach-exynos/include/mach/regs-irq.h
arch/arm/mach-exynos4/include/mach/regs-mct.h arch/arm/mach-exynos/include/mach/regs-mct.h
arch/arm/mach-exynos4/include/mach/regs-mem.h arch/arm/mach-exynos/include/mach/regs-mem.h
arch/arm/mach-exynos4/include/mach/regs-pmu.h arch/arm/mach-exynos/include/mach/regs-pmu.h
arch/arm/mach-exynos4/include/mach/regs-sysmmu.h arch/arm/mach-exynos/include/mach/regs-sysmmu.h
arch/arm/mach-exynos4/include/mach/regs-usb-phy.h arch/arm/mach-exynos/include/mach/regs-usb-phy.h
arch/arm/mach-exynos4/include/mach/sysmmu.h arch/arm/mach-exynos/include/mach/sysmmu.h
arch/arm/mach-exynos4/include/mach/system.h arch/arm/mach-exynos/include/mach/system.h
arch/arm/mach-exynos4/include/mach/timex.h arch/arm/mach-exynos/include/mach/timex.h
arch/arm/mach-exynos4/include/mach/uncompress.h arch/arm/mach-exynos/include/mach/uncompress.h
arch/arm/mach-exynos4/include/mach/vmalloc.h arch/arm/mach-exynos/include/mach/vmalloc.h
arch/arm/mach-exynos4/init.c arch/arm/mach-exynos/init.c
arch/arm/mach-exynos4/irq-combiner.c arch/arm/mach-exynos/irq-combiner.c
arch/arm/mach-exynos4/irq-eint.c arch/arm/mach-exynos/irq-eint.c
arch/arm/mach-exynos4/mach-armlex4210.c arch/arm/mach-exynos/mach-armlex4210.c
arch/arm/mach-exynos4/mach-nuri.c arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos4/mach-origen.c arch/arm/mach-exynos/mach-origen.c
arch/arm/mach-exynos4/mach-smdk4x12.c arch/arm/mach-exynos/mach-smdk4x12.c
arch/arm/mach-exynos4/mach-smdkv310.c arch/arm/mach-exynos/mach-smdkv310.c
arch/arm/mach-exynos4/mach-universal_c210.c arch/arm/mach-exynos/mach-universal_c210.c
arch/arm/mach-exynos4/mct.c arch/arm/mach-exynos/mct.c
arch/arm/mach-exynos4/platsmp.c arch/arm/mach-exynos/platsmp.c
arch/arm/mach-exynos4/pm.c arch/arm/mach-exynos/pm.c
arch/arm/mach-exynos4/pmu.c arch/arm/mach-exynos/pmu.c
arch/arm/mach-exynos4/setup-fimc.c arch/arm/mach-exynos/setup-fimc.c
arch/arm/mach-exynos4/setup-fimd0.c arch/arm/mach-exynos/setup-fimd0.c
arch/arm/mach-exynos4/setup-i2c0.c arch/arm/mach-exynos/setup-i2c0.c
arch/arm/mach-exynos4/setup-i2c1.c arch/arm/mach-exynos/setup-i2c1.c
arch/arm/mach-exynos4/setup-i2c2.c arch/arm/mach-exynos/setup-i2c2.c
arch/arm/mach-exynos4/setup-i2c3.c arch/arm/mach-exynos/setup-i2c3.c
arch/arm/mach-exynos4/setup-i2c4.c arch/arm/mach-exynos/setup-i2c4.c
arch/arm/mach-exynos4/setup-i2c5.c arch/arm/mach-exynos/setup-i2c5.c
arch/arm/mach-exynos4/setup-i2c6.c arch/arm/mach-exynos/setup-i2c6.c
arch/arm/mach-exynos4/setup-i2c7.c arch/arm/mach-exynos/setup-i2c7.c
arch/arm/mach-exynos4/setup-keypad.c arch/arm/mach-exynos/setup-keypad.c
arch/arm/mach-exynos4/setup-sdhci-gpio.c arch/arm/mach-exynos/setup-sdhci-gpio.c
arch/arm/mach-exynos4/setup-sdhci.c arch/arm/mach-exynos/setup-sdhci.c
arch/arm/mach-exynos4/setup-usb-phy.c arch/arm/mach-exynos/setup-usb-phy.c
+1 -1
arch/arm/plat-s5p/Kconfig
··· 7 7 8 8 config PLAT_S5P 9 9 bool 10 - depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS4) 10 + depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) 11 11 default y 12 12 select ARM_VIC if !ARCH_EXYNOS4 13 13 select ARM_GIC if ARCH_EXYNOS4
+3 -3
arch/arm/plat-s5p/cpu.c
··· 75 75 .map_io = exynos4_map_io, 76 76 .init_clocks = exynos4_init_clocks, 77 77 .init_uarts = exynos4_init_uarts, 78 - .init = exynos4_init, 78 + .init = exynos_init, 79 79 .name = name_exynos4210, 80 80 }, { 81 81 .idcode = EXYNOS4212_CPU_ID, ··· 83 83 .map_io = exynos4_map_io, 84 84 .init_clocks = exynos4_init_clocks, 85 85 .init_uarts = exynos4_init_uarts, 86 - .init = exynos4_init, 86 + .init = exynos_init, 87 87 .name = name_exynos4212, 88 88 }, { 89 89 .idcode = EXYNOS4412_CPU_ID, ··· 91 91 .map_io = exynos4_map_io, 92 92 .init_clocks = exynos4_init_clocks, 93 93 .init_uarts = exynos4_init_uarts, 94 - .init = exynos4_init, 94 + .init = exynos_init, 95 95 .name = name_exynos4412, 96 96 }, 97 97 };
+3 -3
arch/arm/plat-samsung/include/plat/exynos4.h
··· 18 18 extern void exynos4212_register_clocks(void); 19 19 extern void exynos4_setup_clocks(void); 20 20 21 - #ifdef CONFIG_ARCH_EXYNOS4 22 - extern int exynos4_init(void); 21 + #ifdef CONFIG_ARCH_EXYNOS 22 + extern int exynos_init(void); 23 23 extern void exynos4_init_irq(void); 24 24 extern void exynos4_map_io(void); 25 25 extern void exynos4_init_clocks(int xtal); ··· 31 31 #define exynos4_init_clocks NULL 32 32 #define exynos4_init_uarts NULL 33 33 #define exynos4_map_io NULL 34 - #define exynos4_init NULL 34 + #define exynos_init NULL 35 35 #endif