diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r-- | arch/arm/mach-s3c24xx/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/iotiming-s3c2412.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-h1940.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-jive.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2413.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2416.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2443.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-vstms.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2410.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2412.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2442.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c244x.c | 6 |
12 files changed, 4 insertions, 28 deletions
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index c0763b837745..44fa95df9262 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c | |||
@@ -49,9 +49,7 @@ | |||
49 | 49 | ||
50 | #include <plat/cpu.h> | 50 | #include <plat/cpu.h> |
51 | #include <plat/devs.h> | 51 | #include <plat/devs.h> |
52 | #include <plat/clock.h> | ||
53 | #include <plat/cpu-freq.h> | 52 | #include <plat/cpu-freq.h> |
54 | #include <plat/pll.h> | ||
55 | #include <plat/pwm-core.h> | 53 | #include <plat/pwm-core.h> |
56 | #include <plat/watchdog-reset.h> | 54 | #include <plat/watchdog-reset.h> |
57 | 55 | ||
diff --git a/arch/arm/mach-s3c24xx/iotiming-s3c2412.c b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c index bd064c05c473..28b13951de87 100644 --- a/arch/arm/mach-s3c24xx/iotiming-s3c2412.c +++ b/arch/arm/mach-s3c24xx/iotiming-s3c2412.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | #include <plat/cpu.h> | 30 | #include <plat/cpu.h> |
31 | #include <plat/cpu-freq-core.h> | 31 | #include <plat/cpu-freq-core.h> |
32 | #include <plat/clock.h> | ||
33 | 32 | ||
34 | #include <mach/s3c2412.h> | 33 | #include <mach/s3c2412.h> |
35 | 34 | ||
diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c index fbf5487ae5d1..c9a99bbad545 100644 --- a/arch/arm/mach-s3c24xx/mach-h1940.c +++ b/arch/arm/mach-s3c24xx/mach-h1940.c | |||
@@ -60,7 +60,6 @@ | |||
60 | #include <plat/cpu.h> | 60 | #include <plat/cpu.h> |
61 | #include <plat/devs.h> | 61 | #include <plat/devs.h> |
62 | #include <plat/gpio-cfg.h> | 62 | #include <plat/gpio-cfg.h> |
63 | #include <plat/pll.h> | ||
64 | #include <plat/pm.h> | 63 | #include <plat/pm.h> |
65 | #include <plat/samsung-time.h> | 64 | #include <plat/samsung-time.h> |
66 | 65 | ||
@@ -73,6 +72,10 @@ | |||
73 | 72 | ||
74 | #define H1940_LATCH_BIT(x) (1 << ((x) + 16 - S3C_GPIO_END)) | 73 | #define H1940_LATCH_BIT(x) (1 << ((x) + 16 - S3C_GPIO_END)) |
75 | 74 | ||
75 | #define S3C24XX_PLL_MDIV_SHIFT (12) | ||
76 | #define S3C24XX_PLL_PDIV_SHIFT (4) | ||
77 | #define S3C24XX_PLL_SDIV_SHIFT (0) | ||
78 | |||
76 | static struct map_desc h1940_iodesc[] __initdata = { | 79 | static struct map_desc h1940_iodesc[] __initdata = { |
77 | [0] = { | 80 | [0] = { |
78 | .virtual = (unsigned long)H1940_LATCH, | 81 | .virtual = (unsigned long)H1940_LATCH, |
diff --git a/arch/arm/mach-s3c24xx/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c index e81ea82c55f9..e647b47244a9 100644 --- a/arch/arm/mach-s3c24xx/mach-jive.c +++ b/arch/arm/mach-s3c24xx/mach-jive.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <linux/mtd/partitions.h> | 48 | #include <linux/mtd/partitions.h> |
49 | 49 | ||
50 | #include <plat/gpio-cfg.h> | 50 | #include <plat/gpio-cfg.h> |
51 | #include <plat/clock.h> | ||
52 | #include <plat/devs.h> | 51 | #include <plat/devs.h> |
53 | #include <plat/cpu.h> | 52 | #include <plat/cpu.h> |
54 | #include <plat/pm.h> | 53 | #include <plat/pm.h> |
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2413.c b/arch/arm/mach-s3c24xx/mach-smdk2413.c index fb3b80e44595..10726bf84920 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2413.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2413.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <mach/gpio-samsung.h> | 43 | #include <mach/gpio-samsung.h> |
44 | #include <mach/fb.h> | 44 | #include <mach/fb.h> |
45 | 45 | ||
46 | #include <plat/clock.h> | ||
47 | #include <plat/devs.h> | 46 | #include <plat/devs.h> |
48 | #include <plat/cpu.h> | 47 | #include <plat/cpu.h> |
49 | #include <plat/samsung-time.h> | 48 | #include <plat/samsung-time.h> |
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2416.c b/arch/arm/mach-s3c24xx/mach-smdk2416.c index fa6f30d23601..24189e8e8560 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2416.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2416.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <linux/platform_data/i2c-s3c2410.h> | 44 | #include <linux/platform_data/i2c-s3c2410.h> |
45 | 45 | ||
46 | #include <plat/gpio-cfg.h> | 46 | #include <plat/gpio-cfg.h> |
47 | #include <plat/clock.h> | ||
48 | #include <plat/devs.h> | 47 | #include <plat/devs.h> |
49 | #include <plat/cpu.h> | 48 | #include <plat/cpu.h> |
50 | #include <linux/platform_data/mtd-nand-s3c2410.h> | 49 | #include <linux/platform_data/mtd-nand-s3c2410.h> |
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c index ef5d5ea33182..0ed77614dcfe 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2443.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2443.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <mach/fb.h> | 38 | #include <mach/fb.h> |
39 | #include <linux/platform_data/i2c-s3c2410.h> | 39 | #include <linux/platform_data/i2c-s3c2410.h> |
40 | 40 | ||
41 | #include <plat/clock.h> | ||
42 | #include <plat/devs.h> | 41 | #include <plat/devs.h> |
43 | #include <plat/cpu.h> | 42 | #include <plat/cpu.h> |
44 | #include <plat/samsung-time.h> | 43 | #include <plat/samsung-time.h> |
diff --git a/arch/arm/mach-s3c24xx/mach-vstms.c b/arch/arm/mach-s3c24xx/mach-vstms.c index 9104c2be36c9..9d4f64750698 100644 --- a/arch/arm/mach-s3c24xx/mach-vstms.c +++ b/arch/arm/mach-s3c24xx/mach-vstms.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/platform_data/i2c-s3c2410.h> | 42 | #include <linux/platform_data/i2c-s3c2410.h> |
43 | #include <linux/platform_data/mtd-nand-s3c2410.h> | 43 | #include <linux/platform_data/mtd-nand-s3c2410.h> |
44 | 44 | ||
45 | #include <plat/clock.h> | ||
46 | #include <plat/devs.h> | 45 | #include <plat/devs.h> |
47 | #include <plat/cpu.h> | 46 | #include <plat/cpu.h> |
48 | #include <plat/samsung-time.h> | 47 | #include <plat/samsung-time.h> |
diff --git a/arch/arm/mach-s3c24xx/s3c2410.c b/arch/arm/mach-s3c24xx/s3c2410.c index 7eab88829883..5ffe828cd659 100644 --- a/arch/arm/mach-s3c24xx/s3c2410.c +++ b/arch/arm/mach-s3c24xx/s3c2410.c | |||
@@ -41,8 +41,6 @@ | |||
41 | 41 | ||
42 | #include <plat/cpu.h> | 42 | #include <plat/cpu.h> |
43 | #include <plat/devs.h> | 43 | #include <plat/devs.h> |
44 | #include <plat/clock.h> | ||
45 | #include <plat/pll.h> | ||
46 | #include <plat/pm.h> | 44 | #include <plat/pm.h> |
47 | #include <plat/watchdog-reset.h> | 45 | #include <plat/watchdog-reset.h> |
48 | 46 | ||
@@ -83,10 +81,6 @@ void __init s3c2410_map_io(void) | |||
83 | iotable_init(s3c2410_iodesc, ARRAY_SIZE(s3c2410_iodesc)); | 81 | iotable_init(s3c2410_iodesc, ARRAY_SIZE(s3c2410_iodesc)); |
84 | } | 82 | } |
85 | 83 | ||
86 | void __init_or_cpufreq s3c2410_setup_clocks(void) | ||
87 | { | ||
88 | } | ||
89 | |||
90 | struct bus_type s3c2410_subsys = { | 84 | struct bus_type s3c2410_subsys = { |
91 | .name = "s3c2410-core", | 85 | .name = "s3c2410-core", |
92 | .dev_name = "s3c2410-core", | 86 | .dev_name = "s3c2410-core", |
diff --git a/arch/arm/mach-s3c24xx/s3c2412.c b/arch/arm/mach-s3c24xx/s3c2412.c index d49f52fbc842..569f3f5a6c71 100644 --- a/arch/arm/mach-s3c24xx/s3c2412.c +++ b/arch/arm/mach-s3c24xx/s3c2412.c | |||
@@ -37,12 +37,10 @@ | |||
37 | #include <mach/regs-clock.h> | 37 | #include <mach/regs-clock.h> |
38 | #include <mach/regs-gpio.h> | 38 | #include <mach/regs-gpio.h> |
39 | 39 | ||
40 | #include <plat/clock.h> | ||
41 | #include <plat/cpu.h> | 40 | #include <plat/cpu.h> |
42 | #include <plat/cpu-freq.h> | 41 | #include <plat/cpu-freq.h> |
43 | #include <plat/devs.h> | 42 | #include <plat/devs.h> |
44 | #include <plat/nand-core.h> | 43 | #include <plat/nand-core.h> |
45 | #include <plat/pll.h> | ||
46 | #include <plat/pm.h> | 44 | #include <plat/pm.h> |
47 | #include <plat/regs-spi.h> | 45 | #include <plat/regs-spi.h> |
48 | 46 | ||
@@ -171,10 +169,6 @@ void __init s3c2412_map_io(void) | |||
171 | iotable_init(s3c2412_iodesc, ARRAY_SIZE(s3c2412_iodesc)); | 169 | iotable_init(s3c2412_iodesc, ARRAY_SIZE(s3c2412_iodesc)); |
172 | } | 170 | } |
173 | 171 | ||
174 | void __init_or_cpufreq s3c2412_setup_clocks(void) | ||
175 | { | ||
176 | } | ||
177 | |||
178 | /* need to register the subsystem before we actually register the device, and | 172 | /* need to register the subsystem before we actually register the device, and |
179 | * we also need to ensure that it has been initialised before any of the | 173 | * we also need to ensure that it has been initialised before any of the |
180 | * drivers even try to use it (even if not on an s3c2412 based system) | 174 | * drivers even try to use it (even if not on an s3c2412 based system) |
diff --git a/arch/arm/mach-s3c24xx/s3c2442.c b/arch/arm/mach-s3c24xx/s3c2442.c index fb9da2b603a2..7b043349f1c8 100644 --- a/arch/arm/mach-s3c24xx/s3c2442.c +++ b/arch/arm/mach-s3c24xx/s3c2442.c | |||
@@ -43,7 +43,6 @@ | |||
43 | 43 | ||
44 | #include <mach/regs-clock.h> | 44 | #include <mach/regs-clock.h> |
45 | 45 | ||
46 | #include <plat/clock.h> | ||
47 | #include <plat/cpu.h> | 46 | #include <plat/cpu.h> |
48 | #include <plat/pm.h> | 47 | #include <plat/pm.h> |
49 | 48 | ||
diff --git a/arch/arm/mach-s3c24xx/s3c244x.c b/arch/arm/mach-s3c24xx/s3c244x.c index 4a64bcc9eb51..d1c3e65785a1 100644 --- a/arch/arm/mach-s3c24xx/s3c244x.c +++ b/arch/arm/mach-s3c24xx/s3c244x.c | |||
@@ -38,11 +38,9 @@ | |||
38 | #include <mach/regs-clock.h> | 38 | #include <mach/regs-clock.h> |
39 | #include <mach/regs-gpio.h> | 39 | #include <mach/regs-gpio.h> |
40 | 40 | ||
41 | #include <plat/clock.h> | ||
42 | #include <plat/devs.h> | 41 | #include <plat/devs.h> |
43 | #include <plat/cpu.h> | 42 | #include <plat/cpu.h> |
44 | #include <plat/pm.h> | 43 | #include <plat/pm.h> |
45 | #include <plat/pll.h> | ||
46 | #include <plat/nand-core.h> | 44 | #include <plat/nand-core.h> |
47 | #include <plat/watchdog-reset.h> | 45 | #include <plat/watchdog-reset.h> |
48 | 46 | ||
@@ -78,10 +76,6 @@ void __init s3c244x_map_io(void) | |||
78 | s3c2410_device_dclk.name = "s3c2440-dclk"; | 76 | s3c2410_device_dclk.name = "s3c2440-dclk"; |
79 | } | 77 | } |
80 | 78 | ||
81 | void __init_or_cpufreq s3c244x_setup_clocks(void) | ||
82 | { | ||
83 | } | ||
84 | |||
85 | /* Since the S3C2442 and S3C2440 share items, put both subsystems here */ | 79 | /* Since the S3C2442 and S3C2440 share items, put both subsystems here */ |
86 | 80 | ||
87 | struct bus_type s3c2440_subsys = { | 81 | struct bus_type s3c2440_subsys = { |