From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common.h: Add prototype of arch_preboot_os
Date: Tue, 04 Nov 2014 09:50:56 +0200 [thread overview]
Message-ID: <54588560.9000009@compulab.co.il> (raw)
In-Reply-To: <1415085249-31363-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com>
On 11/04/14 09:14, Nobuhiro Iwamatsu wrote:
> When we used arch_preboot_os() function because prototype of this is not
> declared, following warning is output.
Or.. you just need to include the correct file:
$ grep -nr arch_preboot_os include/
include/bootm.h:57:void arch_preboot_os(void);
>
> -----
> warning: function declaration isn't a prototype [-Wstrict-prototypes]
> -----
>
> This adds prototype of arch_preboot_os() to include/common.h.
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
> ---
> include/common.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/common.h b/include/common.h
> index d5020c8..8ee9ca5 100644
> --- a/include/common.h
> +++ b/include/common.h
> @@ -318,6 +318,9 @@ void board_show_dram(ulong size);
> */
> int arch_fixup_fdt(void *blob);
>
> +/* Set arch specific config before boot */
> +void arch_preboot_os(void);
> +
> /* common/flash.c */
> void flash_perror (int);
>
>
--
Regards,
Igor.
next prev parent reply other threads:[~2014-11-04 7:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 7:14 [U-Boot] [PATCH] common.h: Add prototype of arch_preboot_os Nobuhiro Iwamatsu
2014-11-04 7:50 ` Igor Grinberg [this message]
2014-11-04 22:00 ` Nobuhiro Iwamatsu
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=54588560.9000009@compulab.co.il \
--to=grinberg@compulab.co.il \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.