Fix watchdog reset problems on LWMON board
[platform/kernel/u-boot.git] / common / cmd_cache.c
index f2015b3..6c250bc 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);
 }
 
+
+U_BOOT_CMD(
+       icache,   2,   1,     do_icache,
+       "icache  - enable or disable instruction cache\n",
+       "[on, off]\n"
+       "    - enable or disable instruction cache\n"
+);
+
+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"
+);
+
 #endif /* CFG_CMD_CACHE */