diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-05-01 14:05:10 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-05-01 15:26:45 +0200 |
commit | 70cf26d9f5edcb6de6b2b70f1bf6a821e46be3dd (patch) | |
tree | af08fb2d648ac9e31ca51cd250ab32b4390456db | |
parent | d909b68d7f9da189a16e3ead0a6454b715201e23 (diff) |
tdx-cfg-block: add Apalis iMX8 QuadMax support
Add support for interactive recovery of Apalis iMX8 QuadMax
config block.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | board/toradex/common/tdx-cfg-block.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index b2551d8516..3c0c0348c3 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -7,7 +7,8 @@ #include <common.h> #include "tdx-cfg-block.h" -#if defined(CONFIG_TARGET_APALIS_IMX6) || defined(CONFIG_TARGET_COLIBRI_IMX6) +#if defined(CONFIG_TARGET_APALIS_IMX6) || defined(CONFIG_TARGET_COLIBRI_IMX6) \ + || defined(CONFIG_TARGET_APALIS_IMX8) #include <asm/arch/sys_proto.h> #else #define is_cpu_type(cpu) (0) @@ -363,6 +364,8 @@ static int get_cfgblock_interactive(void) tdx_hw_tag.prodid = COLIBRI_VF61_IT; else tdx_hw_tag.prodid = COLIBRI_VF61; + } else if (is_cpu_type(MXC_CPU_IMX8QM)) { + tdx_hw_tag.prodid = APALIS_IMX8QM; } else { printf("Module type not detectable due to unknown SoC\n"); return -1; |