summaryrefslogtreecommitdiff
path: root/board/ssv/common/wd_pio.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ssv/common/wd_pio.c')
-rw-r--r--board/ssv/common/wd_pio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ssv/common/wd_pio.c b/board/ssv/common/wd_pio.c
index 3424b1a..69e9ed7 100644
--- a/board/ssv/common/wd_pio.c
+++ b/board/ssv/common/wd_pio.c
@@ -112,7 +112,7 @@ void hw_watchdog_reset(void)
enable_interrupts ();
}
-#if (CONFIG_COMMANDS & CFG_CMD_BSP) || defined(CONFIG_CMD_BSP)
+#if defined(CONFIG_CMD_BSP)
int do_wd (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
nios_pio_t *ena_piop = (nios_pio_t*)CONFIG_HW_WDENA_BASE;