diff options
author | Andre Przywara <andre.przywara@arm.com> | 2017-02-16 01:20:28 +0000 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-04-05 15:03:17 +0530 |
commit | 997bde603877701accbdc05c45719ce562a843b8 (patch) | |
tree | 22a2c77486c0e2ec667e2f0d2afcf8b834137f47 | |
parent | 7b82a229e56d4f1f7f200e4e712c73be2ef9aea5 (diff) | |
download | u-boot-997bde603877701accbdc05c45719ce562a843b8.zip u-boot-997bde603877701accbdc05c45719ce562a843b8.tar.gz u-boot-997bde603877701accbdc05c45719ce562a843b8.tar.bz2 |
sunxi: introduce Allwinner H5 config option
The Allwinner H5 Soc is bascially an H3 with high SRAM and ARMv8 cores.
As the peripherals and the pinmuxing are almost identical, we piggy
back on the shared MACH_SUN8I_H3_H5 config symbol.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
-rw-r--r-- | arch/arm/mach-sunxi/cpu_info.c | 2 | ||||
-rw-r--r-- | board/sunxi/Kconfig | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/cpu_info.c b/arch/arm/mach-sunxi/cpu_info.c index f1f6fd5..85633cc 100644 --- a/arch/arm/mach-sunxi/cpu_info.c +++ b/arch/arm/mach-sunxi/cpu_info.c @@ -91,6 +91,8 @@ int print_cpuinfo(void) puts("CPU: Allwinner A80 (SUN9I)\n"); #elif defined CONFIG_MACH_SUN50I puts("CPU: Allwinner A64 (SUN50I)\n"); +#elif defined CONFIG_MACH_SUN50I_H5 + puts("CPU: Allwinner H5 (SUN50I)\n"); #else #warning Please update cpu_info.c with correct CPU information puts("CPU: SUNXI Family\n"); diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index b3af193..3e0e262 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -146,6 +146,12 @@ config MACH_SUN50I select SUNXI_HIGH_SRAM select SUPPORT_SPL +config MACH_SUN50I_H5 + bool "sun50i (Allwinner H5)" + select ARM64 + select MACH_SUNXI_H3_H5 + select SUNXI_HIGH_SRAM + endchoice # The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33" |