u-boot/board/sunxi
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
..
ahci.c ahci: mmio_base is a virtual address 2015-04-18 16:54:29 -04:00
board.c sunxi: Complete i2c support for each supported platform 2015-04-15 16:33:17 +02:00
dram_sun4i_auto.c sunxi: dram: Support more sun[457]i dram parameters in Kconfig 2015-02-02 14:04:23 +01:00
dram_sun5i_auto.c sunxi: Make CONFIG_DRAM_TPR3 apply to sun[57]i 2015-03-10 15:20:23 +01:00
dram_timings_sun4i.h sunxi: dram: Optionally use standard JEDEC timings for sun[457]i 2015-02-02 14:04:15 +01:00
gmac.c sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
Kconfig sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
MAINTAINERS sunxi: iNet 3F support 2015-04-15 16:33:17 +02:00
Makefile sunxi: Convert sun5i boards to use auto dram configuration 2015-02-02 13:55:14 +01:00