summaryrefslogtreecommitdiff
path: root/common/cmd_spi.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-08-07 22:12:05 +0200
committerMichal Simek <monstr@monstr.eu>2007-08-07 22:12:05 +0200
commit85fad497b3c2e99fa48d18351d2898cf8cdbe898 (patch)
tree3c53a3ca56eaba5070a5fbcbbe4718d8ea4d082a /common/cmd_spi.c
parent706714d97a0d08d59eda4de2268c39f504688329 (diff)
parentb23b547597ff2375ad13a9ab04e5257a3ad76c99 (diff)
downloadolio-uboot-2014.01-85fad497b3c2e99fa48d18351d2898cf8cdbe898.tar.xz
olio-uboot-2014.01-85fad497b3c2e99fa48d18351d2898cf8cdbe898.zip
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'common/cmd_spi.c')
-rw-r--r--common/cmd_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_spi.c b/common/cmd_spi.c
index a6fdf7fdd..3118d279b 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)
+#if defined(CONFIG_CMD_SPI)
/*-----------------------------------------------------------------------
* Definitions
@@ -140,4 +140,4 @@ U_BOOT_CMD(
"<dout> - Hexadecimal string that gets sent\n"
);
-#endif /* CFG_CMD_SPI */
+#endif