[U-Boot-Users] [PATCH] mips: Call 'nand_init()' in generic board initialization when CONFIG_CMD_NAND is set

Scott Wood scottwood at freescale.com
Thu May 15 16:14:36 CEST 2008


On Thu, May 15, 2008 at 10:08:31AM -0400, Jason McMullan wrote:
> ---
>  lib_mips/board.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/lib_mips/board.c b/lib_mips/board.c
> index 1645f2c..7237842 100644
> --- a/lib_mips/board.c
> +++ b/lib_mips/board.c
> @@ -48,6 +48,8 @@ extern int incaip_set_cpuclk(void);
>  extern ulong uboot_end_data;
>  extern ulong uboot_end;
>  
> +extern void nand_init(void);
> +

Please include <nand.h> instead.

-Scott




More information about the U-Boot mailing list