diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-04-14 01:12:26 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-04-29 02:20:29 +0200 |
commit | 8bfe9b5c3a684fe39eb58a65e466c103d1c32c9a (patch) | |
tree | eb7709a314b7ec5ba3eef1dcd60018f41d512a45 /firmware/yam/9600.bin.ihex | |
parent | of/flattree: make of_fdt.h safe to unconditionally include. (diff) | |
download | linux-8bfe9b5c3a684fe39eb58a65e466c103d1c32c9a.tar.xz linux-8bfe9b5c3a684fe39eb58a65e466c103d1c32c9a.zip |
of/flattree: Make unflatten_device_tree() safe to call from any arch
This patch makes unflatten_device_tree() safe to call from any arch
setup code with the following changes:
- Make sure initial_boot_params actually points to a device tree blob
before unflattening
- Make sure the initial_boot_params->magic field is correct
- If CONFIG_OF_FLATTREE is not set, then make unflatten_device_tree()
an empty static inline function.
This patch also adds some additional debug output to the top of
unflatten_device_tree().
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'firmware/yam/9600.bin.ihex')
0 files changed, 0 insertions, 0 deletions