
30 Nov
2014
30 Nov
'14
4:42 a.m.
On 27 November 2014 at 14:24, Suriyan Ramasami suriyan.r@gmail.com wrote:
The boot commands - bootz/bootm mandate a third argument which is the address to the FDT blob. In cases where this argument is not specified, boot fails with a message indicating a missing FDT.
This causes non-FDT kernels to fail to boot. This patch allows both FDT and non-FDT kernels to boot by making the third parameter to the bootm/bootz optional.
Signed-off-by: Suriyan Ramasami suriyan.r@gmail.com
Changes in v2:
- Simon: take care of real non error cases by introducing a no_fdt label to jump to instead of piggy backing on the error label. Also, use !select instead of argc <= 2.
- I am assuming this will have to be Tested-by and Acked-by again as there are more code changes than before. Hence dropping them.
Changes in v1:
- First try
common/image-fdt.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
Looks good, thanks!
Acked-by: Simon Glass sjg@chromium.org