diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-07-26 15:59:16 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-09-12 20:54:07 -0700 |
commit | 0789724f86a59fa7078d67dfeb1ee4a15ae3c693 (patch) | |
tree | 1633d1a5fb54b4b5506ce471d08d313706d932a5 /include/linux/firmware | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-stable-0789724f86a59fa7078d67dfeb1ee4a15ae3c693.tar.gz linux-stable-0789724f86a59fa7078d67dfeb1ee4a15ae3c693.tar.bz2 linux-stable-0789724f86a59fa7078d67dfeb1ee4a15ae3c693.zip |
firmware: meson_sm: Add serial number sysfs entry
The Amlogic Meson SoC Secure Monitor implements a call to retrieve an unique
SoC ID starting from the GX Family and all new families.
The serial number is simply exposed as a sysfs entry under the firmware
sysfs directory.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'include/linux/firmware')
-rw-r--r-- | include/linux/firmware/meson/meson_sm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/firmware/meson/meson_sm.h b/include/linux/firmware/meson/meson_sm.h index 37a5eaea69dd..f98c20dd266e 100644 --- a/include/linux/firmware/meson/meson_sm.h +++ b/include/linux/firmware/meson/meson_sm.h @@ -17,6 +17,7 @@ enum { SM_EFUSE_READ, SM_EFUSE_WRITE, SM_EFUSE_USER_MAX, + SM_GET_CHIP_ID, }; struct meson_sm_firmware; |