Commit 71b9114d authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Krzysztof Kozlowski

ARM: s3c: move into a common directory

s3c24xx and s3c64xx have a lot in common, but are split across three
separate directories, which makes the interaction of the header files
more complicated than necessary.

Move all three directories into a new mach-s3c, with a minimal
set of changes to each file.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
[krzk: Rebase, add s3c24xx and s3c64xx suffix to several files, add SPDX
       headers to new files, remove plat-samsung from MAINTAINERS]
Co-developed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
https://lore.kernel.org/r/20200806182059.2431-39-krzk@kernel.org
parent a3814e55
...@@ -2220,8 +2220,8 @@ ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT ...@@ -2220,8 +2220,8 @@ ARM/OPENMOKO NEO FREERUNNER (GTA02) MACHINE SUPPORT
L: openmoko-kernel@lists.openmoko.org (subscribers-only) L: openmoko-kernel@lists.openmoko.org (subscribers-only)
S: Orphan S: Orphan
W: http://wiki.openmoko.org/wiki/Neo_FreeRunner W: http://wiki.openmoko.org/wiki/Neo_FreeRunner
F: arch/arm/mach-s3c24xx/gta02.h F: arch/arm/mach-s3c/gta02.h
F: arch/arm/mach-s3c24xx/mach-gta02.c F: arch/arm/mach-s3c/mach-gta02.c
ARM/Orion SoC/Technologic Systems TS-78xx platform support ARM/Orion SoC/Technologic Systems TS-78xx platform support
M: Alexander Clouter <alex@digriz.org.uk> M: Alexander Clouter <alex@digriz.org.uk>
...@@ -2410,10 +2410,8 @@ F: arch/arm/boot/dts/exynos* ...@@ -2410,10 +2410,8 @@ F: arch/arm/boot/dts/exynos*
F: arch/arm/boot/dts/s3c* F: arch/arm/boot/dts/s3c*
F: arch/arm/boot/dts/s5p* F: arch/arm/boot/dts/s5p*
F: arch/arm/mach-exynos*/ F: arch/arm/mach-exynos*/
F: arch/arm/mach-s3c24*/ F: arch/arm/mach-s3c/
F: arch/arm/mach-s3c64xx/
F: arch/arm/mach-s5p*/ F: arch/arm/mach-s5p*/
F: arch/arm/plat-samsung/
F: arch/arm64/boot/dts/exynos/ F: arch/arm64/boot/dts/exynos/
F: drivers/*/*/*s3c24* F: drivers/*/*/*s3c24*
F: drivers/*/*s3c24* F: drivers/*/*s3c24*
...@@ -15839,9 +15837,9 @@ SIMTEC EB2410ITX (BAST) ...@@ -15839,9 +15837,9 @@ SIMTEC EB2410ITX (BAST)
M: Simtec Linux Team <linux@simtec.co.uk> M: Simtec Linux Team <linux@simtec.co.uk>
S: Supported S: Supported
W: http://www.simtec.co.uk/products/EB2410ITX/ W: http://www.simtec.co.uk/products/EB2410ITX/
F: arch/arm/mach-s3c24xx/bast-ide.c F: arch/arm/mach-s3c/bast-ide.c
F: arch/arm/mach-s3c24xx/bast-irq.c F: arch/arm/mach-s3c/bast-irq.c
F: arch/arm/mach-s3c24xx/mach-bast.c F: arch/arm/mach-s3c/mach-bast.c
SIOX SIOX
M: Thorsten Scherer <t.scherer@eckelmann.de> M: Thorsten Scherer <t.scherer@eckelmann.de>
...@@ -18760,7 +18758,7 @@ F: Documentation/devicetree/bindings/mfd/wm831x.txt ...@@ -18760,7 +18758,7 @@ F: Documentation/devicetree/bindings/mfd/wm831x.txt
F: Documentation/devicetree/bindings/regulator/wlf,arizona.yaml F: Documentation/devicetree/bindings/regulator/wlf,arizona.yaml
F: Documentation/devicetree/bindings/sound/wlf,arizona.yaml F: Documentation/devicetree/bindings/sound/wlf,arizona.yaml
F: Documentation/hwmon/wm83??.rst F: Documentation/hwmon/wm83??.rst
F: arch/arm/mach-s3c64xx/mach-crag6410* F: arch/arm/mach-s3c/mach-crag6410*
F: drivers/clk/clk-wm83*.c F: drivers/clk/clk-wm83*.c
F: drivers/extcon/extcon-arizona.c F: drivers/extcon/extcon-arizona.c
F: drivers/gpio/gpio-*wm*.c F: drivers/gpio/gpio-*wm*.c
......
...@@ -637,7 +637,6 @@ source "arch/arm/mach-dove/Kconfig" ...@@ -637,7 +637,6 @@ source "arch/arm/mach-dove/Kconfig"
source "arch/arm/mach-ep93xx/Kconfig" source "arch/arm/mach-ep93xx/Kconfig"
source "arch/arm/mach-exynos/Kconfig" source "arch/arm/mach-exynos/Kconfig"
source "arch/arm/plat-samsung/Kconfig"
source "arch/arm/mach-footbridge/Kconfig" source "arch/arm/mach-footbridge/Kconfig"
...@@ -710,9 +709,7 @@ source "arch/arm/mach-realview/Kconfig" ...@@ -710,9 +709,7 @@ source "arch/arm/mach-realview/Kconfig"
source "arch/arm/mach-rockchip/Kconfig" source "arch/arm/mach-rockchip/Kconfig"
source "arch/arm/mach-s3c24xx/Kconfig" source "arch/arm/mach-s3c/Kconfig"
source "arch/arm/mach-s3c64xx/Kconfig"
source "arch/arm/mach-s5pv210/Kconfig" source "arch/arm/mach-s5pv210/Kconfig"
......
...@@ -209,8 +209,7 @@ machine-$(CONFIG_ARCH_REALTEK) += realtek ...@@ -209,8 +209,7 @@ machine-$(CONFIG_ARCH_REALTEK) += realtek
machine-$(CONFIG_ARCH_REALVIEW) += realview machine-$(CONFIG_ARCH_REALVIEW) += realview
machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip
machine-$(CONFIG_ARCH_RPC) += rpc machine-$(CONFIG_ARCH_RPC) += rpc
machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx machine-$(CONFIG_PLAT_SAMSUNG) += s3c
machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx
machine-$(CONFIG_ARCH_S5PV210) += s5pv210 machine-$(CONFIG_ARCH_S5PV210) += s5pv210
machine-$(CONFIG_ARCH_SA1100) += sa1100 machine-$(CONFIG_ARCH_SA1100) += sa1100
machine-$(CONFIG_ARCH_RENESAS) += shmobile machine-$(CONFIG_ARCH_RENESAS) += shmobile
...@@ -233,10 +232,8 @@ machine-$(CONFIG_PLAT_SPEAR) += spear ...@@ -233,10 +232,8 @@ machine-$(CONFIG_PLAT_SPEAR) += spear
# Platform directory name. This list is sorted alphanumerically # Platform directory name. This list is sorted alphanumerically
# by CONFIG_* macro name. # by CONFIG_* macro name.
plat-$(CONFIG_ARCH_OMAP) += omap plat-$(CONFIG_ARCH_OMAP) += omap
plat-$(CONFIG_ARCH_S3C64XX) += samsung
plat-$(CONFIG_PLAT_ORION) += orion plat-$(CONFIG_PLAT_ORION) += orion
plat-$(CONFIG_PLAT_PXA) += pxa plat-$(CONFIG_PLAT_PXA) += pxa
plat-$(CONFIG_PLAT_S3C24XX) += samsung
plat-$(CONFIG_PLAT_VERSATILE) += versatile plat-$(CONFIG_PLAT_VERSATILE) += versatile
ifeq ($(CONFIG_ARCH_EBSA110),y) ifeq ($(CONFIG_ARCH_EBSA110),y)
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# #
# Copyright 2009 Simtec Electronics # Copyright 2009 Simtec Electronics
source "arch/arm/mach-s3c/Kconfig.s3c24xx"
source "arch/arm/mach-s3c/Kconfig.s3c64xx"
config PLAT_SAMSUNG config PLAT_SAMSUNG
bool bool
depends on PLAT_S3C24XX || ARCH_S3C64XX depends on PLAT_S3C24XX || ARCH_S3C64XX
......
...@@ -2,9 +2,16 @@ ...@@ -2,9 +2,16 @@
# #
# Copyright 2009 Simtec Electronics # Copyright 2009 Simtec Electronics
ccflags-$(CONFIG_ARCH_S3C64XX) := -I$(srctree)/arch/arm/mach-s3c64xx/include
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include
ifdef CONFIG_ARCH_S3C24XX
include $(src)/Makefile.s3c24xx
endif
ifdef CONFIG_ARCH_S3C64XX
include $(src)/Makefile.s3c64xx
endif
# Objects we always build independent of SoC choice # Objects we always build independent of SoC choice
obj-y += init.o cpu.o obj-y += init.o cpu.o
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# core # core
obj-y += common.o obj-y += s3c24xx.o
obj-y += irq-s3c24xx.o obj-y += irq-s3c24xx.o
obj-$(CONFIG_SPI_S3C24XX_FIQ) += irq-s3c24xx-fiq.o obj-$(CONFIG_SPI_S3C24XX_FIQ) += irq-s3c24xx-fiq.o
obj-$(CONFIG_SPI_S3C24XX_FIQ) += irq-s3c24xx-fiq-exports.o obj-$(CONFIG_SPI_S3C24XX_FIQ) += irq-s3c24xx-fiq-exports.o
...@@ -33,12 +33,12 @@ obj-$(CONFIG_CPU_S3C2443) += s3c2443.o ...@@ -33,12 +33,12 @@ obj-$(CONFIG_CPU_S3C2443) += s3c2443.o
# PM # PM
obj-$(CONFIG_PM) += pm.o obj-$(CONFIG_PM) += pm-s3c24xx.o
obj-$(CONFIG_PM_SLEEP) += irq-pm.o sleep.o obj-$(CONFIG_PM_SLEEP) += irq-pm-s3c24xx.o sleep-s3c24xx.o
# common code # common code
obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += cpufreq-utils.o obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += cpufreq-utils-s3c24xx.o
obj-$(CONFIG_S3C2410_IOTIMING) += iotiming-s3c2410.o obj-$(CONFIG_S3C2410_IOTIMING) += iotiming-s3c2410.o
obj-$(CONFIG_S3C2412_IOTIMING) += iotiming-s3c2412.o obj-$(CONFIG_S3C2412_IOTIMING) += iotiming-s3c2412.o
...@@ -83,7 +83,7 @@ obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o ...@@ -83,7 +83,7 @@ obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o
# common bits of machine support # common bits of machine support
obj-$(CONFIG_S3C24XX_SMDK) += common-smdk.o obj-$(CONFIG_S3C24XX_SMDK) += common-smdk-s3c24xx.o
obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o
obj-$(CONFIG_S3C24XX_SIMTEC_NOR) += simtec-nor.o obj-$(CONFIG_S3C24XX_SIMTEC_NOR) += simtec-nor.o
obj-$(CONFIG_S3C24XX_SIMTEC_PM) += simtec-pm.o obj-$(CONFIG_S3C24XX_SIMTEC_PM) += simtec-pm.o
...@@ -96,7 +96,7 @@ obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o ...@@ -96,7 +96,7 @@ obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o
# device setup # device setup
obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio-s3c24xx.o
obj-$(CONFIG_S3C2443_SETUP_SPI) += setup-spi.o obj-$(CONFIG_S3C2443_SETUP_SPI) += setup-spi-s3c24xx.o
obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c-s3c24xx.o
obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts.o obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts-s3c24xx.o
...@@ -8,17 +8,17 @@ asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree) ...@@ -8,17 +8,17 @@ asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)
# PM # PM
obj-$(CONFIG_PM) += pm.o obj-$(CONFIG_PM) += pm-s3c64xx.o
obj-$(CONFIG_PM_SLEEP) += sleep.o obj-$(CONFIG_PM_SLEEP) += sleep-s3c64xx.o
obj-$(CONFIG_CPU_IDLE) += cpuidle.o obj-$(CONFIG_CPU_IDLE) += cpuidle-s3c64xx.o
ifdef CONFIG_SAMSUNG_ATAGS ifdef CONFIG_SAMSUNG_ATAGS
obj-$(CONFIG_PM_SLEEP) += irq-pm.o obj-$(CONFIG_PM_SLEEP) += irq-pm-s3c64xx.o
# Core # Core
obj-y += common.o obj-y += s3c64xx.o
obj-$(CONFIG_CPU_S3C6400) += s3c6400.o obj-$(CONFIG_CPU_S3C6400) += s3c6400.o
obj-$(CONFIG_CPU_S3C6410) += s3c6410.o obj-$(CONFIG_CPU_S3C6410) += s3c6410.o
...@@ -28,21 +28,21 @@ obj-$(CONFIG_S3C64XX_PL080) += pl080.o ...@@ -28,21 +28,21 @@ obj-$(CONFIG_S3C64XX_PL080) += pl080.o
# Device support # Device support
obj-y += dev-uart.o obj-y += dev-uart-s3c64xx.o
obj-y += dev-audio.o obj-y += dev-audio-s3c64xx.o
# Device setup # Device setup
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide.o obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi.o obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi-s3c64xx.o
obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy.o obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight-s3c64xx.o
# Machine support # Machine support
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
* Samsung CF-ATA Controller core functions * Samsung CF-ATA Controller core functions
*/ */
#ifndef __ASM_PLAT_ATA_CORE_H #ifndef __ASM_PLAT_ATA_CORE_S3C64XX_H
#define __ASM_PLAT_ATA_CORE_H __FILE__ #define __ASM_PLAT_ATA_CORE_S3C64XX_H __FILE__
/* These functions are only for use with the core support code, such as /* These functions are only for use with the core support code, such as
* the cpu specific initialisation code * the cpu specific initialisation code
...@@ -21,4 +21,4 @@ static inline void s3c_cfcon_setname(char *name) ...@@ -21,4 +21,4 @@ static inline void s3c_cfcon_setname(char *name)
#endif #endif
} }
#endif /* __ASM_PLAT_ATA_CORE_H */ #endif /* __ASM_PLAT_ATA_CORE_S3C64XX_H */
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* http://www.samsung.com * http://www.samsung.com
*/ */
#ifndef __ASM_PLAT_BACKLIGHT_H #ifndef __ASM_PLAT_BACKLIGHT_S3C64XX_H
#define __ASM_PLAT_BACKLIGHT_H __FILE__ #define __ASM_PLAT_BACKLIGHT_S3C64XX_H __FILE__
/* samsung_bl_gpio_info - GPIO info for PWM Backlight control /* samsung_bl_gpio_info - GPIO info for PWM Backlight control
* @no: GPIO number for PWM timer out * @no: GPIO number for PWM timer out
...@@ -19,4 +19,4 @@ struct samsung_bl_gpio_info { ...@@ -19,4 +19,4 @@ struct samsung_bl_gpio_info {
extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, extern void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info,
struct platform_pwm_backlight_data *bl_data); struct platform_pwm_backlight_data *bl_data);
#endif /* __ASM_PLAT_BACKLIGHT_H */ #endif /* __ASM_PLAT_BACKLIGHT_S3C64XX_H */
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <plat/devs.h> #include <plat/devs.h>
#include <plat/pm.h> #include <plat/pm.h>
#include "common-smdk.h" #include "common-smdk-s3c24xx.h"
/* LED devices */ /* LED devices */
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <linux/soc/samsung/s3c-cpufreq-core.h> #include <linux/soc/samsung/s3c-cpufreq-core.h>
#include "regs-mem.h" #include "regs-mem-s3c24xx.h"
/** /**
* s3c2410_cpufreq_setrefresh - set SDRAM refresh value * s3c2410_cpufreq_setrefresh - set SDRAM refresh value
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
#include <plat/cpu.h> #include <plat/cpu.h>
#include <mach/map.h> #include <mach/map.h>
#include "regs-sys.h" #include "regs-sys-s3c64xx.h"
#include "regs-syscon-power.h" #include "regs-syscon-power-s3c64xx.h"
static int s3c64xx_enter_idle(struct cpuidle_device *dev, static int s3c64xx_enter_idle(struct cpuidle_device *dev,
struct cpuidle_driver *drv, struct cpuidle_driver *drv,
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <plat/devs.h> #include <plat/devs.h>
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include "backlight.h" #include "backlight-s3c64xx.h"
struct samsung_bl_drvdata { struct samsung_bl_drvdata {
struct platform_pwm_backlight_data plat_data; struct platform_pwm_backlight_data plat_data;
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* *
* Samsung framebuffer driver core functions * Samsung framebuffer driver core functions
*/ */
#ifndef __ASM_PLAT_FB_CORE_H #ifndef __ASM_PLAT_FB_CORE_S3C24XX_H
#define __ASM_PLAT_FB_CORE_H __FILE__ #define __ASM_PLAT_FB_CORE_S3C24XX_H __FILE__
/* /*
* These functions are only for use with the core support code, such as * These functions are only for use with the core support code, such as
...@@ -21,4 +21,4 @@ static inline void s3c_fb_setname(char *name) ...@@ -21,4 +21,4 @@ static inline void s3c_fb_setname(char *name)
#endif #endif
} }
#endif /* __ASM_PLAT_FB_CORE_H */ #endif /* __ASM_PLAT_FB_CORE_S3C24XX_H */
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "dma-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "dma-s3c64xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "gpio-samsung-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "gpio-samsung-s3c64xx.h"
#endif
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
* S3C2410 - hardware * S3C2410 - hardware
*/ */
#ifndef __ASM_ARCH_HARDWARE_H #ifndef __ASM_ARCH_HARDWARE_S3C24XX_H
#define __ASM_ARCH_HARDWARE_H #define __ASM_ARCH_HARDWARE_S3C24XX_H
extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg); extern unsigned int s3c2410_modify_misccr(unsigned int clr, unsigned int chg);
#endif /* __ASM_ARCH_HARDWARE_H */ #endif /* __ASM_ARCH_HARDWARE_S3C24XX_H */
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* (C) 2003 Simtec Electronics * (C) 2003 Simtec Electronics
*/ */
#ifndef __ASM_ARM_ARCH_IO_H #ifndef __ASM_ARM_ARCH_IO_S3C24XX_H
#define __ASM_ARM_ARCH_IO_H #define __ASM_ARM_ARCH_IO_S3C24XX_H
#include <plat/map-base.h> #include <plat/map-base.h>
......
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 Krzysztof Kozlowski <krzk@kernel.org>
*/
#ifdef CONFIG_ARCH_S3C24XX
#include "io-s3c24xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "irqs-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "irqs-s3c64xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "map-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "map-s3c64xx.h"
#endif
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <linux/io.h> #include <linux/io.h>
#include "regs-clock.h" #include "regs-clock.h"
#include "regs-irq.h" #include "regs-irq-s3c24xx.h"
#include <mach/irqs.h> #include <mach/irqs.h>
static inline void s3c_pm_debug_init_uart(void) static inline void s3c_pm_debug_init_uart(void)
......
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "pm-core-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "pm-core-s3c64xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "regs-clock-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "regs-clock-s3c64xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "regs-gpio-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "regs-gpio-s3c64xx.h"
#endif
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_ARCH_S3C24XX
#include "regs-irq-s3c24xx.h"
#endif
#ifdef CONFIG_ARCH_S3C64XX
#include "regs-irq-s3c64xx.h"
#endif
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* Samsung RTC Controller core functions * Samsung RTC Controller core functions
*/ */
#ifndef __RTC_CORE_H #ifndef __RTC_CORE_S3C24XX_H
#define __RTC_CORE_H __FILE__ #define __RTC_CORE_S3C24XX_H __FILE__
/* These functions are only for use with the core support code, such as /* These functions are only for use with the core support code, such as
* the cpu specific initialisation code * the cpu specific initialisation code
...@@ -20,4 +20,4 @@ static inline void s3c_rtc_setname(char *name) ...@@ -20,4 +20,4 @@ static inline void s3c_rtc_setname(char *name)
s3c_device_rtc.name = name; s3c_device_rtc.name = name;
} }
#endif /* __RTC_CORE_H */ #endif /* __RTC_CORE_S3C24XX_H */
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <linux/soc/samsung/s3c-cpufreq-core.h> #include <linux/soc/samsung/s3c-cpufreq-core.h>
#include "regs-mem.h" #include "regs-mem-s3c24xx.h"
#define print_ns(x) ((x) / 10), ((x) % 10) #define print_ns(x) ((x) / 10), ((x) % 10)
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <linux/mtd/map.h> #include <linux/mtd/map.h>
#include <linux/mtd/physmap.h> #include <linux/mtd/physmap.h>
#include "common.h" #include "s3c24xx.h"
static struct resource amlm5900_nor_resource = static struct resource amlm5900_nor_resource =
DEFINE_RES_MEM(0x00000000, SZ_16M); DEFINE_RES_MEM(0x00000000, SZ_16M);
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <linux/platform_data/asoc-s3c24xx_simtec.h> #include <linux/platform_data/asoc-s3c24xx_simtec.h>
#include "anubis.h" #include "anubis.h"
#include "common.h" #include "s3c24xx.h"
#include "simtec.h" #include "simtec.h"
#define COPYRIGHT ", Copyright 2005-2009 Simtec Electronics" #define COPYRIGHT ", Copyright 2005-2009 Simtec Electronics"
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
#include <mach/regs-gpio.h> #include <mach/regs-gpio.h>
#include <mach/gpio-samsung.h> #include <mach/gpio-samsung.h>
#include "common.h" #include "s3c64xx.h"
#include "regs-modem.h" #include "regs-modem-s3c64xx.h"
/* DM9000 */ /* DM9000 */
#define ANW6410_PA_DM9000 (0x18000000) #define ANW6410_PA_DM9000 (0x18000000)
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include <plat/cpu.h> #include <plat/cpu.h>
#include <linux/platform_data/mmc-s3cmci.h> #include <linux/platform_data/mmc-s3cmci.h>
#include "common.h" #include "s3c24xx.h"
static struct map_desc at2440evb_iodesc[] __initdata = { static struct map_desc at2440evb_iodesc[] __initdata = {
/* Nothing here */ /* Nothing here */
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include "bast.h" #include "bast.h"
#include "common.h" #include "s3c24xx.h"
#include "simtec.h" #include "simtec.h"
#define COPYRIGHT ", Copyright 2004-2008 Simtec Electronics" #define COPYRIGHT ", Copyright 2004-2008 Simtec Electronics"
......
...@@ -61,11 +61,11 @@ ...@@ -61,11 +61,11 @@
#include <linux/platform_data/i2c-s3c2410.h> #include <linux/platform_data/i2c-s3c2410.h>
#include <plat/pm.h> #include <plat/pm.h>
#include "common.h" #include "s3c64xx.h"
#include "crag6410.h" #include "crag6410.h"
#include "regs-gpio-memport.h" #include "regs-gpio-memport-s3c64xx.h"
#include "regs-modem.h" #include "regs-modem-s3c64xx.h"
#include "regs-sys.h" #include "regs-sys-s3c64xx.h"
/* serial port setup */ /* serial port setup */
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include <plat/pm.h> #include <plat/pm.h>
#include "common.h" #include "s3c24xx.h"
#include "gta02.h" #include "gta02.h"
static struct pcf50633 *gta02_pcf; static struct pcf50633 *gta02_pcf;
......
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