diff options
| author | John Rigby <[email protected]> | 2010-10-13 13:57:34 -0600 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2010-10-18 22:52:10 +0200 |
| commit | 5a75e121075a63f312ae07409477b6f686840a93 (patch) | |
| tree | ed3bf92da428f7cec1cdc1a5689deae6d38ce7ae /include/linux | |
| parent | a6bd9e83abc811d5cade88cb5e7caf93b4f7abe1 (diff) | |
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 <[email protected]>
CC: Scott McNutt <[email protected]>
CC: Michal Simek <[email protected]>
CC: Thomas Chou <[email protected]>
Acked-by: Wolfgang Denk <[email protected]>
Acked-by: Michal Simek <[email protected]>
Tested-by: Thomas Chou <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
