summaryrefslogtreecommitdiff
path: root/board/ssv
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 18:45:16 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 18:48:11 -0500
commitab3abcbabd840928fb1eb5122118ca466b5e5013 (patch)
tree022107d16dfe93cf9a49755a0eeb8ede2dc4e8e4 /board/ssv
parent3fe00109a5f12de55b6e25b1f98dfc24bc9090c9 (diff)
downloadu-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.zip
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.gz
u-boot-imx-ab3abcbabd840928fb1eb5122118ca466b5e5013.tar.bz2
board/[q-z]*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/ssv')
-rw-r--r--board/ssv/adnpesc1/adnpesc1.c2
-rw-r--r--board/ssv/common/cmd_sled.c2
-rw-r--r--board/ssv/common/wd_pio.c2
3 files changed, 3 insertions, 3 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
diff --git a/board/ssv/common/cmd_sled.c b/board/ssv/common/cmd_sled.c
index b853e83..8cdf45a 100644
--- a/board/ssv/common/cmd_sled.c
+++ b/board/ssv/common/cmd_sled.c
@@ -46,7 +46,7 @@ typedef struct {
extern led_dev_t led_dev[];
-#if (CONFIG_COMMANDS & CFG_CMD_BSP) || defined(CONFIG_CMD_BSP)
+#if defined(CONFIG_CMD_BSP)
int do_sled (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
int led_id = 0;
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;