From: Sebastien Bourdeauducq Date: Wed, 13 Mar 2013 18:59:39 +0000 (+0100) Subject: software/bios: default length 4 for mr command X-Git-Tag: 24jan2021_ls180~3029 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ae504fb9bcc83133eefe1e1d6ff00ee774fdd7b;p=litex.git software/bios: default length 4 for mr command --- diff --git a/software/bios/main.c b/software/bios/main.c index b81ce687..d8113ddc 100644 --- a/software/bios/main.c +++ b/software/bios/main.c @@ -79,7 +79,7 @@ static void mr(char *startaddr, char *len) return; } if(*len == 0) { - length = 1; + length = 4; } else { length = strtoul(len, &c, 0); if(*c != 0) {