commit | 1829290736fa4f7665dbf9c8a414ec75e921a24c | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@gmail.com> | Sun May 22 21:53:30 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jun 01 22:44:50 2011 +0200 |
tree | 65210f6037f65e0b5dfa3b5c5873ebf32d023528 | |
parent | 7cb3f89593702fc15e9b2c3ecfc4a71c98b7606d [diff] |
common/cmd_fdt.c: fix wrong data displayed in fdt print 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@marvell.com> Cc: Gerald Van Baren <vanbaren@cideas.com>