bootm/fdt: Only process the fdt if an fdt address was provided
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 6 Sep 2007 15:47:40 +0000 (09:47 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 6 Sep 2007 15:47:40 +0000 (09:47 -0600)
commite79021223bc339df655e360645a52c457a74b067
tree06c65af0f171fe02e91bc2b74f11c49b266c3ba6
parentcf2817a84c2e9bea2c5dfc084bce2f2d2563ac43
bootm/fdt: Only process the fdt if an fdt address was provided

Boards with CONFIG_OF_LIBFDT enabled are not able to boot old-style
kernels using the board info structure (instead of passing a device tree)
This change allows the old style booting to be used if the fdt argument
was not passed to 'bootm'.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
common/cmd_bootm.c