commit | b79003627d0cf5ec1443e40d8faa7471657f0f33 | [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 | d6840e3d7abb71c2a45c3788dcc6edf7feb1d303 [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>