commit | 2cc84cc5c55be149ac715d7bbc27e73a8f88d39c | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Mon Jan 20 17:45:33 2014 -0500 |
committer | Tom Rini <trini@ti.com> | Mon Jan 20 17:45:33 2014 -0500 |
tree | 4131217dbb96361879b42ccb10ec31e4fdf732be | |
parent | c2b50ff8459b66306926b33c4a8af9c82955849b [diff] |
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>