]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: meson: add sm cmd to retrieve SoC serial
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 6 Aug 2019 15:21:02 +0000 (17:21 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 12 Aug 2019 08:02:30 +0000 (10:02 +0200)
commit559e6256f855e61f987598a18ed4f2e20bc530e7
tree43ab67c5c90c9a82a6816ad028e7c10ea4e68bb2
parent191a374e65ef9c333263677538753188703dd94e
arm: meson: add sm cmd to retrieve SoC serial

The Secure Monitor offers multiple services, like returning the
SoC unique serial number, already used to generate an unique MAC
address.

This adds a new, Amlogic specific, "sm" cmd with a "serial" subcommand
to write the SoC unique serial to memory.

This "cm" command will be extended in further patches.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
arch/arm/mach-meson/sm.c