summaryrefslogtreecommitdiff
path: root/common/cmd_itest.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_itest.c')
-rw-r--r--common/cmd_itest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_itest.c b/common/cmd_itest.c
index 87260b0..7fba598 100644
--- a/common/cmd_itest.c
+++ b/common/cmd_itest.c
@@ -32,6 +32,8 @@
#include <config.h>
#include <command.h>
+#if (CONFIG_COMMANDS & CFG_CMD_ITEST)
+
#define EQ 0
#define NE 1
#define LT 2
@@ -195,3 +197,4 @@ U_BOOT_CMD(
"itest - return true/false on integer compare\n",
"[.b, .w, .l, .s] [*]value1 <op> [*]value2\n"
);
+#endif /* CONFIG_COMMANDS & CFG_CMD_ITEST */