Re: [PATCH] of/fdt: Don't clear initial_boot_params if fdt_check_header() fails

2014-11-04 Thread Grant Likely
On Wed, 29 Oct 2014 12:15:00 -0600 , Bjorn Helgaas wrote: > If the device tree pointer is NULL, early_init_dt_verify() fails, leaving > initial_boot_params unchanged. If the device tree pointer is non-NULL but > invalid, early_init_dt_verify() again fails but this time it also clears >

Re: [PATCH] of/fdt: Don't clear initial_boot_params if fdt_check_header() fails

2014-11-04 Thread Grant Likely
On Wed, 29 Oct 2014 12:15:00 -0600 , Bjorn Helgaas bhelg...@google.com wrote: If the device tree pointer is NULL, early_init_dt_verify() fails, leaving initial_boot_params unchanged. If the device tree pointer is non-NULL but invalid, early_init_dt_verify() again fails but this time it also

[PATCH] of/fdt: Don't clear initial_boot_params if fdt_check_header() fails

2014-10-29 Thread Bjorn Helgaas
If the device tree pointer is NULL, early_init_dt_verify() fails, leaving initial_boot_params unchanged. If the device tree pointer is non-NULL but invalid, early_init_dt_verify() again fails but this time it also clears initial_boot_params. Leave initial_boot_params unchanged if the device tree

[PATCH] of/fdt: Don't clear initial_boot_params if fdt_check_header() fails

2014-10-29 Thread Bjorn Helgaas
If the device tree pointer is NULL, early_init_dt_verify() fails, leaving initial_boot_params unchanged. If the device tree pointer is non-NULL but invalid, early_init_dt_verify() again fails but this time it also clears initial_boot_params. Leave initial_boot_params unchanged if the device tree