ARM: meson: display Amlogic SoC Information
authorJulien Masson <jmasson@baylibre.com>
Mon, 25 Mar 2019 10:55:29 +0000 (11:55 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 10 Apr 2019 14:48:31 +0000 (16:48 +0200)
commitf41d723b9fa59d6fac27f51254742dfbf2d7eea0
tree495e88837751e479a127cb624510b5df90ebcdb1
parentead6b406957fee6041061635c03762c52cefcacc
ARM: meson: display Amlogic SoC Information

The Amlogic SoCs have a registers containing the die revision
and packaging type to determine the SoC family and package marketing
name like S905X for the GXL SoC Family.

This code is taken from the Linux meson-gx-socinfo driver and adapted
to U-Boot printing.

Signed-off-by: Julien Masson <jmasson@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: also updated new p200/p201 defconfigs]
arch/arm/mach-meson/Makefile
arch/arm/mach-meson/board-info.c [new file with mode: 0644]
configs/khadas-vim2_defconfig
configs/khadas-vim_defconfig
configs/libretech-cc_defconfig
configs/nanopi-k2_defconfig
configs/odroid-c2_defconfig
configs/p200_defconfig
configs/p201_defconfig
configs/p212_defconfig
configs/s400_defconfig