From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: netspace_v2: fix warnings
Date: Sun, 30 Oct 2011 11:45:37 +0100 [thread overview]
Message-ID: <4EAD2AD1.5030503@aribaud.net> (raw)
In-Reply-To: <1319923879-8783-1-git-send-email-agust@denx.de>
Hi Anatolij,
Le 29/10/2011 23:31, Anatolij Gustschin a ?crit :
> Fix compiler warnings when compiling for netspace_v2, netspace_max_v2
> and inetspace_v2:
>
> netspace_v2.c: In function 'board_early_init_f':
> netspace_v2.c:37: warning: implicit declaration of function 'kw_config_gpio'
> netspace_v2.c: In function 'board_init':
> netspace_v2.c:86: warning: implicit declaration of function 'kw_sdram_bar'
>
> Signed-off-by: Anatolij Gustschin<agust@denx.de>
> Cc: Simon Guinot<simon.guinot@sequanux.org>
> Cc: Albert ARIBAUD<albert.u.boot@aribaud.net>
> ---
> board/LaCie/netspace_v2/netspace_v2.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c
> index 3bb83f3..7c4b15e 100644
> --- a/board/LaCie/netspace_v2/netspace_v2.c
> +++ b/board/LaCie/netspace_v2/netspace_v2.c
> @@ -24,6 +24,7 @@
> #include<miiphy.h>
> #include<netdev.h>
> #include<command.h>
> +#include<asm/arch/cpu.h>
> #include<asm/arch/kirkwood.h>
> #include<asm/arch/mpp.h>
> #include<asm/arch/gpio.h>
Applied to u-boot-arm/master, as a bugfix to help netspace_v2 compile clean.
Note however that I also see the following warning for netspace_v2:
mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'
Amicalement,
--
Albert.
next prev parent reply other threads:[~2011-10-30 10:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-29 21:31 [U-Boot] [PATCH] ARM: netspace_v2: fix warnings Anatolij Gustschin
2011-10-29 22:36 ` Marek Vasut
2011-10-30 10:45 ` Albert ARIBAUD [this message]
2011-10-30 11:34 ` Anatolij Gustschin
2011-10-30 16:19 ` Albert ARIBAUD
2011-10-30 16:21 ` Anatolij Gustschin
2011-10-30 12:40 ` Simon Guinot
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=4EAD2AD1.5030503@aribaud.net \
--to=albert.u.boot@aribaud.net \
--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