ARM: Add nuc950 definition in makefile and kconfig
Subsystems (2)
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 <[email protected]>
--- 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
@@ -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
@@ -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
Quoted 3 lines · Wan ZongShun
Dear Russell,
Add nuc950 platform definition in makefile and kconfig.
Ok.