arm: add mach-nexell (all files except header files)
authorStefan Bosch <stefan_b@posteo.net>
Fri, 10 Jul 2020 17:07:26 +0000 (19:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commit95e9a8e2cb409632e4e83be0cb9e1ed4629114c1
tree1a9e11e5e83e28761c31e2950f5fdcd748168ba3
parenta1ce9ed0637fd329c7c0d5ee7c92ceb332866c65
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>
13 files changed:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/mach-nexell/Kconfig [new file with mode: 0644]
arch/arm/mach-nexell/Makefile [new file with mode: 0644]
arch/arm/mach-nexell/clock.c [new file with mode: 0644]
arch/arm/mach-nexell/cmd_boot_linux.c [new file with mode: 0644]
arch/arm/mach-nexell/config.mk [new file with mode: 0644]
arch/arm/mach-nexell/nx_gpio.c [new file with mode: 0644]
arch/arm/mach-nexell/nx_sec_reg.c [new file with mode: 0644]
arch/arm/mach-nexell/reg-call.S [new file with mode: 0644]
arch/arm/mach-nexell/reset.c [new file with mode: 0644]
arch/arm/mach-nexell/tieoff.c [new file with mode: 0644]
arch/arm/mach-nexell/timer.c [new file with mode: 0644]