Skip to content
Commit 39e521f7 authored by Max Krummenacher's avatar Max Krummenacher Committed by Tom Rini
Browse files

toradex: tdx-cfg-block: rework carrier board name handling



Rework the rather big array of zero length strings with 4 entries of
actual carrier board names to a array of structs which ties a pid4
to its correspondent human readable string.
Provide an accessor to get the string for a given PID4.
Rework the user of the information to use the accessor.

Note that check_pid8_sanity() is used for early samples of Dahlia and
the development board. Yavia isn't affected.

Signed-off-by: default avatarMax Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: default avatarAndrejs Cainikovs <andrejs.cainikovs@toradex.com>
parent 94757b47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment