[U-Boot] [PATCH 3/3 V3] Add board support for hawkboard

Scott Wood scottwood at freescale.com
Thu Oct 28 19:53:14 CEST 2010


On Tue, 26 Oct 2010 23:28:05 +0530
Sughosh Ganu <urwithsughosh at gmail.com> wrote:

> diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
> index d41579c..ad70dd9 100644
> --- a/drivers/mtd/nand/davinci_nand.c
> +++ b/drivers/mtd/nand/davinci_nand.c
> @@ -635,6 +635,7 @@ void davinci_nand_init(struct nand_chip *nand)
>  	nand->write_buf = nand_davinci_write_buf;
>  
>  	nand->dev_ready = nand_davinci_dev_ready;
> +	nand->select_chip = NULL;

Shouldn't it already be NULL from the BSS?

There are many other fields where this is relied on...

-Scott



More information about the U-Boot mailing list