From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 4/7] FDT: only call boot_get_fdt from generic code
Date: Mon, 18 Oct 2010 14:38:58 +0800 [thread overview]
Message-ID: <4CBBEB82.1080309@wytron.com.tw> (raw)
In-Reply-To: <1286999857-13790-5-git-send-email-john.rigby@linaro.org>
John Rigby wrote:
> 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>
> ---
> arch/nios2/lib/bootm.c | 8 +++-----
Tested with/without libfdt support on nios2 board.
Tested-by: Thomas Chou <thomas@wytron.com.tw>
next prev parent reply other threads:[~2010-10-18 6:38 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 15:48 [U-Boot] [PATCH v2 0/6] Add ARM flat device tree support John Rigby
2010-09-29 15:48 ` [U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs John Rigby
2010-10-12 21:20 ` Wolfgang Denk
2010-10-12 21:57 ` John Rigby
2010-10-13 5:55 ` Wolfgang Denk
2010-09-29 15:48 ` [U-Boot] [PATCH v2 2/6] FDT: Add fixup support for multiple banks of memory John Rigby
2010-10-12 21:21 ` Wolfgang Denk
2010-09-29 15:48 ` [U-Boot] [PATCH v2 3/6] FDT: only call boot_get_fdt from generic code John Rigby
2010-10-12 21:24 ` Wolfgang Denk
2010-10-12 21:33 ` John Rigby
2010-10-12 21:40 ` Wolfgang Denk
2010-09-29 15:48 ` [U-Boot] [PATCH v2 4/6] boot: change some arch ifdefs to feature ifdefs John Rigby
2010-10-12 21:27 ` Wolfgang Denk
2010-10-12 21:41 ` John Rigby
2010-09-29 15:48 ` [U-Boot] [PATCH v2 5/6] ARM: add flat device tree support John Rigby
2010-10-07 14:56 ` John Rigby
2010-10-12 21:29 ` Wolfgang Denk
2010-10-12 21:39 ` John Rigby
2010-10-13 5:52 ` Wolfgang Denk
2010-09-29 15:48 ` [U-Boot] [PATCH v2 6/6] ARM: enable device tree for beagle John Rigby
2010-10-07 16:11 ` [U-Boot] [PATCH v2 0/6] Add ARM flat device tree support John Rigby
2010-10-07 16:14 ` John Rigby
2010-10-07 17:45 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 0/7] " John Rigby
2010-10-13 20:41 ` Wolfgang Denk
2010-10-13 21:20 ` John Rigby
2010-10-17 1:59 ` Gerald Van Baren
2010-10-13 19:57 ` [U-Boot] [PATCH v3 1/7] common/image.c fix length calculation in boot_relocate_fdt John Rigby
2010-10-18 20:50 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 2/7] common/image.c remove extra calls to be32_to_cpu in boot_get_fdt John Rigby
2010-10-18 20:50 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 3/7] FDT: Add fixup support for multiple banks of memory John Rigby
2010-10-18 20:51 ` Wolfgang Denk
2010-10-20 7:02 ` [U-Boot] [PATCH] common/fdt_support.c: Fix compile warnings Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 4/7] FDT: only call boot_get_fdt from generic code John Rigby
2010-10-14 3:07 ` Michal Simek
2010-10-18 6:38 ` Thomas Chou [this message]
2010-10-18 20:52 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 5/7] boot: change some arch ifdefs to feature ifdefs John Rigby
2010-10-18 20:53 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 6/7] ARM: add flat device tree support John Rigby
2010-10-18 20:54 ` Wolfgang Denk
2010-10-13 19:57 ` [U-Boot] [PATCH v3 7/7] ARM: enable device tree for beagle John Rigby
2010-10-18 20:54 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBBEB82.1080309@wytron.com.tw \
--to=thomas@wytron.com.tw \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox