allwinner: Detect and output current SoC
authorAndre Przywara <andre.przywara@arm.com>
Thu, 21 Jun 2018 23:47:08 +0000 (00:47 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Thu, 28 Jun 2018 22:51:36 +0000 (23:51 +0100)
commitc4143b74e9f9f8fa03cf80448867696a44c447f5
tree6833046afdc8947a2ac710aa762f2a7e3d11d310
parentae903c56c112f463c964d85d4cbf37702aa5c67c
allwinner: Detect and output current SoC

So far we already support booting on two different SoCs, and we will
shortly add a third, so add some code to determine the current SoC type.
This can be later used to runtime detect certain properties.

Also print the SoC name to the console, to give valuable debug information.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
plat/allwinner/common/sunxi_bl31_setup.c
plat/allwinner/common/sunxi_common.c
plat/allwinner/common/sunxi_private.h