[U-Boot] [PATCH] powerpc: Revert "arch/powerpc/lib/board.c: fix build warning"

Wolfgang Denk wd at denx.de
Sat Nov 5 10:33:38 CET 2011


Dear Kim Phillips,

In message <20111104163427.db13a668c89386e254098062 at freescale.com> you wrote:
> This reverts commit a9f4fc3fe571cc99260b063ad0ff291d31bafed0.
> 
> commit aab773a47a8f7f40b9d7c4877853b00d22fb1347 already fixed the
> issue.
> 
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> ---
>  arch/powerpc/lib/board.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c
> index 3a1b375..508075f 100644
> --- a/arch/powerpc/lib/board.c
> +++ b/arch/powerpc/lib/board.c
> @@ -625,9 +625,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
>  {
>  	bd_t *bd;
>  	ulong malloc_start;
> -#if defined(CONFIG_SYS_FLASH_CHECKSUM) || defined(CONFIG_CMD_NET)
> -	char *s;
> -#endif
> +

Which tree / version is your patch based on?  It does not apply to
master.  We fixed this with commit commit ecfd752.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The most difficult thing in the world is to know how to  do  a  thing
and to watch someone else doing it wrong, without commenting.
                                                        -- T.H. White


More information about the U-Boot mailing list