Commit 581508bdfbf2e6d4a8c8f1f86cc3439718ca9588

Authored by Scott Wood
Committed by York Sun
1 parent 9f9f009373

cmd_mem: Store last address/size/etc as ulong

Otherwise the high 32 bits get truncated on 64-bit U-boot.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <yorksun@freescale.com>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -36,9 +36,9 @@
36 36 /* Display values from last command.
37 37 * Memory modify remembered values are different from display memory.
38 38 */
39   -static uint dp_last_addr, dp_last_size;
40   -static uint dp_last_length = 0x40;
41   -static uint mm_last_addr, mm_last_size;
  39 +static ulong dp_last_addr, dp_last_size;
  40 +static ulong dp_last_length = 0x40;
  41 +static ulong mm_last_addr, mm_last_size;
42 42  
43 43 static ulong base_address = 0;
44 44