lkml.org 
[lkml]   [2009]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/9] ARM: Add nuc950 definition in makefile and kconfig
Dear Russell,

Add nuc950 platform definition in makefile and kconfig.

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

---
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


\
 
 \ /
  Last update: 2009-08-15 13:35    [W:0.034 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site