ARM: S3C24XX: create mach-s3c24xx/ for S3C24XX SoCs - WIP
Subsystems (19)
cover ARM: S3C24XX: create mach-s3c24xx/ for S3C24XX SoCs - WIP
This patch aims to make a one mach- directory for S3C24XX SoCs and now not finished yet such as moving cpufreq and merging plat-s3c24xx/. I think it will be done maybe in a week.
[PATCH 01/12] ARM: S3C24XX: remove unused spi gpio setup functions [PATCH 02/12] ARM: S3C24XX: move spi-s3c24xx platdata out of mach [PATCH 03/12] ARM: S3C24XX: Remove extern declaration of clk_msysclk [PATCH 04/12] ARM: S3C24XX: move common S3C2443 clock definitions to [PATCH 05/12] ARM: S3C2410: move s3c2410_baseclk_add to clock.h [PATCH 06/12] ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX [PATCH 07/12] ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ [PATCH 08/12] ARM: S3C2412: move mach-s3c2412/* into mach-s3c24xx/ [PATCH 09/12] ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/ [PATCH 10/12] ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/ [PATCH 11/12] ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/
PATCH 1/12 ARM: S3C24XX: remove unused spi gpio setup functions
From: Heiko Stuebner <[email protected]>
A grep through the kernel source revealed that neither the config-options nor the defined functions are used anywhere in the kernel.
There was also no activity in this regard through the last kernel releases, so it seems this situation will not change in the future.
Therefore this patch removes this seemingly dead code.
--- arch/arm/mach-s3c2410/include/mach/spi.h | 11 ------- arch/arm/plat-s3c24xx/Kconfig | 20 ------------- arch/arm/plat-s3c24xx/Makefile | 6 ---- arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c | 36 ------------------------ arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c | 38 -------------------------- arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c | 36 ------------------------ 6 files changed, 0 insertions(+), 147 deletions(-) delete mode 100644 arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c delete mode 100644 arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c delete mode 100644 arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
arch/arm/mach-s3c2410/include/mach/spi.h +0 -11
@@ -24,15 +24,4 @@ struct s3c2410_spi_info { void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); }; -/* Standard setup / suspend routines for SPI GPIO pins. */ - -extern void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13 (struct s3c2410_spi_info *spi, -int enable); - -extern void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7 (struct s3c2410_spi_info *spi, -int enable); - -extern void s3c24xx_spi_gpiocfg_bus1_gpd8_9_10 (struct s3c2410_spi_info *spi, -int enable); -#endif /* __ASM_ARCH_SPI_H */
arch/arm/plat-s3c24xx/Kconfig +0 -20
@@ -98,26 +98,6 @@ config S3C2410_DMA_DEBUG Enable debugging output for the DMA code. This option sends info to the kernel log, at priority KERN_DEBUG. -# SPI default pin configuration code - -config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13 - bool - help - SPI GPIO configuration code for BUS0 when connected to - GPE11, GPE12 and GPE13. - -config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7 - bool - help - SPI GPIO configuration code for BUS 1 when connected to - GPG5, GPG6 and GPG7. - -config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10 - bool - help - SPI GPIO configuration code for BUS 1 when connected to - GPD8, GPD9 and GPD10. - # common code for s3c24xx based machines, such as the SMDKs. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
arch/arm/plat-s3c24xx/Makefile +0 -6
@@ -38,12 +38,6 @@ obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o obj-$(CONFIG_ARCH_S3C2410) += setup-i2c.o obj-$(CONFIG_S3C2410_SETUP_TS) += setup-ts.o -# SPI gpio central GPIO functions - -obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o -obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7) += spi-bus1-gpg5_6_7.o -obj-$(CONFIG_S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10) += spi-bus1-gpd8_9_10.o - # machine common support obj-$(CONFIG_MACH_SMDK) += common-smdk.o
arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c deleted +0 -36
@@ -1,36 +0,0 @@ -/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c -* -* Copyright (c) 2008 Simtec Electronics -* http://armlinux.simtec.co.uk/ -* Ben Dooks <[email protected]> -* -* S3C24XX SPI - gpio configuration for bus 0 on gpe11,12,13 -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License. -*/ - -#include <linux/kernel.h> -#include <linux/gpio.h> - -#include <mach/spi.h> -#include <mach/regs-gpio.h> - -void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13 (struct s3c2410_spi_info *spi, -int enable) -{ -if (enable) { -s3c_gpio_cfgpin (S3C2410_GPE (13 ),S3C2410_GPE13_SPICLK0 ); -s3c_gpio_cfgpin (S3C2410_GPE (12 ),S3C2410_GPE12_SPIMOSI0 ); -s3c_gpio_cfgpin (S3C2410_GPE (11 ),S3C2410_GPE11_SPIMISO0 ); -s3c2410_gpio_pullup (S3C2410_GPE (11 ),0 ); -s3c2410_gpio_pullup (S3C2410_GPE (13 ),0 ); - }else { -s3c_gpio_cfgpin (S3C2410_GPE (13 ),S3C2410_GPIO_INPUT ); -s3c_gpio_cfgpin (S3C2410_GPE (11 ),S3C2410_GPIO_INPUT ); -s3c_gpio_setpull (S3C2410_GPE (11 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPE (12 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPE (13 ),S3C_GPIO_PULL_NONE ); - } -}
arch/arm/plat-s3c24xx/spi-bus1-gpd8_9_10.c deleted +0 -38
@@ -1,38 +0,0 @@ -/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpd8_9_10.c -* -* Copyright (c) 2008 Simtec Electronics -* http://armlinux.simtec.co.uk/ -* Ben Dooks <[email protected]> -* -* S3C24XX SPI - gpio configuration for bus 1 on gpd8,9,10 -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License. -*/ - -#include <linux/kernel.h> -#include <linux/gpio.h> - -#include <mach/spi.h> -#include <mach/regs-gpio.h> - -void s3c24xx_spi_gpiocfg_bus1_gpd8_9_10 (struct s3c2410_spi_info *spi, -int enable) -{ - -printk (KERN_INFO "%s(%d)\n" , __func__, enable); -if (enable) { -s3c_gpio_cfgpin (S3C2410_GPD (10 ),S3C2440_GPD10_SPICLK1 ); -s3c_gpio_cfgpin (S3C2410_GPD (9 ),S3C2440_GPD9_SPIMOSI1 ); -s3c_gpio_cfgpin (S3C2410_GPD (8 ),S3C2440_GPD8_SPIMISO1 ); -s3c2410_gpio_pullup (S3C2410_GPD (10 ),0 ); -s3c2410_gpio_pullup (S3C2410_GPD (9 ),0 ); - }else { -s3c_gpio_cfgpin (S3C2410_GPD (8 ),S3C2410_GPIO_INPUT ); -s3c_gpio_cfgpin (S3C2410_GPD (9 ),S3C2410_GPIO_INPUT ); -s3c_gpio_setpull (S3C2410_GPD (10 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPD (9 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPD (8 ),S3C_GPIO_PULL_NONE ); - } -}
arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c deleted +0 -36
@@ -1,36 +0,0 @@ -/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c -* -* Copyright (c) 2008 Simtec Electronics -* http://armlinux.simtec.co.uk/ -* Ben Dooks <[email protected]> -* -* S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,7 -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License. -*/ - -#include <linux/kernel.h> -#include <linux/gpio.h> - -#include <mach/spi.h> -#include <mach/regs-gpio.h> - -void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7 (struct s3c2410_spi_info *spi, -int enable) -{ -if (enable) { -s3c_gpio_cfgpin (S3C2410_GPG (7 ),S3C2410_GPG7_SPICLK1 ); -s3c_gpio_cfgpin (S3C2410_GPG (6 ),S3C2410_GPG6_SPIMOSI1 ); -s3c_gpio_cfgpin (S3C2410_GPG (5 ),S3C2410_GPG5_SPIMISO1 ); -s3c2410_gpio_pullup (S3C2410_GPG (5 ),0 ); -s3c2410_gpio_pullup (S3C2410_GPG (6 ),0 ); - }else { -s3c_gpio_cfgpin (S3C2410_GPG (7 ),S3C2410_GPIO_INPUT ); -s3c_gpio_cfgpin (S3C2410_GPG (5 ),S3C2410_GPIO_INPUT ); -s3c_gpio_setpull (S3C2410_GPG (5 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPG (6 ),S3C_GPIO_PULL_NONE ); -s3c_gpio_setpull (S3C2410_GPG (7 ),S3C_GPIO_PULL_NONE ); - } -}
Signature · 1 line
1.7.4.4
PATCH 2/12 ARM: S3C24XX: move spi-s3c24xx platdata out of mach
In reply to Kukjin KimFrom: Heiko Stuebner <[email protected]>
spi.h now only contains the definition of the platform data structure for the driver in spi-s3c24xx.c . Therefore it does not need to stay in include/mach but can instead live in linux/spi/s3c24xx.h .
--- arch/arm/mach-s3c2440/mach-gta02.c | 2 +- drivers/spi/spi-s3c24xx.c | 2 +- .../mach/spi.h => include/linux/spi/s3c24xx.h | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) rename arch/arm/mach-s3c2410/include/mach/spi.h => include/linux/spi/s3c24xx.h (82%)
arch/arm/mach-s3c2440/mach-gta02.c +1 -1
@@ -38,6 +38,7 @@#include <linux/platform_device.h> #include <linux/serial_core.h> #include <linux/spi/spi.h> +#include <linux/spi/s3c24xx.h> #include <linux/mmc/host.h>
@@ -73,7 +74,6 @@#include <mach/regs-gpioj.h> #include <mach/fb.h> -#include <mach/spi.h> #include <plat/usb-control.h> #include <mach/regs-mem.h> #include <mach/hardware.h>
drivers/spi/spi-s3c24xx.c +1 -1
@@ -24,10 +24,10 @@#include <linux/spi/spi.h> #include <linux/spi/spi_bitbang.h> +#include <linux/spi/s3c24xx.h> #include <linux/module.h> #include <plat/regs-spi.h> -#include <mach/spi.h> #include <plat/fiq.h> #include <asm/fiq.h>
include/linux/spi/s3c24xx.h renamed from arch/arm/mach-s3c2410/include/mach/spi.h +4 -5
@@ -1,5 +1,4 @@ -/* arch/arm/mach-s3c2410/include/mach/spi.h -* +/* * Copyright (c) 2006 Simtec Electronics * Ben Dooks <[email protected]> *
@@ -10,8 +9,8 @@* published by the Free Software Foundation. */ -#ifndef __ASM_ARCH_SPI_H -#define __ASM_ARCH_SPI_H __FILE__ +#ifndef __LINUX_SPI_S3C24XX_H +#define __LINUX_SPI_S3C24XX_H __FILE__ struct s3c2410_spi_info { int pin_cs; /* simple gpio cs */
@@ -24,4 +23,4 @@ struct s3c2410_spi_info { void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); }; -#endif /* __ASM_ARCH_SPI_H */ +#endif /* __LINUX_SPI_S3C24XX_H */
Signature · 1 line
1.7.4.4
PATCH 3/12 ARM: S3C24XX: Remove extern declaration of clk_msysclk
In reply to Kukjin KimFrom: Heiko Stuebner <[email protected]>
clk_msysclk is not needed outside of s3c2443-clock.c.
Removing the extern declaration will prevent conflicts with the s3c2412 clk_msysclk in the following cleanups.
--- arch/arm/plat-samsung/include/plat/s3c2443.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/plat-samsung/include/plat/s3c2443.h +0 -1
@@ -51,4 +51,3 @@ extern int s3c2443_clkcon_enable_s(struct clk *clk, int enable);extern struct clksrc_clk clk_epllref;extern struct clksrc_clk clk_esysclk; -extern struct clksrc_clk clk_msysclk;
Signature · 1 line
1.7.4.4
PATCH 4/12 ARM: S3C24XX: move common S3C2443 clock definitions to clock.h
In reply to Kukjin KimFrom: Heiko Stuebner <[email protected]>
plat-samsung/clock.h currently keeps all the SoC specific clock declarations except the ones for S3C2443/S3C2416 which were kept in s3c2443.h.
This patch moves them out of s3c2443.h to get rid of the header completely later on.
--- arch/arm/mach-s3c2416/clock.c | 1 - arch/arm/plat-s3c24xx/s3c2443-clock.c | 1 - arch/arm/plat-samsung/include/plat/clock.h | 17 +++++++++++++++++ arch/arm/plat-samsung/include/plat/s3c2443.h | 19 ------------------- 4 files changed, 17 insertions(+), 21 deletions(-)
arch/arm/mach-s3c2416/clock.c +0 -1
@@ -15,7 +15,6 @@#include <linux/clk.h> #include <plat/s3c2416.h> -#include <plat/s3c2443.h> #include <plat/clock.h> #include <plat/clock-clksrc.h> #include <plat/cpu.h>
arch/arm/plat-s3c24xx/s3c2443-clock.c +0 -1
@@ -12,7 +12,6 @@#include <mach/regs-s3c2443-clock.h> -#include <plat/s3c2443.h> #include <plat/clock.h> #include <plat/clock-clksrc.h> #include <plat/cpu.h>
arch/arm/plat-samsung/include/plat/clock.h +17 -0
@@ -79,6 +79,10 @@ extern struct clk clk_epll;extern struct clk clk_xtal;extern struct clk clk_ext; +/* S3C2443/S3C2416 specific clocks */ +extern struct clksrc_clk clk_epllref; +extern struct clksrc_clk clk_esysclk; +/* S3C64XX specific clocks */ extern struct clk clk_h2;extern struct clk clk_27m;
@@ -116,6 +120,19 @@ extern void s3c2412_setup_clocks(void);extern void s3c244x_setup_clocks (void );extern void s3c2443_setup_clocks (void ); +/* S3C2443/S3C2416 specific clock functions */ + +typedef unsigned int (*pll_fn )(unsigned int reg,unsigned int base); + +extern void s3c2443_common_setup_clocks (pll_fn get_mpll); +extern void s3c2443_common_init_clocks (int xtal,pll_fn get_mpll, +unsigned int *divs,int nr_divs, +int divmask); + +extern int s3c2443_clkcon_enable_h (struct clk *clk,int enable); +extern int s3c2443_clkcon_enable_p (struct clk *clk,int enable); +extern int s3c2443_clkcon_enable_s (struct clk *clk,int enable); +/* S3C64XX specific functions and clocks */ extern int s3c64xx_sclk_ctrl (struct clk *clk,int enable);
arch/arm/plat-samsung/include/plat/s3c2443.h +0 -19
@@ -32,22 +32,3 @@ extern void s3c2443_restart(char mode, const char *cmd);#define s3c2443_init NULL#define s3c2443_restart NULL#endif - -/* common code used by s3c2443 and others. -* note, not to be used outside of arch/arm/mach-s3c* */ - -struct clk ;/* some files don't need clk.h otherwise */ - -typedef unsigned int (*pll_fn )(unsigned int reg,unsigned int base); - -extern void s3c2443_common_setup_clocks (pll_fn get_mpll); -extern void s3c2443_common_init_clocks (int xtal,pll_fn get_mpll, -unsigned int *divs,int nr_divs, -int divmask); - -extern int s3c2443_clkcon_enable_h (struct clk *clk,int enable); -extern int s3c2443_clkcon_enable_p (struct clk *clk,int enable); -extern int s3c2443_clkcon_enable_s (struct clk *clk,int enable); - -extern struct clksrc_clk clk_epllref; -extern struct clksrc_clk clk_esysclk;
Signature · 1 line
1.7.4.4
PATCH 5/12 ARM: S3C2410: move s3c2410_baseclk_add to clock.h
In reply to Kukjin KimFrom: Heiko Stuebner <[email protected]>
plat-samsung/clock.h currently keeps all the SoC specific clock declarations. As we want to get rid of s3c2410.h altogether, move the s3c2410_baseclk_add there too.
--- arch/arm/plat-samsung/include/plat/clock.h | 4 ++++ arch/arm/plat-samsung/include/plat/s3c2410.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-)
arch/arm/plat-samsung/include/plat/clock.h +4 -0
@@ -120,6 +120,10 @@ extern void s3c2412_setup_clocks(void);extern void s3c244x_setup_clocks (void );extern void s3c2443_setup_clocks (void ); +/* S3C2410 specific clock functions */ + +extern int s3c2410_baseclk_add (void ); +/* S3C2443/S3C2416 specific clock functions */ typedef unsigned int (*pll_fn )(unsigned int reg,unsigned int base);
arch/arm/plat-samsung/include/plat/s3c2410.h +0 -2
@@ -29,5 +29,3 @@ extern void s3c2410_init_clocks(int xtal);#define s3c2410_init NULL#define s3c2410a_init NULL#endif - -extern int s3c2410_baseclk_add (void );
Signature · 1 line
1.7.4.4
PATCH 6/12 ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX
In reply to Kukjin KimThis patch changes the ARCH name to "ARCH_S3C24XX" for Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, and S3C2450 SoCs so that we can merge the mach-xxx directories and plat-s3c24xx dir. to just one mach-s3c24xx for them.
I think this should be sent to upstream via samsung tree because this touches many samsung stuff.
--- arch/arm/Kconfig | 23 +++++++++++------------ arch/arm/Makefile | 2 +- arch/arm/boot/compressed/head.S | 2 +- arch/arm/configs/mini2440_defconfig | 2 +- arch/arm/configs/s3c2410_defconfig | 2 +- arch/arm/configs/tct_hammer_defconfig | 2 +- arch/arm/mach-s3c2410/Kconfig | 2 +- arch/arm/mach-s3c2412/Kconfig | 4 ++-- arch/arm/mach-s3c2416/Kconfig | 2 +- arch/arm/mach-s3c2443/Kconfig | 2 +- arch/arm/plat-s3c24xx/Kconfig | 6 +++--- arch/arm/plat-s3c24xx/Makefile | 2 +- arch/arm/plat-samsung/Kconfig | 4 ++-- drivers/input/touchscreen/Kconfig | 2 +- drivers/leds/Kconfig | 2 +- drivers/mmc/host/Kconfig | 2 +- drivers/mtd/nand/Kconfig | 2 +- drivers/rtc/Kconfig | 2 +- drivers/spi/Kconfig | 2 +- drivers/usb/Kconfig | 2 +- drivers/usb/gadget/Kconfig | 4 ++-- drivers/usb/host/ohci-hcd.c | 2 +- drivers/video/Kconfig | 2 +- drivers/watchdog/Kconfig | 2 +- sound/soc/samsung/Kconfig | 12 ++++++------ 25 files changed, 45 insertions(+), 46 deletions(-)
arch/arm/Kconfig +11 -12
@@ -763,22 +763,21 @@ config ARCH_SA1100 help Support for StrongARM 11x0 based boards. -config ARCH_S3C2410 - bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450" +config ARCH_S3C24XX + bool "Samsung S3C24XX SoCs" select GENERIC_GPIO select ARCH_HAS_CPUFREQ select HAVE_CLK select CLKDEV_LOOKUP select ARCH_USES_GETTIMEOFFSET select HAVE_S3C2410_I2C if I2C + select HAVE_S3C_RTC if RTC_CLASS + select HAVE_S3C2410_WATCHDOG if WATCHDOG help - Samsung S3C2410X CPU 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). - - Note, the S3C2416 and the S3C2450 are so close that they even share - the same SoC ID code. This means that there is no separate machine - directory (no arch/arm/mach-s3c2450) as the S3C2416 was first. + 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_S3C64XX bool "Samsung S3C64XX"
@@ -1068,7 +1067,7 @@ source "arch/arm/plat-s5p/Kconfig" source "arch/arm/plat-spear/Kconfig" -if ARCH_S3C2410 +if ARCH_S3C24XX source "arch/arm/mach-s3c2410/Kconfig" source "arch/arm/mach-s3c2412/Kconfig" source "arch/arm/mach-s3c2416/Kconfig"
@@ -1590,7 +1589,7 @@ source kernel/Kconfig.preempt config HZ int - default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \ + default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ ARCH_S5PV210 || ARCH_EXYNOS4 default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER default AT91_TIMER_HZ if ARCH_AT91
@@ -2116,7 +2115,7 @@ config CPU_FREQ_S3C config CPU_FREQ_S3C24XX bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" - depends on ARCH_S3C2410 && CPU_FREQ && EXPERIMENTAL + depends on ARCH_S3C24XX && CPU_FREQ && EXPERIMENTAL select CPU_FREQ_S3C help This enables the CPUfreq driver for the Samsung S3C24XX family
arch/arm/Makefile +1 -1
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 machine-$(CONFIG_ARCH_PXA) := pxa machine-$(CONFIG_ARCH_REALVIEW) := realview machine-$(CONFIG_ARCH_RPC) := rpc -machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2412 s3c2416 s3c2440 s3c2443 +machine-$(CONFIG_ARCH_S3C24XX) := s3c2410 s3c2412 s3c2416 s3c2440 s3c2443 machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 machine-$(CONFIG_ARCH_S5PC100) := s5pc100
arch/arm/boot/compressed/head.S +1 -1
@@ -58,7 +58,7 @@ add \rb, \rb, #0x00010000 @ Ser1 #endif .endm -#elif defined(CONFIG_ARCH_S3C2410) +#elif defined(CONFIG_ARCH_S3C24XX) .macro loadsp, rb, tmp mov \rb, #0x50000000 add \rb, \rb, #0x4000 * CONFIG_S3C_LOWLEVEL_UART_PORT
arch/arm/configs/mini2440_defconfig +1 -1
@@ -13,7 +13,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set CONFIG_BLK_DEV_INTEGRITY=y -CONFIG_ARCH_S3C2410=y +CONFIG_ARCH_S3C24XX=y CONFIG_S3C_ADC=y CONFIG_S3C24XX_PWM=y CONFIG_MACH_MINI2440=y
arch/arm/configs/s3c2410_defconfig +1 -1
@@ -9,7 +9,7 @@ CONFIG_SLAB=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set -CONFIG_ARCH_S3C2410=y +CONFIG_ARCH_S3C24XX=y CONFIG_S3C_BOOT_ERROR_RESET=y CONFIG_S3C_ADC=y CONFIG_S3C24XX_PWM=y
arch/arm/configs/tct_hammer_defconfig +1 -1
@@ -14,7 +14,7 @@ CONFIG_SLOB=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set -CONFIG_ARCH_S3C2410=y +CONFIG_ARCH_S3C24XX=y CONFIG_MACH_TCT_HAMMER=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0
arch/arm/mach-s3c2410/Kconfig +1 -1
@@ -4,7 +4,7 @@ config CPU_S3C2410 bool - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select CPU_ARM920T select S3C2410_CLOCK select CPU_LLSERIAL_S3C2410
arch/arm/mach-s3c2412/Kconfig +2 -2
@@ -4,7 +4,7 @@ config CPU_S3C2412 bool - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select CPU_ARM926T select CPU_LLSERIAL_S3C2440 select S3C2412_PM if PM
@@ -14,7 +14,7 @@ config CPU_S3C2412 config CPU_S3C2412_ONLY bool - depends on ARCH_S3C2410 && !CPU_S3C2410 && \ + depends on ARCH_S3C24XX && !CPU_S3C2410 && \ !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \ !CPU_S3C2443 && CPU_S3C2412 default y if CPU_S3C2412
arch/arm/mach-s3c2416/Kconfig +1 -1
@@ -9,7 +9,7 @@ config CPU_S3C2416 bool - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select CPU_ARM926T select S3C2416_DMA if S3C2410_DMA select CPU_LLSERIAL_S3C2440
arch/arm/mach-s3c2443/Kconfig +1 -1
@@ -4,7 +4,7 @@ config CPU_S3C2443 bool - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select CPU_ARM920T select S3C2443_DMA if S3C2410_DMA select CPU_LLSERIAL_S3C2440
arch/arm/plat-s3c24xx/Kconfig +3 -3
@@ -4,7 +4,7 @@ config PLAT_S3C24XX bool - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX default y select NO_IOPORT select ARCH_REQUIRE_GPIOLIB
@@ -84,7 +84,7 @@ config PM_SIMTEC config S3C2410_DMA bool "S3C2410 DMA support" - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select S3C_DMA help S3C2410 DMA support. This is needed for drivers like sound which
@@ -93,7 +93,7 @@ config S3C2410_DMA config S3C2410_DMA_DEBUG bool "S3C2410 DMA support debug" - depends on ARCH_S3C2410 && S3C2410_DMA + depends on ARCH_S3C24XX && S3C2410_DMA help Enable debugging output for the DMA code. This option sends info to the kernel log, at priority KERN_DEBUG.
arch/arm/plat-s3c24xx/Makefile +1 -1
@@ -35,7 +35,7 @@ obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o # device specific setup and/or initialisation -obj-$(CONFIG_ARCH_S3C2410) += setup-i2c.o +obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o obj-$(CONFIG_S3C2410_SETUP_TS) += setup-ts.o # machine common support
arch/arm/plat-samsung/Kconfig +2 -2
@@ -205,7 +205,7 @@ config S3C_DEV_USB_HSOTG config S3C_DEV_WDT bool - default y if ARCH_S3C2410 + default y if ARCH_S3C24XX help Complie in platform device definition for Watchdog Timer
@@ -264,7 +264,7 @@ config SAMSUNG_DEV_KEYPAD config SAMSUNG_DEV_PWM bool - default y if ARCH_S3C2410 + default y if ARCH_S3C24XX help Compile in platform device definition for PWM Timer
drivers/input/touchscreen/Kconfig +1 -1
@@ -215,7 +215,7 @@ config TOUCHSCREEN_FUJITSU config TOUCHSCREEN_S3C2410 tristate "Samsung S3C2410/generic touchscreen input driver" - depends on ARCH_S3C2410 || SAMSUNG_DEV_TS + depends on ARCH_S3C24XX || SAMSUNG_DEV_TS select S3C_ADC help Say Y here if you have the s3c2410 touchscreen.
drivers/leds/Kconfig +1 -1
@@ -69,7 +69,7 @@ config LEDS_MIKROTIK_RB532 config LEDS_S3C24XX tristate "LED Support for Samsung S3C24XX GPIO LEDs" depends on LEDS_CLASS - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX help This option enables support for LEDs connected to GPIO lines on Samsung S3C24XX series CPUs, such as the S3C2410 and S3C2440.
drivers/mmc/host/Kconfig +1 -1
@@ -395,7 +395,7 @@ config MMC_SPI config MMC_S3C tristate "Samsung S3C SD/MMC Card Interface support" - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX help This selects a driver for the MCI interface found in Samsung's S3C2410, S3C2412, S3C2440, S3C2442 CPUs.
drivers/mtd/nand/Kconfig +1 -1
@@ -187,7 +187,7 @@ config MTD_NAND_PPCHAMELEONEVB config MTD_NAND_S3C2410 tristate "NAND Flash support for Samsung S3C SoCs" - depends on ARCH_S3C2410 || ARCH_S3C64XX + depends on ARCH_S3C24XX || ARCH_S3C64XX help This enables the NAND flash controller on the S3C24xx and S3C64xx SoCs
drivers/rtc/Kconfig +1 -1
@@ -748,7 +748,7 @@ config HAVE_S3C_RTC config RTC_DRV_S3C tristate "Samsung S3C series SoC RTC" - depends on ARCH_S3C2410 || ARCH_S3C64XX || HAVE_S3C_RTC + depends on ARCH_S3C64XX || HAVE_S3C_RTC help RTC (Realtime Clock) driver for the clock inbuilt into the Samsung S3C24XX series of SoCs. This can provide periodic
drivers/spi/Kconfig +1 -1
@@ -281,7 +281,7 @@ config SPI_PXA2XX_PCI config SPI_S3C24XX tristate "Samsung S3C24XX series SPI" - depends on ARCH_S3C2410 && EXPERIMENTAL + depends on ARCH_S3C24XX && EXPERIMENTAL select SPI_BITBANG help SPI driver for Samsung S3C24XX series ARM SoCs
drivers/usb/Kconfig +1 -1
@@ -37,7 +37,7 @@ config USB_ARCH_HAS_OHCI # ARM: default y if SA1111 default y if ARCH_OMAP - default y if ARCH_S3C2410 + default y if ARCH_S3C24XX default y if PXA27x default y if PXA3xx default y if ARCH_EP93XX
drivers/usb/gadget/Kconfig +2 -2
@@ -284,7 +284,7 @@ config USB_IMX config USB_S3C2410 tristate "S3C2410 USB Device Controller" - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX help Samsung's S3C2410 is an ARM-4 processor with an integrated full speed USB 1.1 device controller. It has 4 configurable
@@ -299,7 +299,7 @@ config USB_S3C2410_DEBUG config USB_S3C_HSUDC tristate "S3C2416, S3C2443 and S3C2450 USB Device Controller" - depends on ARCH_S3C2410 + depends on ARCH_S3C24XX select USB_GADGET_DUALSPEED help Samsung's S3C2416, S3C2443 and S3C2450 is an ARM9 based SoC
drivers/usb/host/ohci-hcd.c +1 -1
@@ -1000,7 +1000,7 @@ MODULE_LICENSE ("GPL");#define SA1111_DRIVER ohci_hcd_sa1111_driver#endif -#if defined(CONFIG_ARCH_S3C2410 ) || defined(CONFIG_ARCH_S3C64XX ) +#if defined(CONFIG_ARCH_S3C24XX ) || defined(CONFIG_ARCH_S3C64XX )#include "ohci-s3c2410.c" #define PLATFORM_DRIVER ohci_hcd_s3c2410_driver#endif
drivers/video/Kconfig +1 -1
@@ -2061,7 +2061,7 @@ config FB_S3C_DEBUG_REGWRITE config FB_S3C2410 tristate "S3C2410 LCD framebuffer support" - depends on FB && ARCH_S3C2410 + depends on FB && ARCH_S3C24XX select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT
drivers/watchdog/Kconfig +1 -1
@@ -170,7 +170,7 @@ config HAVE_S3C2410_WATCHDOG config S3C2410_WATCHDOG tristate "S3C2410 Watchdog" - depends on ARCH_S3C2410 || HAVE_S3C2410_WATCHDOG + depends on HAVE_S3C2410_WATCHDOG select WATCHDOG_CORE help Watchdog timer block in the Samsung SoCs. This will reboot
sound/soc/samsung/Kconfig +6 -6
@@ -1,8 +1,8 @@ config SND_SOC_SAMSUNG tristate "ASoC support for Samsung" - depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_EXYNOS4 + depends on ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_EXYNOS4 select S3C64XX_DMA if ARCH_S3C64XX - select S3C2410_DMA if ARCH_S3C2410 + select S3C2410_DMA if ARCH_S3C24XX help Say Y or M if you want to add support for codecs attached to the Samsung SoCs' Audio interfaces. You will also need to
@@ -84,7 +84,7 @@ config SND_SOC_SAMSUNG_SMDK2443_WM9710 config SND_SOC_SAMSUNG_LN2440SBC_ALC650 tristate "SoC AC97 Audio support for LN2440SBC - ALC650" - depends on SND_SOC_SAMSUNG && ARCH_S3C2410 + depends on SND_SOC_SAMSUNG && ARCH_S3C24XX select S3C2410_DMA select AC97_BUS select SND_SOC_AC97_CODEC
@@ -95,7 +95,7 @@ config SND_SOC_SAMSUNG_LN2440SBC_ALC650 config SND_SOC_SAMSUNG_S3C24XX_UDA134X tristate "SoC I2S Audio support UDA134X wired to a S3C24XX" - depends on SND_SOC_SAMSUNG && ARCH_S3C2410 + depends on SND_SOC_SAMSUNG && ARCH_S3C24XX select SND_S3C24XX_I2S select SND_SOC_L3 select SND_SOC_UDA134X
@@ -107,14 +107,14 @@ config SND_SOC_SAMSUNG_SIMTEC config SND_SOC_SAMSUNG_SIMTEC_TLV320AIC23 tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards" - depends on SND_SOC_SAMSUNG && ARCH_S3C2410 + depends on SND_SOC_SAMSUNG && ARCH_S3C24XX select SND_S3C24XX_I2S select SND_SOC_TLV320AIC23 select SND_SOC_SAMSUNG_SIMTEC config SND_SOC_SAMSUNG_SIMTEC_HERMES tristate "SoC I2S Audio support for Simtec Hermes board" - depends on SND_SOC_SAMSUNG && ARCH_S3C2410 + depends on SND_SOC_SAMSUNG && ARCH_S3C24XX select SND_S3C24XX_I2S select SND_SOC_TLV320AIC3X select SND_SOC_SAMSUNG_SIMTEC
Signature · 1 line
1.7.4.4
PATCH 6/12 ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX
Hi,
Quoted 37 lines · Kukjin Kim
This patch changes the ARCH name to "
ARCH_S3C24XX" for Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, and S3C2450 SoCs so that we can merge the mach-xxx directories and plat-s3c24xx dir. to just one mach-s3c24xx for them.I think this should be sent to upstream via samsung tree because this touches many samsung stuff.
Cc Dmitry Torokhov <[email protected]>Cc Richard Purdie <[email protected]>Cc Chris Ball <[email protected]>Cc David Woodhouse <[email protected]>Cc Alessandro Zummo <[email protected]>Cc Grant Likely <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc Felipe Balbi <[email protected]>Cc Florian Tobias Schandinat <[email protected]>Cc Wim Van Sebroeck <[email protected]>Cc Sangbeom Kim <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Russell King <[email protected]>Signed-off-by Kukjin Kim <[email protected]>--- arch/arm/Kconfig | 23 +++++++++++------------ arch/arm/Makefile | 2 +- arch/arm/boot/compressed/head.S | 2 +- arch/arm/configs/mini2440_defconfig | 2 +- arch/arm/configs/s3c2410_defconfig | 2 +- arch/arm/configs/tct_hammer_defconfig | 2 +- arch/arm/mach-s3c2410/Kconfig | 2 +- arch/arm/mach-s3c2412/Kconfig | 4 ++-- arch/arm/mach-s3c2416/Kconfig | 2 +- arch/arm/mach-s3c2443/Kconfig | 2 +- arch/arm/plat-s3c24xx/Kconfig | 6 +++--- arch/arm/plat-s3c24xx/Makefile | 2 +- arch/arm/plat-samsung/Kconfig | 4 ++--
Quoted 8 lines
drivers/input/touchscreen/Kconfig | 2 +- drivers/leds/Kconfig | 2 +- drivers/mmc/host/Kconfig | 2 +- drivers/mtd/nand/Kconfig | 2 +- drivers/rtc/Kconfig | 2 +- drivers/spi/Kconfig | 2 +- drivers/usb/Kconfig | 2 +- drivers/usb/gadget/Kconfig | 4 ++--
for the gadget part:
Signature · 8 lines
balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120216/49e15eeb/attachment-0001.sig>
PATCH 6/12 ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX
In reply to Kukjin KimHi,
Quoted 4 lines · Kukjin Kim
This patch changes the ARCH name to "
ARCH_S3C24XX" for Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, and S3C2450 SoCs so that we can merge the mach-xxx directories and plat-s3c24xx dir. to just one mach-s3c24xx for them.
Great.
Quoted 2 lines
I think this should be sent to upstream via samsung tree because this touches many samsung stuff.
Okay, feel free to do so.
Quoted 9 lines
Cc Dmitry Torokhov <[email protected]>Cc Richard Purdie <[email protected]>Cc Chris Ball <[email protected]>Cc David Woodhouse <[email protected]>Cc Alessandro Zummo <[email protected]>Cc Grant Likely <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc Felipe Balbi <[email protected]>Cc Florian Tobias Schandinat <[email protected]>
for the framebuffer (video) part:
Quoted 7 lines
Cc Wim Van Sebroeck <[email protected]>Cc Sangbeom Kim <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Russell King <[email protected]>Signed-off-by Kukjin Kim <[email protected]>---
Best regards,
Florian Tobias Schandinat
Re: [PATCH 06/12] ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX
In reply to Kukjin KimHi Kim,
Quoted 8 lines
This patch changes the ARCH name to "
ARCH_S3C24XX" for Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, and S3C2450 SoCs so that we can merge the mach-xxx directories and plat-s3c24xx dir. to just one mach-s3c24xx for them.I think this should be sent to upstream via samsung tree because this touches many samsung stuff.
Quoted 15 lines
Cc Dmitry Torokhov <[email protected]>Cc Richard Purdie <[email protected]>Cc Chris Ball <[email protected]>Cc David Woodhouse <[email protected]>Cc Alessandro Zummo <[email protected]>Cc Grant Likely <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc Felipe Balbi <[email protected]>Cc Florian Tobias Schandinat <[email protected]>Cc Wim Van Sebroeck <[email protected]>Cc Sangbeom Kim <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Russell King <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
For the watchdog-part:
Kind regards,
Wim.
PATCH 7/12 ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/
In reply to Kukjin KimThis patch moves S3C2410 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
And this patch is including following.
- re-ordered alphabetically by option text at Kconfig and Makefile
- removed unused option, MACH_N35
- fixed duplcated option name, S3C2410_DMA to S3C24XX_DMA which is in plat-s3c24xx/
---
arch/arm/Kconfig | 2 +-
arch/arm/Makefile | 2 +-
arch/arm/mach-s3c2410/Kconfig | 154 ------------------
arch/arm/mach-s3c2410/Makefile | 26 ---
arch/arm/mach-s3c24xx/Kconfig | 165 ++++++++++++++++++++
arch/arm/mach-s3c24xx/Makefile | 45 ++++++
.../{mach-s3c2410 => mach-s3c24xx}/Makefile.boot | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/bast-ide.c | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/bast-irq.c | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/common.h | 0
.../dma.c => mach-s3c24xx/dma-s3c2410.c} | 0
.../h1940-bluetooth.c | 0
.../include/mach/anubis-cpld.h | 0
.../include/mach/anubis-irq.h | 0
.../include/mach/anubis-map.h | 0
.../include/mach/bast-cpld.h | 0
.../include/mach/bast-irq.h | 0
.../include/mach/bast-map.h | 0
.../include/mach/bast-pmu.h | 0
.../include/mach/debug-macro.S | 0
.../include/mach/dma.h | 0
.../include/mach/entry-macro.S | 0
.../include/mach/fb.h | 0
.../include/mach/gpio-fns.h | 0
.../include/mach/gpio-nrs.h | 0
.../include/mach/gpio-track.h | 0
.../include/mach/gpio.h | 0
.../include/mach/h1940-latch.h | 0
.../include/mach/h1940.h | 0
.../include/mach/hardware.h | 0
.../include/mach/idle.h | 0
.../include/mach/io.h | 0
.../include/mach/irqs.h | 0
.../include/mach/leds-gpio.h | 0
.../include/mach/map.h | 0
.../include/mach/osiris-cpld.h | 0
.../include/mach/osiris-map.h | 0
.../include/mach/otom-map.h | 0
.../include/mach/pm-core.h | 0
.../include/mach/regs-clock.h | 0
.../include/mach/regs-dsc.h | 0
.../include/mach/regs-gpio.h | 0
.../include/mach/regs-gpioj.h | 0
.../include/mach/regs-irq.h | 0
.../include/mach/regs-lcd.h | 0
.../include/mach/regs-mem.h | 0
.../include/mach/regs-power.h | 0
.../include/mach/regs-s3c2412-mem.h | 0
.../include/mach/regs-s3c2412.h | 0
.../include/mach/regs-s3c2416-mem.h | 0
.../include/mach/regs-s3c2416.h | 0
.../include/mach/regs-s3c2443-clock.h | 0
.../include/mach/regs-sdi.h | 0
.../include/mach/system.h | 0
.../include/mach/tick.h | 0
.../include/mach/timex.h | 0
.../include/mach/uncompress.h | 0
.../include/mach/vr1000-cpld.h | 0
.../include/mach/vr1000-irq.h | 0
.../include/mach/vr1000-map.h | 0
.../{mach-s3c2410 => mach-s3c24xx}/mach-amlm5900.c | 0
.../arm/{mach-s3c2410 => mach-s3c24xx}/mach-bast.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/mach-h1940.c | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-n30.c | 0
.../arm/{mach-s3c2410 => mach-s3c24xx}/mach-otom.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/mach-qt2410.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/mach-smdk2410.c | 0
.../mach-tct_hammer.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/mach-vr1000.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/nor-simtec.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/nor-simtec.h | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/pm-h1940.S | 0
.../pm.c => mach-s3c24xx/pm-s3c2410.c} | 0
arch/arm/{mach-s3c2410 => mach-s3c24xx}/s3c2410.c | 0
.../sleep.S => mach-s3c24xx/sleep-s3c2410.S} | 0
.../{mach-s3c2410 => mach-s3c24xx}/usb-simtec.c | 0
.../{mach-s3c2410 => mach-s3c24xx}/usb-simtec.h | 0
arch/arm/plat-s3c24xx/Kconfig | 2 +-
arch/arm/plat-s3c24xx/Makefile | 2 +-
79 files changed, 214 insertions(+), 184 deletions(-)
create mode 100644 arch/arm/mach-s3c24xx/Kconfig
create mode 100644 arch/arm/mach-s3c24xx/Makefile
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/Makefile.boot (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/bast-ide.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/bast-irq.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/common.h (100%)
rename arch/arm/{mach-s3c2410/dma.c => mach-s3c24xx/dma-s3c2410.c} (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/h1940-bluetooth.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/anubis-cpld.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/anubis-irq.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/anubis-map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/bast-cpld.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/bast-irq.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/bast-map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/bast-pmu.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/debug-macro.S (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/dma.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/entry-macro.S (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/fb.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/gpio-fns.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/gpio-nrs.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/gpio-track.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/gpio.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/h1940-latch.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/h1940.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/hardware.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/idle.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/io.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/irqs.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/leds-gpio.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/osiris-cpld.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/osiris-map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/otom-map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/pm-core.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-clock.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-dsc.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-gpio.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-gpioj.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-irq.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-lcd.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-mem.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-power.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-s3c2412-mem.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-s3c2412.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-s3c2416-mem.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-s3c2416.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-s3c2443-clock.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/regs-sdi.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/system.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/tick.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/timex.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/uncompress.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/vr1000-cpld.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/vr1000-irq.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/include/mach/vr1000-map.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-amlm5900.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-bast.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-h1940.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-n30.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-otom.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-qt2410.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-smdk2410.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-tct_hammer.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/mach-vr1000.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/nor-simtec.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/nor-simtec.h (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/pm-h1940.S (100%)
rename arch/arm/{mach-s3c2410/pm.c => mach-s3c24xx/pm-s3c2410.c} (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/s3c2410.c (100%)
rename arch/arm/{mach-s3c2410/sleep.S => mach-s3c24xx/sleep-s3c2410.S} (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/usb-simtec.c (100%)
rename arch/arm/{mach-s3c2410 => mach-s3c24xx}/usb-simtec.h (100%)arch/arm/Kconfig +1 -1
@@ -1067,8 +1067,8 @@ source "arch/arm/plat-s5p/Kconfig" source "arch/arm/plat-spear/Kconfig" +source "arch/arm/mach-s3c24xx/Kconfig" if ARCH_S3C24XX -source "arch/arm/mach-s3c2410/Kconfig" source "arch/arm/mach-s3c2412/Kconfig" source "arch/arm/mach-s3c2416/Kconfig" source "arch/arm/mach-s3c2440/Kconfig"
arch/arm/Makefile +1 -1
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 machine-$(CONFIG_ARCH_PXA) := pxa machine-$(CONFIG_ARCH_REALVIEW) := realview machine-$(CONFIG_ARCH_RPC) := rpc -machine-$(CONFIG_ARCH_S3C24XX) := s3c2410 s3c2412 s3c2416 s3c2440 s3c2443 +machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2416 s3c2440 s3c2443 machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 machine-$(CONFIG_ARCH_S5PC100) := s5pc100
arch/arm/mach-s3c2410/Kconfig +0 -154
163 lines not on this page · raw message
arch/arm/mach-s3c2410/Makefile +0 -26
@@ -9,32 +9,6 @@ obj-m := obj-n := obj- := -obj-$(CONFIG_CPU_S3C2410) += s3c2410.o -obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o -obj-$(CONFIG_CPU_S3C2410_DMA) += dma.o -obj-$(CONFIG_S3C2410_PM) += pm.o sleep.o obj-$(CONFIG_S3C2410_CPUFREQ) += cpu-freq.o obj-$(CONFIG_S3C2410_PLLTABLE) += pll.o -# Machine support - -obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o -obj-$(CONFIG_ARCH_H1940) += mach-h1940.o -obj-$(CONFIG_H1940BT) += h1940-bluetooth.o -obj-$(CONFIG_PM_H1940) += pm-h1940.o -obj-$(CONFIG_MACH_N30) += mach-n30.o -obj-$(CONFIG_ARCH_BAST) += mach-bast.o usb-simtec.o -obj-$(CONFIG_MACH_OTOM) += mach-otom.o -obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o -obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o -obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o -obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o usb-simtec.o -obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o - -# Common bits of machine support - -obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o - -# machine additions - -obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o
arch/arm/mach-s3c24xx/Kconfig new file +165 -0
165 lines not on this page · raw message
arch/arm/mach-s3c24xx/Makefile new file +45 -0
45 lines not on this page · raw message
arch/arm/mach-s3c24xx/Makefile.boot renamed from arch/arm/mach-s3c2410/Makefile.boot +0 -0
arch/arm/mach-s3c24xx/bast-ide.c renamed from arch/arm/mach-s3c2410/bast-ide.c +0 -0
arch/arm/mach-s3c24xx/bast-irq.c renamed from arch/arm/mach-s3c2410/bast-irq.c +0 -0
arch/arm/mach-s3c24xx/common.h renamed from arch/arm/mach-s3c2410/common.h +0 -0
arch/arm/mach-s3c24xx/dma-s3c2410.c renamed from arch/arm/mach-s3c2410/dma.c +0 -0
arch/arm/mach-s3c24xx/h1940-bluetooth.c renamed from arch/arm/mach-s3c2410/h1940-bluetooth.c +0 -0
arch/arm/mach-s3c24xx/include/mach/anubis-cpld.h renamed from arch/arm/mach-s3c2410/include/mach/anubis-cpld.h +0 -0
arch/arm/mach-s3c24xx/include/mach/anubis-irq.h renamed from arch/arm/mach-s3c2410/include/mach/anubis-irq.h +0 -0
arch/arm/mach-s3c24xx/include/mach/anubis-map.h renamed from arch/arm/mach-s3c2410/include/mach/anubis-map.h +0 -0
arch/arm/mach-s3c24xx/include/mach/bast-cpld.h renamed from arch/arm/mach-s3c2410/include/mach/bast-cpld.h +0 -0
arch/arm/mach-s3c24xx/include/mach/bast-irq.h renamed from arch/arm/mach-s3c2410/include/mach/bast-irq.h +0 -0
arch/arm/mach-s3c24xx/include/mach/bast-map.h renamed from arch/arm/mach-s3c2410/include/mach/bast-map.h +0 -0
arch/arm/mach-s3c24xx/include/mach/bast-pmu.h renamed from arch/arm/mach-s3c2410/include/mach/bast-pmu.h +0 -0
arch/arm/mach-s3c24xx/include/mach/debug-macro.S renamed from arch/arm/mach-s3c2410/include/mach/debug-macro.S +0 -0
arch/arm/mach-s3c24xx/include/mach/dma.h renamed from arch/arm/mach-s3c2410/include/mach/dma.h +0 -0
arch/arm/mach-s3c24xx/include/mach/entry-macro.S renamed from arch/arm/mach-s3c2410/include/mach/entry-macro.S +0 -0
arch/arm/mach-s3c24xx/include/mach/fb.h renamed from arch/arm/mach-s3c2410/include/mach/fb.h +0 -0
arch/arm/mach-s3c24xx/include/mach/gpio-fns.h renamed from arch/arm/mach-s3c2410/include/mach/gpio-fns.h +0 -0
arch/arm/mach-s3c24xx/include/mach/gpio-nrs.h renamed from arch/arm/mach-s3c2410/include/mach/gpio-nrs.h +0 -0
arch/arm/mach-s3c24xx/include/mach/gpio-track.h renamed from arch/arm/mach-s3c2410/include/mach/gpio-track.h +0 -0
arch/arm/mach-s3c24xx/include/mach/gpio.h renamed from arch/arm/mach-s3c2410/include/mach/gpio.h +0 -0
arch/arm/mach-s3c24xx/include/mach/h1940-latch.h renamed from arch/arm/mach-s3c2410/include/mach/h1940-latch.h +0 -0
arch/arm/mach-s3c24xx/include/mach/h1940.h renamed from arch/arm/mach-s3c2410/include/mach/h1940.h +0 -0
arch/arm/mach-s3c24xx/include/mach/hardware.h renamed from arch/arm/mach-s3c2410/include/mach/hardware.h +0 -0
arch/arm/mach-s3c24xx/include/mach/idle.h renamed from arch/arm/mach-s3c2410/include/mach/idle.h +0 -0
arch/arm/mach-s3c24xx/include/mach/io.h renamed from arch/arm/mach-s3c2410/include/mach/io.h +0 -0
arch/arm/mach-s3c24xx/include/mach/irqs.h renamed from arch/arm/mach-s3c2410/include/mach/irqs.h +0 -0
arch/arm/mach-s3c24xx/include/mach/leds-gpio.h renamed from arch/arm/mach-s3c2410/include/mach/leds-gpio.h +0 -0
arch/arm/mach-s3c24xx/include/mach/map.h renamed from arch/arm/mach-s3c2410/include/mach/map.h +0 -0
arch/arm/mach-s3c24xx/include/mach/osiris-cpld.h renamed from arch/arm/mach-s3c2410/include/mach/osiris-cpld.h +0 -0
arch/arm/mach-s3c24xx/include/mach/osiris-map.h renamed from arch/arm/mach-s3c2410/include/mach/osiris-map.h +0 -0
arch/arm/mach-s3c24xx/include/mach/otom-map.h renamed from arch/arm/mach-s3c2410/include/mach/otom-map.h +0 -0
arch/arm/mach-s3c24xx/include/mach/pm-core.h renamed from arch/arm/mach-s3c2410/include/mach/pm-core.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-clock.h renamed from arch/arm/mach-s3c2410/include/mach/regs-clock.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-dsc.h renamed from arch/arm/mach-s3c2410/include/mach/regs-dsc.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-gpio.h renamed from arch/arm/mach-s3c2410/include/mach/regs-gpio.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-gpioj.h renamed from arch/arm/mach-s3c2410/include/mach/regs-gpioj.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-irq.h renamed from arch/arm/mach-s3c2410/include/mach/regs-irq.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-lcd.h renamed from arch/arm/mach-s3c2410/include/mach/regs-lcd.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-mem.h renamed from arch/arm/mach-s3c2410/include/mach/regs-mem.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-power.h renamed from arch/arm/mach-s3c2410/include/mach/regs-power.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-s3c2412-mem.h renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2412-mem.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-s3c2412.h renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2412.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-s3c2416-mem.h renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2416-mem.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-s3c2416.h renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2416.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-s3c2443-clock.h renamed from arch/arm/mach-s3c2410/include/mach/regs-s3c2443-clock.h +0 -0
arch/arm/mach-s3c24xx/include/mach/regs-sdi.h renamed from arch/arm/mach-s3c2410/include/mach/regs-sdi.h +0 -0
arch/arm/mach-s3c24xx/include/mach/system.h renamed from arch/arm/mach-s3c2410/include/mach/system.h +0 -0
arch/arm/mach-s3c24xx/include/mach/tick.h renamed from arch/arm/mach-s3c2410/include/mach/tick.h +0 -0
arch/arm/mach-s3c24xx/include/mach/timex.h renamed from arch/arm/mach-s3c2410/include/mach/timex.h +0 -0
arch/arm/mach-s3c24xx/include/mach/uncompress.h renamed from arch/arm/mach-s3c2410/include/mach/uncompress.h +0 -0
arch/arm/mach-s3c24xx/include/mach/vr1000-cpld.h renamed from arch/arm/mach-s3c2410/include/mach/vr1000-cpld.h +0 -0
arch/arm/mach-s3c24xx/include/mach/vr1000-irq.h renamed from arch/arm/mach-s3c2410/include/mach/vr1000-irq.h +0 -0
arch/arm/mach-s3c24xx/include/mach/vr1000-map.h renamed from arch/arm/mach-s3c2410/include/mach/vr1000-map.h +0 -0
arch/arm/mach-s3c24xx/mach-amlm5900.c renamed from arch/arm/mach-s3c2410/mach-amlm5900.c +0 -0
arch/arm/mach-s3c24xx/mach-bast.c renamed from arch/arm/mach-s3c2410/mach-bast.c +0 -0
arch/arm/mach-s3c24xx/mach-h1940.c renamed from arch/arm/mach-s3c2410/mach-h1940.c +0 -0
arch/arm/mach-s3c24xx/mach-n30.c renamed from arch/arm/mach-s3c2410/mach-n30.c +0 -0
arch/arm/mach-s3c24xx/mach-otom.c renamed from arch/arm/mach-s3c2410/mach-otom.c +0 -0
arch/arm/mach-s3c24xx/mach-qt2410.c renamed from arch/arm/mach-s3c2410/mach-qt2410.c +0 -0
arch/arm/mach-s3c24xx/mach-smdk2410.c renamed from arch/arm/mach-s3c2410/mach-smdk2410.c +0 -0
arch/arm/mach-s3c24xx/mach-tct_hammer.c renamed from arch/arm/mach-s3c2410/mach-tct_hammer.c +0 -0
arch/arm/mach-s3c24xx/mach-vr1000.c renamed from arch/arm/mach-s3c2410/mach-vr1000.c +0 -0
arch/arm/mach-s3c24xx/nor-simtec.c renamed from arch/arm/mach-s3c2410/nor-simtec.c +0 -0
arch/arm/mach-s3c24xx/nor-simtec.h renamed from arch/arm/mach-s3c2410/nor-simtec.h +0 -0
arch/arm/mach-s3c24xx/pm-h1940.S renamed from arch/arm/mach-s3c2410/pm-h1940.S +0 -0
arch/arm/mach-s3c24xx/pm-s3c2410.c renamed from arch/arm/mach-s3c2410/pm.c +0 -0
arch/arm/mach-s3c24xx/s3c2410.c renamed from arch/arm/mach-s3c2410/s3c2410.c +0 -0
arch/arm/mach-s3c24xx/sleep-s3c2410.S renamed from arch/arm/mach-s3c2410/sleep.S +0 -0
arch/arm/mach-s3c24xx/usb-simtec.c renamed from arch/arm/mach-s3c2410/usb-simtec.c +0 -0
arch/arm/mach-s3c24xx/usb-simtec.h renamed from arch/arm/mach-s3c2410/usb-simtec.h +0 -0
arch/arm/plat-s3c24xx/Kconfig +1 -1
@@ -82,7 +82,7 @@ config PM_SIMTEC Common power management code for systems that are compatible with the Simtec style of power management -config S3C2410_DMA +config S3C24XX_DMA bool "S3C2410 DMA support" depends on ARCH_S3C24XX select S3C_DMA
arch/arm/plat-s3c24xx/Makefile +1 -1
@@ -29,7 +29,7 @@ obj-$(CONFIG_PM) += irq-pm.o obj-$(CONFIG_PM) += sleep.o obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o obj-$(CONFIG_S3C2443_CLOCK) += s3c2443-clock.o -obj-$(CONFIG_S3C2410_DMA) += dma.o +obj-$(CONFIG_S3C24XX_DMA) += dma.o obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o
Signature · 1 line
1.7.4.4
PATCH 8/12 ARM: S3C2412: move mach-s3c2412/* into mach/s3c24xx/
In reply to Kukjin KimThis patch moves S3C2412 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
And this patch is including following.
- re-ordered alphabetically by option text at Kconfig and Makefile
---
arch/arm/mach-s3c2412/Kconfig | 85 -------------------
arch/arm/mach-s3c2412/Makefile | 12 ---
arch/arm/mach-s3c24xx/Kconfig | 89 +++++++++++++++++++-
arch/arm/mach-s3c24xx/Makefile | 9 ++
.../clock.c => mach-s3c24xx/clock-s3c2412.c} | 0
.../dma.c => mach-s3c24xx/dma-s3c2412.c} | 0
.../irq.c => mach-s3c24xx/irq-s3c2412.c} | 0
.../arm/{mach-s3c2412 => mach-s3c24xx}/mach-jive.c | 0
.../{mach-s3c2412 => mach-s3c24xx}/mach-smdk2413.c | 0
.../{mach-s3c2412 => mach-s3c24xx}/mach-vstms.c | 0
.../pm.c => mach-s3c24xx/pm-s3c2412.c} | 0
arch/arm/{mach-s3c2412 => mach-s3c24xx}/s3c2412.c | 0
.../sleep.S => mach-s3c24xx/sleep-s3c2412.S} | 0
13 files changed, 97 insertions(+), 98 deletions(-)
rename arch/arm/{mach-s3c2412/clock.c => mach-s3c24xx/clock-s3c2412.c} (100%)
rename arch/arm/{mach-s3c2412/dma.c => mach-s3c24xx/dma-s3c2412.c} (100%)
rename arch/arm/{mach-s3c2412/irq.c => mach-s3c24xx/irq-s3c2412.c} (100%)
rename arch/arm/{mach-s3c2412 => mach-s3c24xx}/mach-jive.c (100%)
rename arch/arm/{mach-s3c2412 => mach-s3c24xx}/mach-smdk2413.c (100%)
rename arch/arm/{mach-s3c2412 => mach-s3c24xx}/mach-vstms.c (100%)
rename arch/arm/{mach-s3c2412/pm.c => mach-s3c24xx/pm-s3c2412.c} (100%)
rename arch/arm/{mach-s3c2412 => mach-s3c24xx}/s3c2412.c (100%)
rename arch/arm/{mach-s3c2412/sleep.S => mach-s3c24xx/sleep-s3c2412.S} (100%)arch/arm/mach-s3c2412/Kconfig +0 -85
@@ -2,41 +2,6 @@ # # Licensed under GPLv2 -config CPU_S3C2412 - bool - depends on ARCH_S3C24XX - select CPU_ARM926T - select CPU_LLSERIAL_S3C2440 - select S3C2412_PM if PM - select S3C2412_DMA if S3C2410_DMA - help - Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line - -config CPU_S3C2412_ONLY - bool - depends on ARCH_S3C24XX && !CPU_S3C2410 && \ - !CPU_S3C2416 && !CPU_S3C2440 && !CPU_S3C2442 && \ - !CPU_S3C2443 && CPU_S3C2412 - default y if CPU_S3C2412 - -config S3C2412_DMA - bool - depends on CPU_S3C2412 - help - Internal config node for S3C2412 DMA support - -config S3C2412_PM - bool - select S3C2412_PM_SLEEP - help - Internal config node to apply S3C2412 power management - -config S3C2412_PM_SLEEP - bool - help - Internal config node to apply sleep for S3C2412 power management. - Can be selected by another SoCs with similar sleep procedure. - # Note, the S3C2412 IOtiming support is in plat-s3c24xx config S3C2412_CPUFREQ
@@ -46,53 +11,3 @@ config S3C2412_CPUFREQ default y help CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. - -menu "S3C2412 Machines" - -config MACH_JIVE - bool "Logitech Jive" - select CPU_S3C2412 - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using the Logitech Jive. - -config MACH_JIVE_SHOW_BOOTLOADER - bool "Allow access to bootloader partitions in MTD (EXPERIMENTAL)" - depends on MACH_JIVE && EXPERIMENTAL - -config MACH_SMDK2413 - bool "SMDK2413" - select CPU_S3C2412 - select MACH_S3C2413 - select MACH_SMDK - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using an SMDK2413 - -config MACH_S3C2413 - bool - help - Internal node for S3C2413 version of SMDK2413, so that - machine_is_s3c2413() will work when MACH_SMDK2413 is - selected - -config MACH_SMDK2412 - bool "SMDK2412" - select MACH_SMDK2413 - help - Say Y here if you are using an SMDK2412 - - Note, this shares support with SMDK2413, so will automatically - select MACH_SMDK2413. - -config MACH_VSTMS - bool "VMSTMS" - select CPU_S3C2412 - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using an VSTMS board - -endmenu
arch/arm/mach-s3c2412/Makefile +0 -12
@@ -9,16 +9,4 @@ obj-m := obj-n := obj- := -obj-$(CONFIG_CPU_S3C2412) += s3c2412.o -obj-$(CONFIG_CPU_S3C2412) += irq.o -obj-$(CONFIG_CPU_S3C2412) += clock.o -obj-$(CONFIG_S3C2412_DMA) += dma.o -obj-$(CONFIG_S3C2412_PM) += pm.o -obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep.o obj-$(CONFIG_S3C2412_CPUFREQ) += cpu-freq.o - -# Machine support - -obj-$(CONFIG_MACH_JIVE) += mach-jive.o -obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o -obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o
arch/arm/mach-s3c24xx/Kconfig +88 -1
105 lines not on this page · raw message
arch/arm/mach-s3c24xx/Makefile +9 -0
@@ -18,6 +18,11 @@ obj-$(CONFIG_CPU_S3C2410) += s3c2410.o obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o +obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o +obj-$(CONFIG_S3C2412_DMA) += dma-s3c2412.o +obj-$(CONFIG_S3C2412_PM) += pm-s3c2412.o +obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o + # # machine support # following is ordered alphabetically by option text.
@@ -36,6 +41,10 @@ obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o usb-simtec.o +obj-$(CONFIG_MACH_JIVE) += mach-jive.o +obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o +obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o + # common bits of machine support obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o
arch/arm/mach-s3c24xx/clock-s3c2412.c renamed from arch/arm/mach-s3c2412/clock.c +0 -0
arch/arm/mach-s3c24xx/dma-s3c2412.c renamed from arch/arm/mach-s3c2412/dma.c +0 -0
arch/arm/mach-s3c24xx/irq-s3c2412.c renamed from arch/arm/mach-s3c2412/irq.c +0 -0
arch/arm/mach-s3c24xx/mach-jive.c renamed from arch/arm/mach-s3c2412/mach-jive.c +0 -0
arch/arm/mach-s3c24xx/mach-smdk2413.c renamed from arch/arm/mach-s3c2412/mach-smdk2413.c +0 -0
arch/arm/mach-s3c24xx/mach-vstms.c renamed from arch/arm/mach-s3c2412/mach-vstms.c +0 -0
arch/arm/mach-s3c24xx/pm-s3c2412.c renamed from arch/arm/mach-s3c2412/pm.c +0 -0
arch/arm/mach-s3c24xx/s3c2412.c renamed from arch/arm/mach-s3c2412/s3c2412.c +0 -0
arch/arm/mach-s3c24xx/sleep-s3c2412.S renamed from arch/arm/mach-s3c2412/sleep.S +0 -0
Signature · 1 line
1.7.4.4
PATCH 1/1 Move S3C2412_PM_SLEEP to common platform code
S3C2412_PM_SLEEP is also used by the S3C2416, so move it out of the if CPU_S3C2412 block to the common platform code to prevent warnings when S3C2416_PM is selected but not CPU_S3C2412.
---
this should probably be folded into the S3C2412 move patch
arch/arm/mach-s3c24xx/Kconfig | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/mach-s3c24xx/Kconfig +6 -6
@@ -83,6 +83,12 @@ config CPU_S3C2443 comment "S3C24XX base platform code" +config S3C2412_PM_SLEEP + bool + help + Internal config node to apply sleep for S3C2412 power management. + Can be selected by another SoCs with similar sleep procedure. + config S3C24XX_DMA bool "S3C2410 DMA support" depends on ARCH_S3C24XX
@@ -253,12 +259,6 @@ config S3C2412_PM help Internal config node to apply S3C2412 power management -config S3C2412_PM_SLEEP - bool - help - Internal config node to apply sleep for S3C2412 power management. - Can be selected by another SoCs with similar sleep procedure. - comment "S3C2412 Boards" #
Signature · 1 line
1.7.2.3
PATCH 1/1 Move S3C2412_PM_SLEEP to common platform code
Quoted 43 lines · Heiko St?bner
S3C2412_PM_SLEEPis also used by the S3C2416, so move it out of the ifCPU_S3C2412block to the common platform code to prevent warnings whenS3C2416_PMis selected but notCPU_S3C2412.Signed-off-by Heiko Stuebner <[email protected]>---
this should probably be folded into the S3C2412 move patcharch/arm/mach-s3c24xx/Kconfig | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)arch/arm/mach-s3c24xx/Kconfig +6
-7@@ -83,6 +83,12 @@ config CPU_S3C2443 comment "S3C24XX base platform code" +config S3C2412_PM_SLEEP + bool + help + Internal config node to apply sleep for S3C2412 power management. + Can be selected by another SoCs with similar sleep procedure. + config S3C24XX_DMA bool "S3C2410 DMA support" depends on ARCH_S3C24XX@@ -253,12 +259,6 @@ config S3C2412_PM help Internal config node to apply S3C2412 power management -config S3C2412_PM_SLEEP - bool - help - Internal config node to apply sleep for S3C2412 power management. - Can be selected by another SoCs with similar sleep procedure. - comment "S3C2412 Boards" # --
Quoted 1 line
1.7.2.3
Looks good to me and will apply.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 9/12 ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
In reply to Kukjin KimThis patch moves S3C2416 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
---
arch/arm/mach-s3c2416/Kconfig | 46 -------------------
arch/arm/mach-s3c2416/Makefile | 10 ----
arch/arm/mach-s3c24xx/Kconfig | 47 ++++++++++++++++++++
arch/arm/mach-s3c24xx/Makefile | 9 ++++
.../clock.c => mach-s3c24xx/clock-s3c2416.c} | 0
.../irq.c => mach-s3c24xx/irq-s3c2416.c} | 0
.../{mach-s3c2416 => mach-s3c24xx}/mach-smdk2416.c | 0
.../pm.c => mach-s3c24xx/pm-s3c2416.c} | 0
arch/arm/{mach-s3c2416 => mach-s3c24xx}/s3c2416.c | 0
.../setup-sdhci-gpio.c | 0
10 files changed, 56 insertions(+), 56 deletions(-)
rename arch/arm/{mach-s3c2416/clock.c => mach-s3c24xx/clock-s3c2416.c} (100%)
rename arch/arm/{mach-s3c2416/irq.c => mach-s3c24xx/irq-s3c2416.c} (100%)
rename arch/arm/{mach-s3c2416 => mach-s3c24xx}/mach-smdk2416.c (100%)
rename arch/arm/{mach-s3c2416/pm.c => mach-s3c24xx/pm-s3c2416.c} (100%)
rename arch/arm/{mach-s3c2416 => mach-s3c24xx}/s3c2416.c (100%)
rename arch/arm/{mach-s3c2416 => mach-s3c24xx}/setup-sdhci-gpio.c (100%)arch/arm/mach-s3c2416/Kconfig +0 -46
@@ -7,54 +7,8 @@ # note, this also supports the S3C2450 which is so similar it has the same # ID code as the S3C2416. -config CPU_S3C2416 - bool - depends on ARCH_S3C24XX - select CPU_ARM926T - select S3C2416_DMA if S3C2410_DMA - select CPU_LLSERIAL_S3C2440 - select SAMSUNG_CLKSRC - select S3C2443_CLOCK - help - Support for the S3C2416 SoC from the S3C24XX line - config S3C2416_DMA bool depends on CPU_S3C2416 help Internal config node for S3C2416 DMA support - -config S3C2416_PM - bool - select S3C2412_PM_SLEEP - help - Internal config node to apply S3C2416 power management - -config S3C2416_SETUP_SDHCI - bool - select S3C2416_SETUP_SDHCI_GPIO - help - Internal helper functions for S3C2416 based SDHCI systems - -config S3C2416_SETUP_SDHCI_GPIO - bool - help - Common setup code for SDHCI gpio. - -menu "S3C2416 Machines" - -config MACH_SMDK2416 - bool "SMDK2416" - select CPU_S3C2416 - select MACH_SMDK - select S3C_DEV_FB - select S3C_DEV_HSMMC - select S3C_DEV_HSMMC1 - select S3C_DEV_NAND - select S3C_DEV_USB_HOST - select S3C2416_SETUP_SDHCI - select S3C2416_PM if PM - help - Say Y here if you are using an SMDK2416 - -endmenu
arch/arm/mach-s3c2416/Makefile +0 -10
@@ -9,14 +9,4 @@ obj-m := obj-n := obj- := -obj-$(CONFIG_CPU_S3C2416) += s3c2416.o clock.o -obj-$(CONFIG_CPU_S3C2416) += irq.o -obj-$(CONFIG_S3C2416_PM) += pm.o #obj-$(CONFIG_S3C2416_DMA) += dma.o - -# Device setup -obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o - -# Machine support - -obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o
arch/arm/mach-s3c24xx/Kconfig +47 -0
59 lines not on this page · raw message
arch/arm/mach-s3c24xx/Makefile +9 -0
@@ -23,6 +23,9 @@ obj-$(CONFIG_S3C2412_DMA) += dma-s3c2412.o obj-$(CONFIG_S3C2412_PM) += pm-s3c2412.o obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o +obj-$(CONFIG_CPU_S3C2416) += s3c2416.o irq-s3c2416.o clock-s3c2416.o +obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o + # # machine support # following is ordered alphabetically by option text.
@@ -45,6 +48,8 @@ obj-$(CONFIG_MACH_JIVE) += mach-jive.o obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o +obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o + # common bits of machine support obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o
@@ -52,3 +57,7 @@ obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o # machine additions obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o + +# device setup + +obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
arch/arm/mach-s3c24xx/clock-s3c2416.c renamed from arch/arm/mach-s3c2416/clock.c +0 -0
arch/arm/mach-s3c24xx/irq-s3c2416.c renamed from arch/arm/mach-s3c2416/irq.c +0 -0
arch/arm/mach-s3c24xx/mach-smdk2416.c renamed from arch/arm/mach-s3c2416/mach-smdk2416.c +0 -0
arch/arm/mach-s3c24xx/pm-s3c2416.c renamed from arch/arm/mach-s3c2416/pm.c +0 -0
arch/arm/mach-s3c24xx/s3c2416.c renamed from arch/arm/mach-s3c2416/s3c2416.c +0 -0
arch/arm/mach-s3c24xx/setup-sdhci-gpio.c renamed from arch/arm/mach-s3c2416/setup-sdhci-gpio.c +0 -0
Signature · 1 line
1.7.4.4
PATCH 9/12 ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
Hi Kgene,
Am Mittwoch, 15. Februar 2012, 23:55:43 schrieb Kukjin Kim:
Quoted 6 lines
This patch moves S3C2416 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
Cc Ben Dooks <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
the patch is missing something like the following to prevent an error because "built-in.o" in mach-s3c2416 cannot be found:
arch/arm/Makefile +1 -1
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 machine-$(CONFIG_ARCH_PXA) := pxa machine-$(CONFIG_ARCH_REALVIEW) := realview machine-$(CONFIG_ARCH_RPC) := rpc -machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2416 s3c2440 +machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2440 machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 machine-$(CONFIG_ARCH_S5PC100) := s5pc100
Heiko
PATCH 9/12 ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
Quoted 3 lines · Heiko St?bner
Hi Kgene,
Hi,
Quoted 11 lines
Am Mittwoch, 15. Februar 2012, 23:55:43 schrieb Kukjin Kim:
Quoted 6 lines
This patch moves S3C2416 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
Cc Ben Dooks <[email protected]>Signed-off-by Kukjin Kim <[email protected]>the patch is missing something like the following to prevent an error because
"built-in.o" in mach-s3c2416 cannot be found:
Yes, you're right and it is due to dummy file in mach-s3c2416/.
I think, it can be solved after done of moving remained files to regarding directory such as drivers/cpufreq/.
As a note, you can see it before this weekend :)
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 9/12 ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
In reply to Kukjin KimAm Mittwoch 15 Februar 2012, 23:55:43 schrieb Kukjin Kim:
Quoted 6 lines
This patch moves S3C2416 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
Cc Ben Dooks <[email protected]>Signed-off-by Kukjin Kim <[email protected]>
On S3C2416 hardware
Quoted 219 lines
--- arch/arm/mach-s3c2416/Kconfig | 46 ------------------- arch/arm/mach-s3c2416/Makefile | 10 ---- arch/arm/mach-s3c24xx/Kconfig | 47 ++++++++++++++++++++ arch/arm/mach-s3c24xx/Makefile | 9 ++++ .../clock.c => mach-s3c24xx/clock-s3c2416.c} | 0 .../irq.c => mach-s3c24xx/irq-s3c2416.c} | 0 .../{mach-s3c2416 => mach-s3c24xx}/mach-smdk2416.c | 0 .../pm.c => mach-s3c24xx/pm-s3c2416.c} | 0 arch/arm/{mach-s3c2416 => mach-s3c24xx}/s3c2416.c | 0 .../setup-sdhci-gpio.c | 0 10 files changed, 56 insertions(+), 56 deletions(-) rename arch/arm/{mach-s3c2416/clock.c => mach-s3c24xx/clock-s3c2416.c}(100%) rename
arch/arm/{mach-s3c2416/irq.c=>mach-s3c24xx/irq-s3c2416.c} (100%) renamearch/arm/{mach-s3c2416=>mach-s3c24xx}/mach-smdk2416.c(100%) renamearch/arm/{mach-s3c2416/pm.c=>mach-s3c24xx/pm-s3c2416.c} (100%) renamearch/arm/{mach-s3c2416=>mach-s3c24xx}/s3c2416.c(100%)rename arch/arm/{mach-s3c2416 => mach-s3c24xx}/setup-sdhci-gpio.c (100%)arch/arm/mach-s3c2416/Kconfig +0
-46@@ -7,54 +7,8 @@ # note, this also supports the S3C2450 which is so similar it has the same # ID code as the S3C2416. -config CPU_S3C2416 - bool - depends on ARCH_S3C24XX - select CPU_ARM926T - select S3C2416_DMA if S3C2410_DMA - select CPU_LLSERIAL_S3C2440 - select SAMSUNG_CLKSRC - select S3C2443_CLOCK - help - Support for the S3C2416 SoC from the S3C24XX line - config S3C2416_DMA bool depends on CPU_S3C2416 help Internal config node for S3C2416 DMA support - -config S3C2416_PM - bool - select S3C2412_PM_SLEEP - help - Internal config node to apply S3C2416 power management - -config S3C2416_SETUP_SDHCI - bool - select S3C2416_SETUP_SDHCI_GPIO - help - Internal helper functions for S3C2416 based SDHCI systems - -config S3C2416_SETUP_SDHCI_GPIO - bool - help - Common setup code for SDHCI gpio. - -menu "S3C2416 Machines" - -config MACH_SMDK2416 - bool "SMDK2416" - select CPU_S3C2416 - select MACH_SMDK - select S3C_DEV_FB - select S3C_DEV_HSMMC - select S3C_DEV_HSMMC1 - select S3C_DEV_NAND - select S3C_DEV_USB_HOST - select S3C2416_SETUP_SDHCI - select S3C2416_PM if PM - help - Say Y here if you are using an SMDK2416 - -endmenu(quoted diff) +0
-0b/arch/arm/mach-s3c2416/Makefile index ca0cd22..3299f19 100644
arch/arm/mach-s3c2416/Makefile +0
-10@@ -9,14 +9,4 @@ obj-m := obj-n := obj- := -obj-$(CONFIG_CPU_S3C2416) += s3c2416.o clock.o -obj-$(CONFIG_CPU_S3C2416) += irq.o -obj-$(CONFIG_S3C2416_PM) += pm.o #obj-$(CONFIG_S3C2416_DMA) += dma.o - -# Device setup -obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o - -# Machine support - -obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.oarch/arm/mach-s3c24xx/Kconfig +47
-0@@ -35,6 +35,18 @@ config CPU_S3C2412 help Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line +config CPU_S3C2416 + bool "SAMSUNG S3C2416/S3C2450" + depends on ARCH_S3C24XX + select CPU_ARM926T + select CPU_LLSERIAL_S3C2440 + select SAMSUNG_CLKSRC + select S3C2443_CLOCK + select S3C2416_DMA if S3C24XX_DMA + select S3C2416_PM if PM + help + Support for the S3C2416 SoC from the S3C24XX line + if CPU_S3C2410 config S3C2410_DMA@@ -247,6 +259,41 @@ config MACH_VSTMS endif # CPU_S3C2412 +if CPU_S3C2416 + +config S3C2416_PM + bool + select S3C2412_PM_SLEEP + help + Internal config node to apply S3C2416 power management + +config S3C2416_SETUP_SDHCI + bool + select S3C2416_SETUP_SDHCI_GPIO + help + Internal helper functions for S3C2416 based SDHCI systems + +config S3C2416_SETUP_SDHCI_GPIO + bool + help + Common setup code for SDHCI gpio. + +comment "S3C2416 Boards" + +config MACH_SMDK2416 + bool "SMDK2416" + select MACH_SMDK + select S3C_DEV_FB + select S3C_DEV_HSMMC + select S3C_DEV_HSMMC1 + select S3C_DEV_NAND + select S3C_DEV_USB_HOST + select S3C2416_SETUP_SDHCI + help + Say Y here if you are using an SMDK2416 + +endif # CPU_S3C2416 + endmenu # SAMSUNG S3C24XX SoCs Support endif # ARCH_S3C24XX(quoted diff) +0
-0b/arch/arm/mach-s3c24xx/Makefile index f5af4af..789aa5c 100644
arch/arm/mach-s3c24xx/Makefile +9
-0@@ -23,6 +23,9 @@ obj-$(CONFIG_S3C2412_DMA) += dma-s3c2412.o obj-$(CONFIG_S3C2412_PM) += pm-s3c2412.o obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o +obj-$(CONFIG_CPU_S3C2416) += s3c2416.o irq-s3c2416.o clock-s3c2416.o +obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o + # # machine support # following is ordered alphabetically by option text.@@ -45,6 +48,8 @@ obj-$(CONFIG_MACH_JIVE) += mach-jive.o obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o +obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o + # common bits of machine support obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o@@ -52,3 +57,7 @@ obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o # machine additions obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o + +# device setup + +obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/clock-s3c2416.csimilarity index 100% rename fromarch/arm/mach-s3c2416/clock.c
rename toarch/arm/mach-s3c24xx/clock-s3c2416.c(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/irq-s3c2416.csimilarity index 100% rename fromarch/arm/mach-s3c2416/irq.c
rename toarch/arm/mach-s3c24xx/irq-s3c2416.c(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/mach-smdk2416.csimilarity index 100% rename fromarch/arm/mach-s3c2416/mach-smdk2416.crename toarch/arm/mach-s3c24xx/mach-smdk2416.c(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/pm-s3c2416.csimilarity index 100% rename fromarch/arm/mach-s3c2416/pm.c
rename toarch/arm/mach-s3c24xx/pm-s3c2416.c(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/s3c2416.csimilarity index 100% rename fromarch/arm/mach-s3c2416/s3c2416.crename toarch/arm/mach-s3c24xx/s3c2416.c(quoted diff) +0
-0
b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.csimilarity index 100% rename fromarch/arm/mach-s3c2416/setup-sdhci-gpio.crename toarch/arm/mach-s3c24xx/setup-sdhci-gpio.c
PATCH 9/12 ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
Quoted 6 lines · Heiko St?bner
Am Mittwoch 15 Februar 2012, 23:55:43 schrieb Kukjin Kim:
Quoted 4 lines
This patch moves S3C2416 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
Quoted 7 lines
Quoted 2 lines
Cc Ben Dooks <[email protected]>Signed-off-by Kukjin Kim <[email protected]>On S3C2416 hardware
Tested-by Heiko Stuebner <[email protected]>
Thank you for your testing and will amend this commit.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 10/12 ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/
In reply to Kukjin KimThis patch moves S3C2440 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
And this patch is including following.
- re-ordered alphabetically by option text at Kconfig and Makefile
---
arch/arm/mach-s3c2440/Kconfig | 165 -------------------
arch/arm/mach-s3c2440/Makefile | 26 +---
arch/arm/mach-s3c2440/common.h | 17 --
arch/arm/mach-s3c24xx/Kconfig | 169 +++++++++++++++++++-
arch/arm/mach-s3c24xx/Makefile | 17 ++
.../clock.c => mach-s3c24xx/clock-s3c2440.c} | 0
.../clock-s3c244x.c} | 0
arch/arm/mach-s3c24xx/common.h | 6 +
.../dma.c => mach-s3c24xx/dma-s3c2440.c} | 0
.../include/mach/gta02.h | 0
.../irq.c => mach-s3c24xx/irq-s3c2440.c} | 0
.../s3c244x-irq.c => mach-s3c24xx/irq-s3c244x.c} | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-anubis.c | 0
.../mach-at2440evb.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-gta02.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-mini2440.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-nexcoder.c | 0
.../mach-osiris-dvs.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-osiris.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-rx1950.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-rx3715.c | 0
.../{mach-s3c2440 => mach-s3c24xx}/mach-smdk2440.c | 0
arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c2440.c | 0
arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c2442.c | 0
arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c244x.c | 0
25 files changed, 191 insertions(+), 209 deletions(-)
delete mode 100644 arch/arm/mach-s3c2440/common.h
rename arch/arm/{mach-s3c2440/clock.c => mach-s3c24xx/clock-s3c2440.c} (100%)
rename arch/arm/{mach-s3c2440/s3c244x-clock.c => mach-s3c24xx/clock-s3c244x.c} (100%)
rename arch/arm/{mach-s3c2440/dma.c => mach-s3c24xx/dma-s3c2440.c} (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/include/mach/gta02.h (100%)
rename arch/arm/{mach-s3c2440/irq.c => mach-s3c24xx/irq-s3c2440.c} (100%)
rename arch/arm/{mach-s3c2440/s3c244x-irq.c => mach-s3c24xx/irq-s3c244x.c} (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-anubis.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-at2440evb.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-gta02.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-mini2440.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-nexcoder.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-osiris-dvs.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-osiris.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-rx1950.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-rx3715.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/mach-smdk2440.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c2440.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c2442.c (100%)
rename arch/arm/{mach-s3c2440 => mach-s3c24xx}/s3c244x.c (100%)arch/arm/mach-s3c2440/Kconfig +0 -165
@@ -2,35 +2,6 @@ # # Licensed under GPLv2 -config CPU_S3C2440 - bool - select CPU_ARM920T - select S3C2410_CLOCK - select S3C2410_PM if PM - select S3C2440_DMA if S3C2410_DMA - select CPU_S3C244X - select CPU_LLSERIAL_S3C2440 - help - Support for S3C2440 Samsung Mobile CPU based systems. - -config CPU_S3C2442 - bool - select CPU_ARM920T - select S3C2410_CLOCK - select S3C2410_PM if PM - select CPU_S3C244X - select CPU_LLSERIAL_S3C2440 - help - Support for S3C2442 Samsung Mobile CPU based systems. - -config CPU_S3C244X - bool - depends on CPU_S3C2440 || CPU_S3C2442 - help - Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. - - - config S3C2440_CPUFREQ bool "S3C2440/S3C2442 CPU Frequency scaling support" depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
@@ -64,139 +35,3 @@ config S3C2440_PLL_16934400 default y if CPU_FREQ_S3C24XX_PLL help PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. - -config S3C2440_DMA - bool - depends on CPU_S3C2440 - help - Support for S3C2440 specific DMA code5A - -menu "S3C2440 and S3C2442 Machines" - -config MACH_ANUBIS - bool "Simtec Electronics ANUBIS" - select CPU_S3C2440 - select S3C24XX_DCLK - select PM_SIMTEC if PM - select HAVE_PATA_PLATFORM - select S3C24XX_GPIO_EXTRA64 - select S3C2440_XTAL_12000000 - select S3C_DEV_USB_HOST - help - Say Y here if you are using the Simtec Electronics ANUBIS - development system - -config MACH_NEO1973_GTA02 - bool "Openmoko GTA02 / Freerunner phone" - select CPU_S3C2442 - select MFD_PCF50633 - select PCF50633_GPIO - select I2C - select POWER_SUPPLY - select MACH_NEO1973 - select S3C2410_PWM - select S3C_DEV_USB_HOST - help - Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone - -config MACH_OSIRIS - bool "Simtec IM2440D20 (OSIRIS) module" - select CPU_S3C2440 - select S3C24XX_DCLK - select PM_SIMTEC if PM - select S3C24XX_GPIO_EXTRA128 - select S3C2440_XTAL_12000000 - select S3C2410_IOTIMING if S3C2440_CPUFREQ - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using the Simtec IM2440D20 module, also - known as the Osiris. - -config MACH_OSIRIS_DVS - tristate "Simtec IM2440D20 (OSIRIS) Dynamic Voltage Scaling driver" - depends on MACH_OSIRIS - select TPS65010 - help - Say Y/M here if you want to have dynamic voltage scaling support - on the Simtec IM2440D20 (OSIRIS) module via the TPS65011. - - The DVS driver alters the voltage supplied to the ARM core - depending on the frequency it is running at. The driver itself - does not do any of the frequency alteration, which is left up - to the cpufreq driver. - -config MACH_RX3715 - bool "HP iPAQ rx3715" - select CPU_S3C2440 - select S3C2440_XTAL_16934400 - select PM_H1940 if PM - select S3C_DEV_NAND - help - Say Y here if you are using the HP iPAQ rx3715. - -config ARCH_S3C2440 - bool "SMDK2440" - select CPU_S3C2440 - select S3C2440_XTAL_16934400 - select MACH_SMDK - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using the SMDK2440. - -config MACH_NEXCODER_2440 - bool "NexVision NEXCODER 2440 Light Board" - select CPU_S3C2440 - select S3C2440_XTAL_12000000 - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board - -config SMDK2440_CPU2440 - bool "SMDK2440 with S3C2440 CPU module" - default y if ARCH_S3C2440 - select S3C2440_XTAL_16934400 - select CPU_S3C2440 - -config SMDK2440_CPU2442 - bool "SMDM2440 with S3C2442 CPU module" - select CPU_S3C2442 - -config MACH_AT2440EVB - bool "Avantech AT2440EVB development board" - select CPU_S3C2440 - select S3C_DEV_USB_HOST - select S3C_DEV_NAND - help - Say Y here if you are using the AT2440EVB development board - -config MACH_MINI2440 - bool "MINI2440 development board" - select CPU_S3C2440 - select EEPROM_AT24 - select NEW_LEDS - select LEDS_CLASS - select LEDS_TRIGGER - select LEDS_TRIGGER_BACKLIGHT - select S3C_DEV_NAND - select S3C_DEV_USB_HOST - help - Say Y here to select support for the MINI2440. Is a 10cm x 10cm board - available via various sources. It can come with a 3.5" or 7" touch LCD. - -config MACH_RX1950 - bool "HP iPAQ rx1950" - select CPU_S3C2442 - select S3C24XX_DCLK - select PM_H1940 if PM - select I2C - select S3C2410_PWM - select S3C_DEV_NAND - select S3C2410_IOTIMING if S3C2440_CPUFREQ - select S3C2440_XTAL_16934400 - help - Say Y here if you're using HP iPAQ rx1950 - -endmenu
arch/arm/mach-s3c2440/Makefile +1 -25
@@ -9,33 +9,9 @@ obj-m := obj-n := obj- := -obj-$(CONFIG_CPU_S3C2440) += s3c2440.o dsc.o -obj-$(CONFIG_CPU_S3C2442) += s3c2442.o +obj-$(CONFIG_CPU_S3C2440) += dsc.o -obj-$(CONFIG_CPU_S3C2440) += irq.o -obj-$(CONFIG_CPU_S3C2440) += clock.o -obj-$(CONFIG_S3C2440_DMA) += dma.o - -obj-$(CONFIG_CPU_S3C244X) += s3c244x.o -obj-$(CONFIG_CPU_S3C244X) += s3c244x-irq.o -obj-$(CONFIG_CPU_S3C244X) += s3c244x-clock.o obj-$(CONFIG_S3C2440_CPUFREQ) += s3c2440-cpufreq.o obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o - -# Machine support - -obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o -obj-$(CONFIG_MACH_OSIRIS) += mach-osiris.o -obj-$(CONFIG_MACH_RX3715) += mach-rx3715.o -obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o -obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o -obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o -obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o -obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o -obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o - -# extra machine support - -obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o
arch/arm/mach-s3c2440/common.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* -* Copyright (c) 2011 Samsung Electronics Co., Ltd. -* http://www.samsung.com -* -* Common Header for S3C2440 machines -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. -*/ - -#ifndef __ARCH_ARM_MACH_S3C2440_COMMON_H -#define __ARCH_ARM_MACH_S3C2440_COMMON_H - -void s3c2440_restart (char mode,const char *cmd); - -#endif /* __ARCH_ARM_MACH_S3C2440_COMMON_H */
arch/arm/mach-s3c24xx/Kconfig +167 -2
185 lines not on this page · raw message
arch/arm/mach-s3c24xx/Makefile +17 -0
@@ -26,6 +26,11 @@ obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o obj-$(CONFIG_CPU_S3C2416) += s3c2416.o irq-s3c2416.o clock-s3c2416.o obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o +obj-$(CONFIG_CPU_S3C2440) += s3c2440.o irq-s3c2440.o clock-s3c2440.o +obj-$(CONFIG_CPU_S3C2442) += s3c2442.o +obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o +obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o + # # machine support # following is ordered alphabetically by option text.
@@ -50,6 +55,17 @@ obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o +obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o +obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o +obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o +obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o +obj-$(CONFIG_MACH_OSIRIS) += mach-osiris.o +obj-$(CONFIG_MACH_RX3715) += mach-rx3715.o +obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o + +obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o +obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o + # common bits of machine support obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o
@@ -57,6 +73,7 @@ obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o # machine additions obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o +obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o # device setup
arch/arm/mach-s3c24xx/clock-s3c2440.c renamed from arch/arm/mach-s3c2440/clock.c +0 -0
arch/arm/mach-s3c24xx/clock-s3c244x.c renamed from arch/arm/mach-s3c2440/s3c244x-clock.c +0 -0
arch/arm/mach-s3c24xx/common.h +6 -0
@@ -12,6 +12,12 @@#ifndef __ARCH_ARM_MACH_S3C2410_COMMON_H#define __ARCH_ARM_MACH_S3C2410_COMMON_H +#ifdef CONFIG_CPU_S3C2410 void s3c2410_restart (char mode,const char *cmd); +#endif + +#ifdef CONFIG_CPU_S3C2440 +void s3c2440_restart (char mode,const char *cmd); +#endif #endif /* __ARCH_ARM_MACH_S3C2410_COMMON_H */
arch/arm/mach-s3c24xx/dma-s3c2440.c renamed from arch/arm/mach-s3c2440/dma.c +0 -0
arch/arm/mach-s3c24xx/include/mach/gta02.h renamed from arch/arm/mach-s3c2440/include/mach/gta02.h +0 -0
arch/arm/mach-s3c24xx/irq-s3c2440.c renamed from arch/arm/mach-s3c2440/irq.c +0 -0
arch/arm/mach-s3c24xx/irq-s3c244x.c renamed from arch/arm/mach-s3c2440/s3c244x-irq.c +0 -0
arch/arm/mach-s3c24xx/mach-anubis.c renamed from arch/arm/mach-s3c2440/mach-anubis.c +0 -0
arch/arm/mach-s3c24xx/mach-at2440evb.c renamed from arch/arm/mach-s3c2440/mach-at2440evb.c +0 -0
arch/arm/mach-s3c24xx/mach-gta02.c renamed from arch/arm/mach-s3c2440/mach-gta02.c +0 -0
arch/arm/mach-s3c24xx/mach-mini2440.c renamed from arch/arm/mach-s3c2440/mach-mini2440.c +0 -0
arch/arm/mach-s3c24xx/mach-nexcoder.c renamed from arch/arm/mach-s3c2440/mach-nexcoder.c +0 -0
arch/arm/mach-s3c24xx/mach-osiris-dvs.c renamed from arch/arm/mach-s3c2440/mach-osiris-dvs.c +0 -0
arch/arm/mach-s3c24xx/mach-osiris.c renamed from arch/arm/mach-s3c2440/mach-osiris.c +0 -0
arch/arm/mach-s3c24xx/mach-rx1950.c renamed from arch/arm/mach-s3c2440/mach-rx1950.c +0 -0
arch/arm/mach-s3c24xx/mach-rx3715.c renamed from arch/arm/mach-s3c2440/mach-rx3715.c +0 -0
arch/arm/mach-s3c24xx/mach-smdk2440.c renamed from arch/arm/mach-s3c2440/mach-smdk2440.c +0 -0
arch/arm/mach-s3c24xx/s3c2440.c renamed from arch/arm/mach-s3c2440/s3c2440.c +0 -0
arch/arm/mach-s3c24xx/s3c2442.c renamed from arch/arm/mach-s3c2440/s3c2442.c +0 -0
arch/arm/mach-s3c24xx/s3c244x.c renamed from arch/arm/mach-s3c2440/s3c244x.c +0 -0
Signature · 1 line
1.7.4.4
PATCH 11/12 ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/
In reply to Kukjin KimThis patch moves S3C2443 stuff into mach-s3c24xx/ directory so that we can merge the s3c24 series' directories to the just one mach-s3c24xx/ directory.
---
arch/arm/Kconfig | 1 -
arch/arm/Makefile | 2 +-
arch/arm/mach-s3c2443/Kconfig | 32 --------------------
arch/arm/mach-s3c2443/Makefile | 20 ------------
arch/arm/mach-s3c24xx/Kconfig | 29 ++++++++++++++++++
arch/arm/mach-s3c24xx/Makefile | 5 +++
.../clock.c => mach-s3c24xx/clock-s3c2443.c} | 0
.../dma.c => mach-s3c24xx/dma-s3c2443.c} | 0
.../irq.c => mach-s3c24xx/irq-s3c2443.c} | 0
.../{mach-s3c2443 => mach-s3c24xx}/mach-smdk2443.c | 0
arch/arm/{mach-s3c2443 => mach-s3c24xx}/s3c2443.c | 0
11 files changed, 35 insertions(+), 54 deletions(-)
delete mode 100644 arch/arm/mach-s3c2443/Kconfig
delete mode 100644 arch/arm/mach-s3c2443/Makefile
rename arch/arm/{mach-s3c2443/clock.c => mach-s3c24xx/clock-s3c2443.c} (100%)
rename arch/arm/{mach-s3c2443/dma.c => mach-s3c24xx/dma-s3c2443.c} (100%)
rename arch/arm/{mach-s3c2443/irq.c => mach-s3c24xx/irq-s3c2443.c} (100%)
rename arch/arm/{mach-s3c2443 => mach-s3c24xx}/mach-smdk2443.c (100%)
rename arch/arm/{mach-s3c2443 => mach-s3c24xx}/s3c2443.c (100%)arch/arm/Kconfig +0 -1
@@ -1072,7 +1072,6 @@ if ARCH_S3C24XX source "arch/arm/mach-s3c2412/Kconfig" source "arch/arm/mach-s3c2416/Kconfig" source "arch/arm/mach-s3c2440/Kconfig" -source "arch/arm/mach-s3c2443/Kconfig" endif if ARCH_S3C64XX
arch/arm/Makefile +1 -1
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 machine-$(CONFIG_ARCH_PXA) := pxa machine-$(CONFIG_ARCH_REALVIEW) := realview machine-$(CONFIG_ARCH_RPC) := rpc -machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2416 s3c2440 s3c2443 +machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2416 s3c2440 machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 machine-$(CONFIG_ARCH_S5PC100) := s5pc100
arch/arm/mach-s3c2443/Kconfig deleted +0 -32
@@ -1,32 +0,0 @@ -# Copyright 2007 Simtec Electronics -# -# Licensed under GPLv2 - -config CPU_S3C2443 - bool - depends on ARCH_S3C24XX - select CPU_ARM920T - select S3C2443_DMA if S3C2410_DMA - select CPU_LLSERIAL_S3C2440 - select SAMSUNG_CLKSRC - select S3C2443_CLOCK - help - Support for the S3C2443 SoC from the S3C24XX line - -config S3C2443_DMA - bool - depends on CPU_S3C2443 - help - Internal config node for S3C2443 DMA support - -menu "S3C2443 Machines" - -config MACH_SMDK2443 - bool "SMDK2443" - select CPU_S3C2443 - select MACH_SMDK - select S3C_DEV_HSMMC1 - help - Say Y here if you are using an SMDK2443 - -endmenu
arch/arm/mach-s3c2443/Makefile deleted +0 -20
@@ -1,20 +0,0 @@ -# arch/arm/mach-s3c2443/Makefile -# -# Copyright 2007 Simtec Electronics -# -# Licensed under GPLv2 - -obj-y := -obj-m := -obj-n := -obj- := - -obj-$(CONFIG_CPU_S3C2443) += s3c2443.o -obj-$(CONFIG_CPU_S3C2443) += irq.o -obj-$(CONFIG_CPU_S3C2443) += clock.o - -obj-$(CONFIG_S3C2443_DMA) += dma.o - -# Machine support - -obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o
arch/arm/mach-s3c24xx/Kconfig +29 -0
@@ -70,6 +70,17 @@ config CPU_S3C244X def_bool y depends on CPU_S3C2440 || CPU_S3C2442 +config CPU_S3C2443 + bool "SAMSUNG S3C2443" + depends on ARCH_S3C24XX + select CPU_ARM920T + select CPU_LLSERIAL_S3C2440 + select SAMSUNG_CLKSRC + select S3C2443_CLOCK + select S3C2443_DMA if S3C24XX_DMA + help + Support for the S3C2443 SoC from the S3C24XX line + if CPU_S3C2410 config S3C2410_DMA
@@ -459,6 +470,24 @@ config SMDK2440_CPU2442 endif # CPU_S3C2440 +if CPU_S3C2443 + +config S3C2443_DMA + bool + help + Internal config node for S3C2443 DMA support + +comment "S3C2443 Boards" + +config MACH_SMDK2443 + bool "SMDK2443" + select MACH_SMDK + select S3C_DEV_HSMMC1 + help + Say Y here if you are using an SMDK2443 + +endif # CPU_S3C2443 + endmenu # SAMSUNG S3C24XX SoCs Support endif # ARCH_S3C24XX
arch/arm/mach-s3c24xx/Makefile +5 -0
@@ -31,6 +31,9 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442.o obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o +obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o +obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o + # # machine support # following is ordered alphabetically by option text.
@@ -66,6 +69,8 @@ obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o +obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o + # common bits of machine support obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o
arch/arm/mach-s3c24xx/clock-s3c2443.c renamed from arch/arm/mach-s3c2443/clock.c +0 -0
arch/arm/mach-s3c24xx/dma-s3c2443.c renamed from arch/arm/mach-s3c2443/dma.c +0 -0
arch/arm/mach-s3c24xx/irq-s3c2443.c renamed from arch/arm/mach-s3c2443/irq.c +0 -0
arch/arm/mach-s3c24xx/mach-smdk2443.c renamed from arch/arm/mach-s3c2443/mach-smdk2443.c +0 -0
arch/arm/mach-s3c24xx/s3c2443.c renamed from arch/arm/mach-s3c2443/s3c2443.c +0 -0
Signature · 1 line
1.7.4.4
cover ARM: S3C24XX: create mach-s3c24xx/ for S3C24XX SoCs - WIP
In reply to Kukjin KimAm Mittwoch 15 Februar 2012, 23:55:34 schrieb Kukjin Kim:
Quoted 4 lines
This patch aims to make a one mach- directory for S3C24XX SoCs and now not finished yet such as moving cpufreq and merging plat-s3c24xx/. I think it will be done maybe in a week.
Quoted 11 lines
[PATCH 01/12] ARM: S3C24XX: remove unused spi gpio setup functions [PATCH 02/12] ARM: S3C24XX: move spi-s3c24xx platdata out of mach [PATCH 03/12] ARM: S3C24XX: Remove extern declaration of
clk_msysclk[PATCH 04/12] ARM: S3C24XX: move common S3C2443 clock definitions to [PATCH 05/12] ARM: S3C2410: moves3c2410_baseclk_addtoclock.h[PATCH 06/12] ARM: S3C24XX: change theARCH_S3C2410toARCH_S3C24XX[PATCH 07/12] ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ [PATCH 08/12] ARM: S3C2412: move mach-s3c2412/* into mach-s3c24xx/ [PATCH 09/12] ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/ [PATCH 10/12] ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/ [PATCH 11/12] ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/
could we move this forward please? :-)
As indicated by Olof's mail for tegra, we are near the 3.4 merge window and as is known everything must be in linux-next beforehand.
In my opinion it should also be possible to postpone the plat-s3c24xx cleanup for now and just bring this set on the road to reach 3.4.
Heiko
cover ARM: S3C24XX: create mach-s3c24xx/ for S3C24XX SoCs - WIP
Quoted 19 lines · Heiko St?bner
Am Mittwoch 15 Februar 2012, 23:55:34 schrieb Kukjin Kim:
Quoted 4 lines
This patch aims to make a one mach- directory for S3C24XX SoCs and now not finished yet such as moving cpufreq and merging plat-s3c24xx/. I think it will be done maybe in a week.
Quoted 11 lines
[PATCH 01/12] ARM: S3C24XX: remove unused spi gpio setup functions [PATCH 02/12] ARM: S3C24XX: move spi-s3c24xx platdata out of mach [PATCH 03/12] ARM: S3C24XX: Remove extern declaration of
clk_msysclk[PATCH 04/12] ARM: S3C24XX: move common S3C2443 clock definitions to [PATCH 05/12] ARM: S3C2410: moves3c2410_baseclk_addtoclock.h[PATCH 06/12] ARM: S3C24XX: change theARCH_S3C2410toARCH_S3C24XX[PATCH 07/12] ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ [PATCH 08/12] ARM: S3C2412: move mach-s3c2412/* into mach-s3c24xx/ [PATCH 09/12] ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/ [PATCH 10/12] ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/ [PATCH 11/12] ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/could we move this forward please? :-)
Quoted 8 lines
As indicated by Olof's mail for tegra, we are near the 3.4 merge window and as
is known everything must be in linux-next beforehand.In my opinion it should also be possible to postpone the plat-s3c24xx cleanup
for now and just bring this set on the road to reach 3.4.
OK, I agree and let me move this into my -next, I think plat-s3c24xx cleanup can be done soon though.
As a note, I will send this to arm-soc tree after couple of days for testing this in linux-next.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.