]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit898911b187d218d7f5aa19016f9376c8bf08992b
tree495e88837751e479a127cb624510b5df90ebcdb1
parent4b3ce99c604667f3f70d4b59fcaf322b0f0743d4
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