Re: [PATCH v2 1/2] common: misc: add soc_uid_hex to globalvar

Jonas Rebmann
2026-04-15T11:15:21Z

On 2026-04-15 13:10, Fabian Pflug wrote:
> uidstr and uidbuf could be the same, but don't have to be. This results
> in uncertainty on what exactly is the current UID used for
> machine_set_hashable and to compare against with TLV.
>
> Add an additional global var, that encodes SoC-UID registers in a
> manner uniform across SoCs/manufacturers.
>
> This can now be used to feed as data for bound-soc-uid into
> `bareboxtlv-generator.py` or as the value for
> `CONFIG_HABV4_CSF_UNLOCK_UID`
>
> Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>

Reviewed-by: Jonas Rebmann <jre@pengutronix.de>