diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-11-09 19:14:58 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-11-30 20:28:37 -0500 |
commit | cf383678242eacd6f92a48314922598ed3408355 (patch) | |
tree | d34f29a3e94e177681315b6d9c7d8301af6d83f9 | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) |
ARM: SAMSUNG: Add plat-samsung as starting point for plat-s3c* moves
We inted to re-organise the plat-s3c/plat-s3c24xx/plat-s3c64xx into a
more generic plat-samsung with less code in the other plat- directories
to make it easier to port new devices and try and clear up some of the
naming issues with newer devices.
Start by creating a small arch/arm/plat-samsung with no actuall code in
so we can move items in as we process them.
Add this to arch/arm to allow it to build things once support is added.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Makefile | 6 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 17 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 11 |
4 files changed, 32 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1c4119c60040..51a454bb40f9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -747,6 +747,7 @@ source "arch/arm/mach-orion5x/Kconfig" | |||
747 | 747 | ||
748 | source "arch/arm/mach-kirkwood/Kconfig" | 748 | source "arch/arm/mach-kirkwood/Kconfig" |
749 | 749 | ||
750 | source "arch/arm/plat-samsung/Kconfig" | ||
750 | source "arch/arm/plat-s3c24xx/Kconfig" | 751 | source "arch/arm/plat-s3c24xx/Kconfig" |
751 | source "arch/arm/plat-s3c64xx/Kconfig" | 752 | source "arch/arm/plat-s3c64xx/Kconfig" |
752 | source "arch/arm/plat-s3c/Kconfig" | 753 | source "arch/arm/plat-s3c/Kconfig" |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index a73caaf66763..df0d3a687f0a 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -178,9 +178,9 @@ plat-$(CONFIG_ARCH_OMAP) := omap | |||
178 | plat-$(CONFIG_PLAT_IOP) := iop | 178 | plat-$(CONFIG_PLAT_IOP) := iop |
179 | plat-$(CONFIG_PLAT_ORION) := orion | 179 | plat-$(CONFIG_PLAT_ORION) := orion |
180 | plat-$(CONFIG_PLAT_PXA) := pxa | 180 | plat-$(CONFIG_PLAT_PXA) := pxa |
181 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c | 181 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c samsung |
182 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c | 182 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c samsung |
183 | plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c | 183 | plat-$(CONFIG_PLAT_S5PC1XX) := s5pc1xx s3c samsung |
184 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx | 184 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx |
185 | 185 | ||
186 | ifeq ($(CONFIG_ARCH_EBSA110),y) | 186 | ifeq ($(CONFIG_ARCH_EBSA110),y) |
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig new file mode 100644 index 000000000000..486a0d6301e7 --- /dev/null +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -0,0 +1,17 @@ | |||
1 | # arch/arm/plat-samsung/Kconfig | ||
2 | # | ||
3 | # Copyright 2009 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | config PLAT_SAMSUNG | ||
8 | bool | ||
9 | depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX | ||
10 | default y | ||
11 | help | ||
12 | Base platform code for all Samsung SoC based systems | ||
13 | |||
14 | if PLAT_SAMSUNG | ||
15 | |||
16 | |||
17 | endif | ||
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile new file mode 100644 index 000000000000..4478b9f7dc34 --- /dev/null +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | # arch/arm/plat-s3c64xx/Makefile | ||
2 | # | ||
3 | # Copyright 2009 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := dummy.o | ||
10 | obj- := | ||
11 | |||