]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/cmd_cache.c
* Code cleanup:
[people/ms/u-boot.git] / common / cmd_cache.c
index f2015b3ee5d83ae90057ad9fe711d18621277e68..0016b72891fb6f7ae56a37c4d26a64939db3bc2f 100644 (file)
@@ -26,7 +26,6 @@
  */
 #include <common.h>
 #include <command.h>
-#include <cmd_cache.h>
 
 #if (CONFIG_COMMANDS & CFG_CMD_CACHE)
 
@@ -95,4 +94,19 @@ static int on_off (const char *s)
        return (-1);
 }
 
+
+cmd_tbl_t U_BOOT_CMD(ICACHE) = MK_CMD_ENTRY(
+       "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,
+       "dcache  - enable or disable data cache\n",
+       "[on, off]\n"
+       "    - enable or disable data (writethrough) cache\n"
+);
+
 #endif /* CFG_CMD_CACHE */