arm: lpc32xx: add CONFIG_ARCH_LPC32XX build option

The explicit arch specific build symbol allows to group supported
boards, generalize common config options and it will serve as
a dependency for platform only drivers.

Two related board defconfigs are resynced after the change.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
This commit is contained in:
Vladimir Zapolskiy
2018-09-17 21:43:03 +03:00
committed by Tom Rini
parent 83c18d4101
commit ee54dfea45
6 changed files with 37 additions and 30 deletions

View File

@@ -0,0 +1,20 @@
if ARCH_LPC32XX
config SYS_SOC
default "lpc32xx"
choice
prompt "NXP LPC32xx board select"
config TARGET_DEVKIT3250
bool "Timll DevKit3250"
config TARGET_WORK_92105
bool "Work Microwave Work_92105"
endchoice
source "board/timll/devkit3250/Kconfig"
source "board/work-microwave/work_92105/Kconfig"
endif