summaryrefslogtreecommitdiff
path: root/common/cmd_mem.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-28 23:11:04 +0000
committerwdenk <wdenk>2003-06-28 23:11:04 +0000
commit9d2b18a0f9df38cfe15e10766b1302f10d426355 (patch)
treee7230d603e7dda19f3ef962b974aa8ba7d4a75fe /common/cmd_mem.c
parentd1cbe85b084ce543ba0b09def03a1b20940e6c03 (diff)
downloadu-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.zip
u-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.tar.gz
u-boot-imx-9d2b18a0f9df38cfe15e10766b1302f10d426355.tar.bz2
Rewrite command lookup and help command (fix problems with bubble
sort when sorting command name list). Minor cleanup here and there.
Diffstat (limited to 'common/cmd_mem.c')
-rw-r--r--common/cmd_mem.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 944aada..4d02d2d 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -36,8 +36,10 @@
#include <dataflash.h>
#endif
-#if (CONFIG_COMMANDS & (CFG_CMD_MEMORY | CFG_CMD_PCI | CFG_CMD_I2C\
- | CMD_CMD_PORTIO))
+#if (CONFIG_COMMANDS & (CFG_CMD_MEMORY | \
+ CFG_CMD_I2C | \
+ CFG_CMD_PCI | \
+ CMD_CMD_PORTIO ) )
int cmd_get_data_size(char* arg, int default_size)
{
/* Check for a size specification .b, .w or .l.