[U-Boot] [PATCH] fix CPU9260/CPU9G20 compile warnings

Tom Rix tom at bumblecow.com
Mon Oct 12 13:34:53 CEST 2009


Eric Benard wrote:
> nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!
> 
> Signed-off-by: Eric Benard <eric at eukrea.com>
> ---
>  include/configs/cpu9260.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/cpu9260.h b/include/configs/cpu9260.h
> index 4ef8566..de8cfb7 100644
> --- a/include/configs/cpu9260.h
> +++ b/include/configs/cpu9260.h
> @@ -295,6 +295,7 @@
>  #define CONFIG_SYS_NAND_ENABLE_PIN		AT91_PIN_PC14
>  #define CONFIG_SYS_NAND_MASK_ALE		(1 << 21)
>  #define CONFIG_SYS_NAND_MASK_CLE		(1 << 22)
> +#define CONFIG_SYS_64BIT_VSPRINTF		/* needed for nand_util.c */
>  
>  /* NOR flash */
>  #define CONFIG_SYS_FLASH_CFI			1
Thanks for the fix.
Ack
Tom



More information about the U-Boot mailing list