Skip to contentSkip to conversation

ARM: Add nuc950 definition in makefile and kconfig

PATCH In review Wan ZongShun 2 participants 2 messages Aug 15, 2009 – Aug 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Dear Russell,

Add nuc950 platform definition in makefile and kconfig.

---
 arch/arm/mach-w90x900/Kconfig  |   16 +++++++++++++++-
 arch/arm/mach-w90x900/Makefile |    6 ++++--
 2 files changed, 19 insertions(+), 3 deletions(-)
arch/arm/mach-w90x900/Kconfig +15 -1
index 8e4178f..c70407c 100644
@@ -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
arch/arm/mach-w90x900/Makefile +4 -2
index 3ccd625..8cdbb91 100644
@@ -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
Signature · 1 line
1.5.6.3