u-boot-brain/arch/arm/mach-nexell/Kconfig
Stefan Bosch 95e9a8e2cb arm: add mach-nexell (all files except header files)
Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01:
- SPL not supported yet --> no spl-directory in arch/arm/mach-nexell.
  Appropriate line in Makefile removed.
- clock.c: 'section(".data")' added to declaration of clk_periphs[] and
  core_hz.
- Kconfig: Changes to have a structure like in mach-bcm283x/Kconfig,
  e.g. "config ..." entries moved from other Kconfig.
- timer.c: 'section(".data")' added to declaration of timestamp and
  lastdec.
- arch/arm/mach-nexell/serial.c removed because this is for the UARTs
  of the S5P6818 SoC which is not supported yet. S5P4418 UARTs are
  different, here the (existing) PL011-code is used.
- '#ifdef CONFIG...' changed to 'if (IS_ENABLED(CONFIG...))' where
  possible (and similar).

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
2020-07-29 08:43:40 -04:00

59 lines
934 B
Plaintext

if ARCH_NEXELL
config ARCH_S5P4418
bool "Nexell S5P4418 SoC"
select CPU_V7A
select OF_CONTROL
select OF_SEPARATE
select NX_GPIO
select PL011_SERIAL
select PL011_SERIAL_FLUSH_ON_INIT
help
Enable support for Nexell S5P4418 SoC.
config ARCH_S5P6818
bool "Nexell S5P6818 SoC"
select ARM64
select ARMV8_MULTIENTRY
help
Enable support for Nexell S5P6818 SoC.
menu "Nexell S5P4418/S5P6818"
depends on ARCH_NEXELL
choice
prompt "Nexell S5P4418/S5P6818 board select"
optional
config TARGET_NANOPI2
bool "FriendlyARM NanoPi2 / NanoPC-T2 Board"
select ARCH_S5P4418
help
Enable support for FriendlyARM NanoPi2 and NanoPC-T2 Boards.
endchoice
config SYS_BOARD
default "nanopi2"
config SYS_VENDOR
default "friendlyarm"
config SYS_SOC
default "nexell"
config SYS_CONFIG_NAME
default "s5p4418_nanopi2"
endmenu
config SYS_PLLFIN
int
config TIMER_SYS_TICK_CH
int
source "board/friendlyarm/Kconfig"
endif