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
..
2008-08-13 01:40:38 +02:00
2010-08-09 01:07:37 +02:00
2010-10-07 20:03:17 +11:00
2010-07-24 20:43:57 +02:00
2010-09-19 19:29:53 +02:00
2010-07-24 20:43:57 +02:00
2010-08-09 01:07:37 +02:00
2010-10-18 22:52:10 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-08-09 01:07:37 +02:00
2010-08-09 01:06:34 +02:00
2010-08-09 01:06:34 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-10-12 22:44:33 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-10-06 22:42:14 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:54:46 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-10-12 21:02:55 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-09-19 19:29:53 +02:00
2010-09-19 21:28:25 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-08-09 01:07:37 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-10-12 22:50:19 +02:00
2010-07-24 20:43:57 +02:00
2010-08-09 01:06:34 +02:00
2010-08-09 11:52:29 -07:00
2010-07-24 20:43:57 +02:00
2010-09-21 21:37:08 +02:00
2010-07-24 20:43:57 +02:00
2010-10-11 15:11:01 -05:00
2010-10-18 14:54:08 -05:00
2010-10-11 23:00:29 -07:00
2010-10-06 22:34:30 +02:00
2010-07-24 20:43:57 +02:00
2010-10-02 16:00:40 -04:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-16 10:55:09 -05:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-10-06 20:50:38 -04:00
2010-08-09 01:07:37 +02:00
2010-08-09 01:07:37 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-10-12 23:31:10 +02:00
2010-08-09 01:07:37 +02:00
2010-08-09 01:07:37 +02:00
2010-07-04 23:55:42 +02:00
2010-08-12 16:40:00 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-08-09 01:07:37 +02:00
2010-07-04 23:55:42 +02:00
2010-09-19 19:29:51 +02:00
2010-07-04 23:51:49 +02:00
2010-05-12 04:54:30 -05:00
2010-10-18 22:44:31 +02:00
2003-06-27 21:31:46 +00:00
2010-10-12 21:31:04 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2009-10-27 20:46:31 +01:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2010-10-17 20:25:05 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:48 +02:00
2010-09-19 19:29:47 +02:00
2010-10-18 22:50:53 +02:00
2010-09-20 15:08:51 +02:00
2010-07-24 20:43:57 +02:00
2010-06-29 22:24:48 +02:00
2010-10-18 22:50:17 +02:00
2009-07-18 00:27:46 +02:00
2009-06-12 20:45:48 +02:00
2010-01-18 00:23:00 +01:00
2010-07-04 23:55:42 +02:00
2010-07-14 22:41:39 +02:00
2009-03-28 20:16:16 +01:00
2010-10-06 23:02:37 +02:00
2010-09-19 17:47:29 +02:00
2006-11-06 17:06:36 +01:00
2010-08-09 11:52:30 -07:00
2009-06-12 20:45:47 +02:00
2002-08-17 09:36:01 +00:00
2010-10-06 22:35:49 +02:00
2010-09-23 09:02:05 +02:00
2009-06-12 20:45:48 +02:00
2008-10-18 21:54:03 +02:00
2009-12-20 12:47:37 +01:00
2010-10-13 12:07:58 +02:00
2010-02-03 22:06:59 +01:00
2009-07-19 21:37:02 +02:00