arm: npcm: modify configuration for the NPCM7xx BMC.
Modify configuration and MakeFile for the Nuvoton NPCM and NPCM7xx BMC. [arnd: took this one late, since it fixes some build problems with the original commit] Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
04a2c2efbf
commit
cd903711fd
|
@ -1,48 +1,30 @@
|
||||||
menuconfig ARCH_NPCM
|
menuconfig ARCH_NPCM
|
||||||
bool "Nuvoton NPCM Architecture"
|
bool "Nuvoton NPCM Architecture"
|
||||||
select ARCH_REQUIRE_GPIOLIB
|
depends on ARCH_MULTI_V7
|
||||||
select USE_OF
|
|
||||||
select PINCTRL
|
select PINCTRL
|
||||||
select PINCTRL_NPCM7XX
|
|
||||||
|
|
||||||
if ARCH_NPCM
|
if ARCH_NPCM
|
||||||
|
|
||||||
comment "NPCM7XX CPU type"
|
config ARCH_NPCM7XX
|
||||||
|
bool "Support for NPCM7xx BMC (Poleg)"
|
||||||
config ARCH_NPCM750
|
depends on ARCH_MULTI_V7
|
||||||
depends on ARCH_NPCM && ARCH_MULTI_V7
|
select PINCTRL_NPCM7XX
|
||||||
bool "Support for NPCM750 BMC CPU (Poleg)"
|
select NPCM7XX_TIMER
|
||||||
|
select ARCH_REQUIRE_GPIOLIB
|
||||||
select CACHE_L2X0
|
select CACHE_L2X0
|
||||||
select CPU_V7
|
|
||||||
select ARM_GIC
|
select ARM_GIC
|
||||||
select HAVE_SMP
|
|
||||||
select SMP
|
|
||||||
select SMP_ON_UP
|
|
||||||
select HAVE_ARM_SCU
|
|
||||||
select HAVE_ARM_TWD if SMP
|
select HAVE_ARM_TWD if SMP
|
||||||
|
select HAVE_ARM_SCU if SMP
|
||||||
|
select ARM_ERRATA_764369 if SMP
|
||||||
select ARM_ERRATA_720789
|
select ARM_ERRATA_720789
|
||||||
select ARM_ERRATA_754322
|
select ARM_ERRATA_754322
|
||||||
select ARM_ERRATA_764369
|
|
||||||
select ARM_ERRATA_794072
|
select ARM_ERRATA_794072
|
||||||
select PL310_ERRATA_588369
|
select PL310_ERRATA_588369
|
||||||
select PL310_ERRATA_727915
|
select PL310_ERRATA_727915
|
||||||
select USB_EHCI_ROOT_HUB_TT
|
|
||||||
select USB_ARCH_HAS_HCD
|
|
||||||
select USB_ARCH_HAS_EHCI
|
|
||||||
select USB_EHCI_HCD
|
|
||||||
select USB_ARCH_HAS_OHCI
|
|
||||||
select USB_OHCI_HCD
|
|
||||||
select USB
|
|
||||||
select FIQ
|
|
||||||
select CPU_USE_DOMAINS
|
|
||||||
select GENERIC_CLOCKEVENTS
|
|
||||||
select CLKDEV_LOOKUP
|
|
||||||
select COMMON_CLK if OF
|
|
||||||
select NPCM750_TIMER
|
|
||||||
select MFD_SYSCON
|
select MFD_SYSCON
|
||||||
help
|
help
|
||||||
Support for NPCM750 BMC CPU (Poleg).
|
General support for NPCM7xx BMC (Poleg).
|
||||||
|
|
||||||
Nuvoton NPCM750 BMC based on the Cortex A9.
|
Nuvoton NPCM7xx BMC based on the Cortex A9.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
AFLAGS_headsmp.o += -march=armv7-a
|
AFLAGS_headsmp.o += -march=armv7-a
|
||||||
|
|
||||||
obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o platsmp.o headsmp.o
|
obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o
|
||||||
|
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
|
||||||
|
|
Loading…
Reference in New Issue