[PATCH 1/9] ARM: Add nuc950 definition in makefile and kconfig

From: Wan ZongShun
Date: Sat Aug 15 2009 - 07:32:30 EST


Dear Russell,

Add nuc950 platform definition in makefile and kconfig.

Signed-off-by: Wan ZongShun <mcuos.com@xxxxxxxxx>

---
arch/arm/mach-w90x900/Kconfig | 16 +++++++++++++++-
arch/arm/mach-w90x900/Makefile | 6 ++++--
2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-w90x900/Kconfig b/arch/arm/mach-w90x900/Kconfig
index 8e4178f..c70407c 100644
--- a/arch/arm/mach-w90x900/Kconfig
+++ b/arch/arm/mach-w90x900/Kconfig
@@ -5,15 +5,29 @@ config CPU_W90P910
help
Support for W90P910 of Nuvoton W90X900 CPUs.

+config CPU_NUC950
+ bool
+ help
+ Support for NUCP950 of Nuvoton W90X900 CPUs.
+
menu "W90P910 Machines"

config MACH_W90P910EVB
bool "Nuvoton W90P910 Evaluation Board"
- default y
select CPU_W90P910
help
Say Y here if you are using the Nuvoton W90P910EVB

endmenu

+menu "NUC950 Machines"
+
+config MACH_W90P950EVB
+ bool "Nuvoton NUC950 Evaluation Board"
+ select CPU_NUC950
+ help
+ Say Y here if you are using the Nuvoton NUC950EVB
+
+endmenu
+
endif
diff --git a/arch/arm/mach-w90x900/Makefile b/arch/arm/mach-w90x900/Makefile
index 3ccd625..8cdbb91 100644
--- a/arch/arm/mach-w90x900/Makefile
+++ b/arch/arm/mach-w90x900/Makefile
@@ -4,12 +4,14 @@

# Object file lists.

-obj-y := irq.o time.o mfp-w90p910.o gpio.o clock.o
+obj-y := irq.o time.o gpio.o clock.o cpu.o dev.o
obj-y += clksel.o
# W90X900 CPU support files

-obj-$(CONFIG_CPU_W90P910) += w90p910.o
+obj-$(CONFIG_CPU_W90P910) += w90p910.o mfp-w90p910.o
+obj-$(CONFIG_CPU_NUC950) += nuc950.o

# machine support

obj-$(CONFIG_MACH_W90P910EVB) += mach-w90p910evb.o
+obj-$(CONFIG_MACH_W90P950EVB) += mach-nuc950evb.o
--
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/