• Bernhard Nortmann's avatar
    fel: add "sid" command to print SID (128-bit key) on supported SoCs · 848a054c
    Bernhard Nortmann authored
    
    
    This patch makes use of the new aw_fel_readl_n() function to output
    the first four 32-bit values (SID key) from an SoC-specific address.
    The corresponding e-fuses may not necessarily start at the SID
    "base" address, e.g. on H3/A83T they are at <base+0x200>.
    
    Note: SoC support is currently incomplete. In particular, reading
    the SID on A31(s) is unsupported. Accessing it there is complicated
    by the fact that Allwinner moved this information from the SoC into
    the PMIC/AXP221.
    Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
    848a054c
fel.c 53.3 KB