diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-05-01 14:05:10 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-03-05 19:22:15 +0100 |
commit | ee3bf34e451c3cc7902447836edfa8518b8c978d (patch) | |
tree | 74a4762261ccf52bd73c97f848a5d717a4037ffd /board | |
parent | 1b33b0163f1fc2086bc2110a5a652c842a089484 (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>
(cherry picked from commit 70cf26d9f5edcb6de6b2b70f1bf6a821e46be3dd)
(cherry picked from commit afc3024a826e61dc0ecc5d55b8dea96544ca9487)
(cherry picked from commit b15393500e633a40319c5f8cf3ad02010f4acddd)
(cherry picked from commit 5ada977a2dd9240d2dd071468d310af79379abfd)
Diffstat (limited to 'board')
-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 d106424212..e94b217e29 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) @@ -365,6 +366,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; |