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>
1 parent ae903c5 commit c4143b74e9f9f8fa03cf80448867696a44c447f5
@Andre Przywara Andre Przywara authored on 21 Jun 2018
Showing 3 changed files
View
plat/allwinner/common/sunxi_bl31_setup.c
View
plat/allwinner/common/sunxi_common.c
View
plat/allwinner/common/sunxi_private.h