summaryrefslogtreecommitdiff
path: root/cpu/microblaze
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-09 19:06:00 -0500
commit4431283c7e6d54ae180d466e51bf2d97471a0ad9 (patch)
treea8001e769b6478c615c62e423d4f1542e5060fe4 /cpu/microblaze
parent3a1ed1e1f922c419bb71f7df4949d783ade369fa (diff)
downloadu-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.zip
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.gz
u-boot-imx-4431283c7e6d54ae180d466e51bf2d97471a0ad9.tar.bz2
cpu/m*: Remove obsolete references to CONFIG_COMMANDS
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'cpu/microblaze')
-rw-r--r--cpu/microblaze/cache.c2
-rw-r--r--cpu/microblaze/interrupts.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/microblaze/cache.c b/cpu/microblaze/cache.c
index 2921551..6ce0b55 100644
--- a/cpu/microblaze/cache.c
+++ b/cpu/microblaze/cache.c
@@ -25,7 +25,7 @@
#include <common.h>
#include <asm/asm.h>
-#if (CONFIG_COMMANDS & CFG_CMD_CACHE) || defined(CONFIG_CMD_CACHE)
+#if defined(CONFIG_CMD_CACHE)
int dcache_status (void)
{
diff --git a/cpu/microblaze/interrupts.c b/cpu/microblaze/interrupts.c
index b97465a..3f04b29 100644
--- a/cpu/microblaze/interrupts.c
+++ b/cpu/microblaze/interrupts.c
@@ -190,7 +190,7 @@ void interrupt_handler (void)
}
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_IRQ) || defined(CONFIG_CMD_IRQ)
+#if defined(CONFIG_CMD_IRQ)
#ifdef CFG_INTC_0
int do_irqinfo (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
{
@@ -217,4 +217,4 @@ int do_irqinfo (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
puts ("Undefined interrupt controller\n");
}
#endif
-#endif /* CONFIG_COMMANDS & CFG_CMD_IRQ */
+#endif