[U-Boot] [PATCH] [BUG] arm, lib: fix compile breakage
Albert ARIBAUD
albert.u.boot at aribaud.net
Mon Oct 24 18:28:38 CEST 2011
Hi Heiko,
Le 24/10/2011 07:42, Heiko Schocher a écrit :
> since commit dc8bbea0170eb2aca428ea221c91fc2e5e11f199 building
> arch/arm/lib/board.c breaks if CONFIG_CMD_NET is defined.
> Fix this.
>
> Signed-off-by: Heiko Schocher<hs at denx.de>
> Cc: Albert ARIBAUD<albert.u.boot at aribaud.net>
> Cc: Simon Glass<sjg at chromium.org>
> ---
> arch/arm/lib/board.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
> index ad02dbd..c1a3f2c 100644
> --- a/arch/arm/lib/board.c
> +++ b/arch/arm/lib/board.c
> @@ -440,6 +440,9 @@ void board_init_r(gd_t *id, ulong dest_addr)
> #if !defined(CONFIG_SYS_NO_FLASH)
> ulong flash_size;
> #endif
> +#if defined(CONFIG_CMD_NET)
> + char *s;
> +#endif
>
> gd = id;
>
Applied to u-boot-arm/master, thanks.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list