Skip to content
Commit be6d4266 authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarOtavio Salvador <otavio@ossystems.com.br>
Signed-off-by: default avatarTom Rini <trini@ti.com>
parent 004c1059
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment