Skip to content
Snippets Groups Projects
cmd_mem.c 23.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • Wolfgang Denk's avatar
    Wolfgang Denk committed
    	"[.b, .w, .l] addr1 addr2 count\n    - compare memory\n"
    );
    
    cmd_tbl_t U_BOOT_CMD(CRC32) = MK_CMD_ENTRY(
    	"crc32",    4,    1,     do_mem_crc,
    	"crc32   - checksum calculation\n",
    	"address count [addr]\n    - compute CRC32 checksum [save at addr]\n"
    );
    
    cmd_tbl_t U_BOOT_CMD(BASE) = MK_CMD_ENTRY(
    	"base",    2,    1,     do_mem_base,
    	"base    - print or set address offset\n",
    	"\n    - print address offset for memory commands\n"
    	"base off\n    - set address offset for memory commands to 'off'\n"
    );
    
    cmd_tbl_t U_BOOT_CMD(LOOP) = MK_CMD_ENTRY(
    	"loop",    3,    1,    do_mem_loop,
    	"loop    - infinite loop on address range\n",
    	"[.b, .w, .l] address number_of_objects\n"
    	"    - loop on a set of addresses\n"
    );
    
    cmd_tbl_t U_BOOT_CMD(MTEST) = MK_CMD_ENTRY(
    	"mtest",    4,    1,     do_mem_mtest,
    	"mtest   - simple RAM test\n",
    	"[start [end [pattern]]]\n"
    	"    - simple RAM read/write test\n"
    );
    
    #endif
    
    Wolfgang Denk's avatar
    Wolfgang Denk committed
    #endif	/* CFG_CMD_MEMORY */