]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: prepare for sharing MACH_SUN8I_H3 config symbol
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:27 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
commit7b82a229e56d4f1f7f200e4e712c73be2ef9aea5
treecde7144752384267f5a69313c1b34d8322d5e286
parent170817a4978e99c8a856800551fe3ad3fdb58775
sunxi: prepare for sharing MACH_SUN8I_H3 config symbol

The Allwinner H5 is very close to the H3 SoC, but has ARMv8 cores.
To allow sharing the clocks, GPIO and driver code easily, create an
architecture agnostic MACH_SUNXI_H3_H5 Kconfig symbol.
Rename the existing symbol to MACH_SUNXI_H3_H5 where code is shared and
let it be selected by a new shared Kconfig option.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 files changed:
arch/arm/include/asm/arch-sunxi/clock_sun6i.h
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
arch/arm/include/asm/arch-sunxi/dram.h
arch/arm/mach-sunxi/Makefile
arch/arm/mach-sunxi/board.c
arch/arm/mach-sunxi/clock_sun6i.c
arch/arm/mach-sunxi/usb_phy.c
board/sunxi/Kconfig
drivers/mtd/spi/Kconfig
drivers/net/sun8i_emac.c
drivers/power/Kconfig
drivers/usb/host/ehci-sunxi.c