John Rigby 5a75e12107 FDT: only call boot_get_fdt from generic code
All arches except nios2 and microblaze call boot_get_fdt
from bootm_start in common/cmd_bootm.c.

Having nios2 and microblaze do so as well removes code from
their respective do_bootm_linux routines and allows removal of
a nasty ifdef from bootm_start.

In the case where boot_get_fdt returns an error bootm_start
returns and the platform specific do_bootm_linux routines
will never get called.

Also only check argv[3] for an fdt addr if argc > 3 first.
This is already the case for nios2.

Signed-off-by: John Rigby <john.rigby@linaro.org>
CC: Scott McNutt <smcnutt@psyent.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Wolfgang Denk <wd@denx.de>
Acked-by: Michal Simek <monstr@monstr.eu>
Tested-by: Thomas Chou <thomas@wytron.com.tw>
2010-10-18 22:52:10 +02:00
..
2010-10-07 20:03:17 +11:00
2010-09-19 19:29:53 +02:00
2010-07-24 20:54:46 +02:00
2010-09-19 19:29:53 +02:00
2010-09-19 21:28:25 +02:00
2010-08-09 11:52:29 -07:00
2010-09-21 21:37:08 +02:00
2010-10-18 14:54:08 -05:00
2010-07-16 10:55:09 -05:00
2010-10-12 23:31:10 +02:00
2010-09-19 19:29:51 +02:00
2010-10-18 22:44:31 +02:00
2003-06-27 21:31:46 +00:00
2010-06-29 22:24:48 +02:00
2010-01-18 00:23:00 +01:00
2010-07-14 22:41:39 +02:00
2010-09-19 17:47:29 +02:00
2002-08-17 09:36:01 +00:00
2008-10-18 21:54:03 +02:00