diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2023-07-17 12:53:11 +0200 |
---|---|---|
committer | Andrejs Cainikovs <andrejs.cainikovs@toradex.com> | 2023-07-18 13:58:37 +0200 |
commit | 7297241f395a1c43e974c00a01e029240af789e1 (patch) | |
tree | 9a07304ec1d413d54dc6f4b5ae9d7587bce72a21 /arch/arm/dts/kirkwood-98dx4122.dtsi | |
parent | 2eb7e98e8265e0eec3bccfe68eef4dcfe876d15d (diff) |
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.
Upstream-Status: Submitted [https://lore.kernel.org/all/20230718090734.20357-3-andrejs.cainikovs@toradex.com/]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
Diffstat (limited to 'arch/arm/dts/kirkwood-98dx4122.dtsi')
0 files changed, 0 insertions, 0 deletions