Commit 581508bd authored by Scott Wood's avatar Scott Wood Committed by York Sun
Browse files

cmd_mem: Store last address/size/etc as ulong



Otherwise the high 32 bits get truncated on 64-bit U-boot.
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 9f9f0093
......@@ -36,9 +36,9 @@ static int mod_mem(cmd_tbl_t *, int, int, int, char * const []);
/* Display values from last command.
* Memory modify remembered values are different from display memory.
*/
static uint dp_last_addr, dp_last_size;
static uint dp_last_length = 0x40;
static uint mm_last_addr, mm_last_size;
static ulong dp_last_addr, dp_last_size;
static ulong dp_last_length = 0x40;
static ulong mm_last_addr, mm_last_size;
static ulong base_address = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment