mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-01 17:36:03 +01:00
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>
This commit is contained in:
parent
9f9f009373
commit
581508bdfb
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue