diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-09-16 10:45:43 +0200 |
---|---|---|
committer | Andrejs Cainikovs <andrejs.cainikovs@toradex.com> | 2023-07-18 13:58:41 +0200 |
commit | 980c3dd2c6e6124e722443dec7ab6f4b889fc876 (patch) | |
tree | 3982819edc1242ece5a4bbc45066026ba5e620db /board/toradex/common/tdx-cfg-block.h | |
parent | 7297241f395a1c43e974c00a01e029240af789e1 (diff) |
toradex: tdx-cfg-block: rework display adapter name handlingtoradex_ti-u-boot-2021.01_bringup
Rework the rather big array of zero length strings with 4 entries of
actual display adapter 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.
Upstream-Status: Submitted [https://lore.kernel.org/all/20230718090734.20357-4-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 'board/toradex/common/tdx-cfg-block.h')
-rw-r--r-- | board/toradex/common/tdx-cfg-block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h index e573664fde..60bf778912 100644 --- a/board/toradex/common/tdx-cfg-block.h +++ b/board/toradex/common/tdx-cfg-block.h @@ -126,7 +126,7 @@ extern u32 tdx_car_serial; int read_tdx_cfg_block(void); int read_tdx_cfg_block_carrier(void); const char * const get_toradex_carrier_boards(int pid4); - +const char * const get_toradex_display_adapters(int pid4); int try_migrate_tdx_cfg_block_carrier(void); void get_mac_from_serial(u32 tdx_serial, struct toradex_eth_addr *eth_addr); |