]> git.sur5r.net Git - u-boot/commit
Fix memory commands for 64-bit platforms
authorYork Sun <yorksun@freescale.com>
Wed, 12 Feb 2014 23:55:35 +0000 (15:55 -0800)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 16:06:13 +0000 (11:06 -0500)
commit76698b4e6c598f5e90e3c1383eec72382aee95a2
tree78505bd24919573e209e453634938709e12ec727
parente22361af0758c7ebbff6fe375f805bc3697ce30f
Fix memory commands for 64-bit platforms

For aarch64, unsigned long is 64-bit data. Memory commands should be fixed
with u32 for 32-bit address access. To be clear, ushort is replace with
u16, u_char is replaced with u8.

Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Wolfgang Denk <wd@denx.de>
common/cmd_mem.c