summaryrefslogtreecommitdiff
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-01 21:06:45 +0000
committerwdenk <wdenk>2003-07-01 21:06:45 +0000
commit0d4983930a3559be92452761cfa268ee9d0f2773 (patch)
treecfb77c1274a959cde007a7ac4e18b4b0d67bd253 /common/cmd_cache.c
parentb37c7e5e5c3c80c68f49a31c4308b159bb5bda1a (diff)
downloadu-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.zip
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.gz
u-boot-imx-0d4983930a3559be92452761cfa268ee9d0f2773.tar.bz2
Patch by Kenneth Johansson, 30 Jun 2003:
get rid of MK_CMD_ENTRY macro; update doc/README.command
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 0016b72..6c250bc 100644
--- a/common/cmd_cache.c
+++ b/common/cmd_cache.c
@@ -95,15 +95,15 @@ static int on_off (const char *s)
}
-cmd_tbl_t U_BOOT_CMD(ICACHE) = MK_CMD_ENTRY(
- "icache", 2, 1, do_icache,
+U_BOOT_CMD(
+ icache, 2, 1, do_icache,
"icache - enable or disable instruction cache\n",
"[on, off]\n"
" - enable or disable instruction cache\n"
);
-cmd_tbl_t U_BOOT_CMD(DCACHE) = MK_CMD_ENTRY(
- "dcache", 2, 1, do_dcache,
+U_BOOT_CMD(
+ dcache, 2, 1, do_dcache,
"dcache - enable or disable data cache\n",
"[on, off]\n"
" - enable or disable data (writethrough) cache\n"