aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2022-04-04 11:56:09 +0200
committerShawn Guo <[email protected]>2022-06-27 14:52:02 +0800
commit786dde1e59d7122f55e42f5ab1167bc10ad87a41 (patch)
tree9ff890831af67e2bc2241640b2b1a844ac70d465 /lib/mpi/mpi-cmp.c
parent55488c90b392d74a6a8bbd358b7129aab0b19aee (diff)
soc: fsl: guts: add serial_number support
Most layerscapes provide a security fuse processor where the vendor will store a unique id per part. Unfortunately, we cannot use the corresponding efuse driver because this driver needs to be ready early during the boot phase. To get the unique identifier, we just need to access two registers. Thus we just search the device tree for the corresponding device, map its memory to read the id and then unmap it again. Because it is likely that the offset within the fuses is dependent on the SoC, we need a per SoC data. Also, the compatible string is different among the SoCs. For now, this add support for the LS1028A SoC. Signed-off-by: Michael Walle <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions