[U-Boot] [PATCH 2/3 V5] Remove board_init_f function from nand_boot.c

Scott Wood scottwood at freescale.com
Mon Nov 1 19:14:38 CET 2010


On Mon, 1 Nov 2010 19:08:36 +0100
Albert ARIBAUD <albert.aribaud at free.fr> wrote:

> Le 01/11/2010 18:59, Sughosh Ganu a écrit :
> 
> >   Remove the board_init_f function from nand_spl/nand_boot.c. This
> >   function is to be defined by all boards using the nand_spl
> >   functionality in their individual board directory.
> 
> Sorry, there's one thing I don't get, but I must admit I don't know the 
> intricacies of NAND booting yet. Why should this be individualized? 
> Seems to me that all boards using nand_spl will have the same 
> board_init_f(), won't they?

No, some boards could easily require board-specific init during the
nand spl phase.  There's lots of this on the powerpc side, but it
hadn't been required on ARM yet (maybe they do more init in assembly?)
-- until now.

-Scott



More information about the U-Boot mailing list