summaryrefslogtreecommitdiff
path: root/board/toradex/common/tdx-cfg-block.c
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-07-06 10:41:32 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2018-11-29 11:12:45 +0100
commitbe14c3ea1850e2614883c86b62fd1c3a1828eac2 (patch)
tree1d827cca20a40542a5420331370590e64d9127b9 /board/toradex/common/tdx-cfg-block.c
parentfe7b38897ec1339e77cf80b409f659019a76fb71 (diff)
colibri-imx8qxp: initial add
Initial board support for Colibri iMX8QXP using a copy of Apalis iMX8. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 62f0f03e1acb4bb6b0fcca8d4e9bd4d2df04ad33)
Diffstat (limited to 'board/toradex/common/tdx-cfg-block.c')
-rw-r--r--board/toradex/common/tdx-cfg-block.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c
index 7544831d42..9ab946970a 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -8,7 +8,7 @@
#include "tdx-cfg-block.h"
#if defined(CONFIG_TARGET_APALIS_IMX6) || defined(CONFIG_TARGET_COLIBRI_IMX6) \
- || defined(CONFIG_TARGET_APALIS_IMX8)
+ || defined(CONFIG_TARGET_APALIS_IMX8) || defined(CONFIG_TARGET_COLIBRI_IMX8QXP)
#include <asm/arch/sys_proto.h>
#else
#define is_cpu_type(cpu) (0)
@@ -368,6 +368,8 @@ static int get_cfgblock_interactive(void)
tdx_hw_tag.prodid = COLIBRI_VF61;
} else if (is_cpu_type(MXC_CPU_IMX8QM)) {
tdx_hw_tag.prodid = APALIS_IMX8QM;
+ } else if (is_cpu_type(MXC_CPU_IMX8QXP)) {
+ tdx_hw_tag.prodid = COLIBRI_IMX8X;
} else {
printf("Module type not detectable due to unknown SoC\n");
return -1;