u-boot-brain/arch
Hans de Goede 44d8ae5b69 sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool
sun6i and newer (derived) SoCs such as the sun8i-a23, sun8i-a33 and sun9i
have a various things in common, like having separate ahb reset control
registers, the SID living inside the pmic, custom pmic busses, new style
watchdog, etc.

This commit introduces a new hidden SUNXI_GEN_SUN6I Kconfig bool which can be
used to check for these features avoiding the need for an ever growing list
of "#if defined CONFIG_MACH_SUN?I" conditionals as we add support for more
"new style" sunxi SoCs.

Note that this commit changes the behavior of the gmac and hdmi code for
sun8i and the upcoming sun9i devices. This does not matter as sun8i does
not have gmac nor hdmi, and sun9i has new hardware-blocks for these so
the old code will not work there.

Also this is intentional as if a sun8i / sun9i variant which does use the
old hwblocks shows up then the GEN_SUN6I code paths will be the right ones
to use.

For completeness this also adds a SUNXI_GEN_SUN4I bool for A10/A13/A20.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
2015-05-04 16:51:51 +02:00
..
arc arc: fix separate compilation of start.o 2015-04-10 19:22:40 +03:00
arm sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
avr32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
blackfin generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
m68k m68k: add architecture-specific u-boot.lds 2015-04-23 14:56:07 -04:00
microblaze generic-board: select SYS_GENERIC_BOARD for some architectures 2015-03-28 09:03:08 -04:00
mips MIPS: implement device-tree handover to Linux kernel 2015-04-24 12:15:34 +02:00
nds32 net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
nios2 fdt: nios: Fix warning in ft_cpu_setup() 2015-04-10 08:15:24 -06:00
openrisc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
powerpc driver/ifc: Add 64KB page support 2015-04-23 16:46:50 -07:00
sandbox fdt: sandbox: Move setup code from board_f to fdtdec 2015-04-23 09:05:53 -06:00
sh net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
sparc net: Remove the bd* parameter from net stack functions 2015-04-18 11:11:11 -06:00
x86 sandbox: Move CONFIG_SYS_VSNPRINTF to Kconfig 2015-04-18 11:11:37 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00