ARM: Add nuc950 paltform files to w90x900 platform
Subsystems (2)
PATCH v2 2/3 ARM: Add nuc950 paltform files to w90x900 platform
Dear Russell,
Add nuc950 paltform files to w90x900 platform.
Signed-off-by Wan ZongShun <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
Quoted 1 line · Wan ZongShun
Add nuc950 paltform files to w90x900 platform.
Ok.