diff options
author | Tom Rini <trini@ti.com> | 2014-01-20 17:45:33 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-20 17:45:33 -0500 |
commit | be6d42669784565d257be011a502881f5ec87229 (patch) | |
tree | 4131217dbb96361879b42ccb10ec31e4fdf732be /tools/mkimage.c | |
parent | 004c10598b648341c08ebcbf77e9385a064aec47 (diff) | |
download | u-boot-imx-be6d42669784565d257be011a502881f5ec87229.zip u-boot-imx-be6d42669784565d257be011a502881f5ec87229.tar.gz u-boot-imx-be6d42669784565d257be011a502881f5ec87229.tar.bz2 |
fdt_support.c: Correct linux,initrd-start/end setting
The change to add 64bit initrd support broke 32bit initrd support as it
always set 64bits worth of data into the properties, even on 32bit
systems. The fix is to use addr_cell_len (which already says how much
data is in 'tmp') to set the property, rather than always setting 8.
Thanks to Stephen Warren for pointing out the fix here.
Reported-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'tools/mkimage.c')
0 files changed, 0 insertions, 0 deletions