]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
toradex: tdx-cfg-block: add carrier boards and display adapters
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Wed, 15 Jul 2020 10:30:54 +0000 (13:30 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Jul 2020 12:00:36 +0000 (14:00 +0200)
Add defines for supported carrier boards and display adapters.

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
board/toradex/common/tdx-cfg-block.c
board/toradex/common/tdx-cfg-block.h

index 75216ecf6d3979acf14ad5e67e54e32872f77d92..adf67216c61a1dd75a46455f152e35f1596d8832 100644 (file)
@@ -124,6 +124,18 @@ const char * const toradex_modules[] = {
        [57] = "Verdin iMX8M Mini DualLite 1GB",
 };
 
+const char * const toradex_carrier_boards[] = {
+       [0] = "UNKNOWN CARRIER BOARD",
+       [155] = "Dahlia",
+       [156] = "Verdin Development Board",
+};
+
+const char * const toradex_display_adapters[] = {
+       [0] = "UNKNOWN DISPLAY ADAPTER",
+       [157] = "Verdin DSI to HDMI Adapter",
+       [159] = "Verdin DSI to LVDS Adapter",
+};
+
 #ifdef CONFIG_TDX_CFG_BLOCK_IS_IN_MMC
 static int tdx_cfg_block_mmc_storage(u8 *config_block, int write)
 {
index d8f3941f267e95736a603ae99038bbd6c17edc57..d58be23abbe813ae66a834b422e0f4bc7aeac1dd 100644 (file)
@@ -80,7 +80,18 @@ enum {
        VERDIN_IMX8MMDL,
 };
 
+enum {
+       DAHLIA = 155,
+       VERDIN_DEVELOPMENT_BOARD = 156,
+};
+
+enum {
+       VERDIN_DSI_TO_HDMI_ADAPTER = 157,
+       VERDIN_DSI_TO_LVDS_ADAPTER = 159,
+};
+
 extern const char * const toradex_modules[];
+extern const char * const toradex_carrier_boards[];
 extern bool valid_cfgblock;
 extern struct toradex_hw tdx_hw_tag;
 extern struct toradex_eth_addr tdx_eth_addr;