public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong
Date: Thu, 23 Apr 2015 16:39:11 -0700	[thread overview]
Message-ID: <5539829F.9070403@freescale.com> (raw)
In-Reply-To: <CAPnjgZ3qYha5wk5WosNw4WavrhewD6XVTRJDF-3A8fyw5RMHZQ@mail.gmail.com>



On 03/19/2015 10:50 AM, Simon Glass wrote:
> On 19 March 2015 at 10:43, York Sun <yorksun@freescale.com> wrote:
>> From: Scott Wood <scottwood@freescale.com>
>>
>> Otherwise the high 32 bits get truncated on 64-bit U-boot.
>>
>> Signed-off-by: Scott Wood <scottwood@freescale.com>
>> CC: Simon Glass <sjg@chromium.org>
>> ---
>>  common/cmd_mem.c |    6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/common/cmd_mem.c b/common/cmd_mem.c
>> index bcb3ee3..62a0404 100644
>> --- a/common/cmd_mem.c
>> +++ b/common/cmd_mem.c
>> @@ -35,9 +35,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;
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to fsl-qoriq master, awaiting upstream.

York

      parent reply	other threads:[~2015-04-23 23:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 16:43 [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong York Sun
2015-03-19 17:50 ` Simon Glass
2015-03-19 17:54   ` York Sun
2015-04-23 23:39   ` York Sun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5539829F.9070403@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox