Skip to content

Commit cd90371

Browse files
tmaimonarndb
authored andcommitted
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>
1 parent 04a2c2e commit cd90371

2 files changed

Lines changed: 13 additions & 30 deletions

File tree

‎arch/arm/mach-npcm/Kconfig‎

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,30 @@
11
menuconfig ARCH_NPCM
22
bool "Nuvoton NPCM Architecture"
3-
select ARCH_REQUIRE_GPIOLIB
4-
select USE_OF
3+
depends on ARCH_MULTI_V7
54
select PINCTRL
6-
select PINCTRL_NPCM7XX
75

86
if ARCH_NPCM
97

10-
comment "NPCM7XX CPU type"
11-
12-
config ARCH_NPCM750
13-
depends on ARCH_NPCM && ARCH_MULTI_V7
14-
bool "Support for NPCM750 BMC CPU (Poleg)"
8+
config ARCH_NPCM7XX
9+
bool "Support for NPCM7xx BMC (Poleg)"
10+
depends on ARCH_MULTI_V7
11+
select PINCTRL_NPCM7XX
12+
select NPCM7XX_TIMER
13+
select ARCH_REQUIRE_GPIOLIB
1514
select CACHE_L2X0
16-
select CPU_V7
1715
select ARM_GIC
18-
select HAVE_SMP
19-
select SMP
20-
select SMP_ON_UP
21-
select HAVE_ARM_SCU
2216
select HAVE_ARM_TWD if SMP
17+
select HAVE_ARM_SCU if SMP
18+
select ARM_ERRATA_764369 if SMP
2319
select ARM_ERRATA_720789
2420
select ARM_ERRATA_754322
25-
select ARM_ERRATA_764369
2621
select ARM_ERRATA_794072
2722
select PL310_ERRATA_588369
2823
select PL310_ERRATA_727915
29-
select USB_EHCI_ROOT_HUB_TT
30-
select USB_ARCH_HAS_HCD
31-
select USB_ARCH_HAS_EHCI
32-
select USB_EHCI_HCD
33-
select USB_ARCH_HAS_OHCI
34-
select USB_OHCI_HCD
35-
select USB
36-
select FIQ
37-
select CPU_USE_DOMAINS
38-
select GENERIC_CLOCKEVENTS
39-
select CLKDEV_LOOKUP
40-
select COMMON_CLK if OF
41-
select NPCM750_TIMER
4224
select MFD_SYSCON
4325
help
44-
Support for NPCM750 BMC CPU (Poleg).
26+
General support for NPCM7xx BMC (Poleg).
4527

46-
Nuvoton NPCM750 BMC based on the Cortex A9.
28+
Nuvoton NPCM7xx BMC based on the Cortex A9.
4729

4830
endif

‎arch/arm/mach-npcm/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
AFLAGS_headsmp.o += -march=armv7-a
22

3-
obj-$(CONFIG_ARCH_NPCM750) += npcm7xx.o platsmp.o headsmp.o
3+
obj-$(CONFIG_ARCH_NPCM7XX) += npcm7xx.o
4+
obj-$(CONFIG_SMP) += platsmp.o headsmp.o

0 commit comments

Comments
 (0)