summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-07-27 20:19:28 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-07-29 19:14:45 +0200
commitc0ae6ea006d627896fde599806d73c87c87b504a (patch)
tree8e31c2cc4f9e09a8c6a80e4ca1fb2fb76b9014ec
parentc463e5ab8ed96d054007b60c8c7c2cc387cfdbc3 (diff)
toradex: tdx-cfg-block: fix verdin handling
| #if !defined(CONFIG_TARGET_VERDIN_IMX8MM) || !defined(CONFIG_TARGET_VERDIN_IMX8MN) is never false. Fix that so that the condition is 'true' for any board but the two verdins. Fixes commit c0c3978cba3 ("toradex: tdx-cfg-block: add Verdin iMX8M Mini/Nano support"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--board/toradex/common/tdx-cfg-block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c
index 107b25bc60..b26b01ab8e 100644
--- a/board/toradex/common/tdx-cfg-block.c
+++ b/board/toradex/common/tdx-cfg-block.c
@@ -361,7 +361,7 @@ static int get_cfgblock_interactive(void)
if (cpu_is_pxa27x())
sprintf(message, "Is the module the 312 MHz version? [y/N] ");
-#if !defined(CONFIG_TARGET_VERDIN_IMX8MM) || !defined(CONFIG_TARGET_VERDIN_IMX8MN)
+#if !(defined(CONFIG_TARGET_VERDIN_IMX8MM) || defined(CONFIG_TARGET_VERDIN_IMX8MN))
else
sprintf(message, "Is the module an IT version? [y/N] ");