summaryrefslogtreecommitdiff
path: root/common/cmd_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_spi.c')
-rw-r--r--common/cmd_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_spi.c b/common/cmd_spi.c
index 5874222..d446fe5 100644
--- a/common/cmd_spi.c
+++ b/common/cmd_spi.c
@@ -29,7 +29,7 @@
#include <command.h>
#include <spi.h>
-#if (CONFIG_COMMANDS & CFG_CMD_SPI) || defined(CONFIG_CMD_SPI)
+#if defined(CONFIG_CMD_SPI)
/*-----------------------------------------------------------------------
* Definitions