ARM: sunplus: fix serial console kconfig and build problems
[platform/kernel/linux-starfive.git] / arch / arm / mach-sunplus / Kconfig
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
3 menuconfig ARCH_SUNPLUS
4         bool "Sunplus SoCs"
5         depends on ARCH_MULTI_V7
6         help
7           Support for Sunplus SoC family: SP7021 and succeeding SoC-based systems,
8           such as the Banana Pi BPI-F2S development board (and derivatives).
9           (<http://www.sinovoip.com.cn/ecp_view.asp?id=586>)
10           (<https://tibbo.com/store/plus1.html>)
11
12 config SOC_SP7021
13         bool "Sunplus SP7021 SoC support"
14         depends on ARCH_SUNPLUS
15         default ARCH_SUNPLUS
16         select HAVE_ARM_ARCH_TIMER
17         select ARM_GIC
18         select ARM_PSCI
19         select PINCTRL
20         select PINCTRL_SPPCTL
21         select SERIAL_SUNPLUS if TTY
22         select SERIAL_SUNPLUS_CONSOLE if TTY
23         help
24           Support for Sunplus SP7021 SoC. It is based on ARM 4-core
25           Cortex-A7 with various peripherals (e.g.: I2C, SPI, SDIO,
26           Ethernet, etc.), FPGA interface,  chip-to-chip bus.
27           It is designed for industrial control.