summaryrefslogtreecommitdiff
path: root/board/ssv/adnpesc1/adnpesc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ssv/adnpesc1/adnpesc1.c')
-rw-r--r--board/ssv/adnpesc1/adnpesc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ssv/adnpesc1/adnpesc1.c b/board/ssv/adnpesc1/adnpesc1.c
index b38a470..8edbd70 100644
--- a/board/ssv/adnpesc1/adnpesc1.c
+++ b/board/ssv/adnpesc1/adnpesc1.c
@@ -65,7 +65,7 @@ long int initdram (int board_type)
/*
* The following are used to control the SPI chip selects for the SPI command.
*/
-#if ((CONFIG_COMMANDS & CFG_CMD_SPI) || defined(CONFIG_CMD_SPI)) && CONFIG_NIOS_SPI
+#if defined(CONFIG_CMD_SPI) && CONFIG_NIOS_SPI
#define SPI_RTC_CS_MASK 0x00000001