[U-Boot] [PATCH] common/cmd_fdt.c: fix wrong data displayed in fdt print

Wolfgang Denk wd at denx.de
Wed Jun 1 22:45:20 CEST 2011


Dear Haojian Zhuang,

In message <1306137210-31942-1-git-send-email-haojian.zhuang at marvell.com> you wrote:
> From: Haojian Zhuang <haojian.zhuang at gmail.com>
> 
> All data in dtb is big endian. Some ARM devices are little-endian.
> In print_data(), it displays data with big-endian format. For ARM device,
> data should be converted to little-endian first.
> 
> Signed-off-by: Haojian Zhuang <haojian.zhuang at marvell.com>
> Cc: Gerald Van Baren <vanbaren at cideas.com>
> ---
>  common/cmd_fdt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.


Gerald, I hope this is OK with you?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
 The software required `Windows 95 or better', so I installed Linux.


More information about the U-Boot mailing list