From: Igor Opaniuk <igor.opaniuk@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1 2/7] toradex: tdx-cfg-block: add carrier boards and display adapters
Date: Mon, 22 Jun 2020 23:27:55 +0300 [thread overview]
Message-ID: <1592857680-637-3-git-send-email-igor.opaniuk@gmail.com> (raw)
In-Reply-To: <1592857680-637-1-git-send-email-igor.opaniuk@gmail.com>
From: Igor Opaniuk <igor.opaniuk@toradex.com>
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 | 12 ++++++++++++
board/toradex/common/tdx-cfg-block.h | 11 +++++++++++
2 files changed, 23 insertions(+)
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c
index 75216ec..48d2d0f 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -124,6 +124,18 @@ const char * const toradex_modules[] = {
[57] = "Verdin iMX8M Mini DualLite 1GB",
};
+const char * const toradex_carrier_boards[] = {
+ [0] = "UNKNOWN CARRIER",
+ [155] = "Dahlia",
+ [156] = "Verdin Development Board",
+};
+
+const char * const toradex_display_adapters[] = {
+ [0] = "UNKNOWN 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)
{
diff --git a/board/toradex/common/tdx-cfg-block.h b/board/toradex/common/tdx-cfg-block.h
index d8f3941..d58be23 100644
--- a/board/toradex/common/tdx-cfg-block.h
+++ b/board/toradex/common/tdx-cfg-block.h
@@ -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;
--
2.7.4
next prev parent reply other threads:[~2020-06-22 20:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 20:27 [PATCH v1 0/7] Toradex: EEPROM storage support for Config Block Igor Opaniuk
2020-06-22 20:27 ` [PATCH v1 1/7] toradex: tdx-cfg-block: add EEPROM read/store wrappers Igor Opaniuk
2020-06-22 20:27 ` Igor Opaniuk [this message]
2020-06-22 20:27 ` [PATCH v1 3/7] toradex: tdx-cfg-block: add support for EEPROM Igor Opaniuk
2020-06-22 20:27 ` [PATCH v1 4/7] toradex: tdx-cfg-clock: add migration routine from PID8 Igor Opaniuk
2020-06-22 20:27 ` [PATCH v1 5/7] toradex: tdx-cfg-block: add carrier board info printing Igor Opaniuk
2020-06-22 20:27 ` [PATCH v1 6/7] ARM: dts: imx8mm-verdin: eeprom nodes adjustments Igor Opaniuk
2020-06-22 20:28 ` [PATCH v1 7/7] verdin-imx8mm: add EEPROM support for carrier board Igor Opaniuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1592857680-637-3-git-send-email-igor.opaniuk@gmail.com \
--to=igor.opaniuk@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox