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

sughosh ganu urwithsughosh at gmail.com
Mon Nov 1 19:14:17 CET 2010


On Mon, Nov 1, 2010 at 11:38 PM, 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?
>

 This particular function in nand_boot.c was being used only by the
smdk6400. All other boards(notably freescale one's) define their own
board_init_f under their board directory. I have made the change on similar
lines, as different boards might want to do their own set of
initialisations, e.g init console, which was not done here.

-sughosh


More information about the U-Boot mailing list