diff options
Diffstat (limited to 'board/ssv/adnpesc1/adnpesc1.c')
| -rw-r--r-- | board/ssv/adnpesc1/adnpesc1.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/board/ssv/adnpesc1/adnpesc1.c b/board/ssv/adnpesc1/adnpesc1.c index 2f704a0af..2ec3a728d 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) && CONFIG_NIOS_SPI +#if defined(CONFIG_CMD_SPI) && CONFIG_NIOS_SPI  #define	SPI_RTC_CS_MASK	0x00000001 @@ -89,7 +89,7 @@ spi_chipsel_type spi_chipsel[] = {  };  int spi_chipsel_cnt = sizeof(spi_chipsel) / sizeof(spi_chipsel[0]); -#endif /* CFG_CMD_SPI */ +#endif  #if	defined(CONFIG_POST)  /* |