diff options
author | Hua Yanghao <huayanghao@gmail.com> | 2014-12-21 20:45:59 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-05 20:13:28 (GMT) |
commit | 90bac29a76bc8d649b41a55f2786c0abef9bb2c1 (patch) | |
tree | 4a2b8e5783d229b3b30127e621492ea01ea6e6cb /arch | |
parent | 97a8196451d786e640fb96895a0e7dbefe6c9ff8 (diff) | |
download | u-boot-90bac29a76bc8d649b41a55f2786c0abef9bb2c1.tar.xz |
cmd_fdt: fix working_fdt is set to wrong value
Instead of setting working_fdt to map_sysmem(addr) (e.g. blob), it should be set
to addr directly as inside set_working_fdt_addr it uses map_sysmem(addr) again.
To test: ./u-boot -d dts/dt.bin , then issue: fdt addr 0x100, fdt print will
then cause an segmentation fault. After this fix fdt print is functional.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions