Skip to contentSkip to conversation

ARM: Add nuc950 paltform files to w90x900 platform

PATCH In review Wan ZongShun 2 participants 2 messages Aug 18, 2009 – Sep 1, 2009

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

PATCH v2 2/3 ARM: Add nuc950 paltform files to w90x900 platform

Dear Russell,

Add nuc950 paltform files to w90x900 platform.

---
 arch/arm/mach-w90x900/Kconfig          |   15 +++++++++
 arch/arm/mach-w90x900/Makefile         |    2 +
 arch/arm/mach-w90x900/mach-nuc950evb.c |   44 ++++++++++++++++++++++++++
 arch/arm/mach-w90x900/nuc950.c         |   54 ++++++++++++++++++++++++++++++++
 arch/arm/mach-w90x900/nuc950.h         |   28 ++++++++++++++++
 5 files changed, 143 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-w90x900/mach-nuc950evb.c
 create mode 100644 arch/arm/mach-w90x900/nuc950.c
 create mode 100644 arch/arm/mach-w90x900/nuc950.h
arch/arm/mach-w90x900/Kconfig +15 -0
index 8e4178f..163b801 100644
@@ -5,6 +5,11 @@ config CPU_W90P910
 	help
 	  Support for W90P910 of Nuvoton W90X900 CPUs.
 
+config CPU_NUC950
+	bool
+	help
+	  Support for NUCP950 of Nuvoton NUC900 CPUs.
+
 menu "W90P910 Machines"
 
 config MACH_W90P910EVB
@@ -16,4 +21,14 @@ config MACH_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 +2 -0
index e38aa32..a4622b5 100644
@@ -9,7 +9,9 @@ obj-y				+= clksel.o dev.o cpu.o
 # W90X900 CPU support files
 
 obj-$(CONFIG_CPU_W90P910)	+= nuc910.o
+obj-$(CONFIG_CPU_NUC950)	+= nuc950.o
 
 # machine support
 
 obj-$(CONFIG_MACH_W90P910EVB)	+= mach-nuc910evb.o
+obj-$(CONFIG_MACH_W90P950EVB)	+= mach-nuc950evb.o
arch/arm/mach-w90x900/mach-nuc950evb.c new file +44 -0

44 lines not on this page · raw message

arch/arm/mach-w90x900/nuc950.c new file +54 -0

54 lines not on this page · raw message

arch/arm/mach-w90x900/nuc950.h new file +28 -0
new file mode 100644
index 0000000..98a1148
@@ -0,0 +1,28 @@
+/*
+ * arch/arm/mach-w90x900/nuc950.h
+ *
+ * Copyright (c) 2008 Nuvoton corporation
+ *
+ * Header file for NUC900 CPU support
+ *
+ * Wan ZongShun <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+struct map_desc;
+struct sys_timer;
+
+/* core initialisation functions */
+
+extern void nuc900_init_irq(void);
+extern struct sys_timer nuc900_timer;
+
+/* extern file from nuc950.c */
+
+extern void nuc950_board_init(void);
+extern void nuc950_init_clocks(void);
+extern void nuc950_map_io(void);
Signature · 1 line
1.5.6.3