[U-Boot] [PATCH 2/3 V4] Remove board_nand_init from nand_boot.c

Scott Wood scottwood at freescale.com
Thu Oct 28 21:44:15 CEST 2010


On Fri, 29 Oct 2010 01:00:07 +0530
Sughosh Ganu <urwithsughosh at gmail.com> wrote:

> 
>  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.
> 
>  Currently this function was being used by the smdk6400 board. Added
>  the board specific function definition.
> 
> Signed-off-by: Sughosh Ganu <urwithsughosh at gmail.com>
> ---
> Changes since V3:
>    * Removed the board_init_f function from the nand_boot.c instead of
>      adding a weak declaration. 
>    * Added a corresponding function definition for the smdk6400 board.
> 
> The changes for smdk6400 have not been tested as it is currently
> broken due to the relocation and ELF-RELOC changes.
> 
>  board/samsung/smdk6400/smdk6400_nand_spl.c |   37 ++++++++++++++++++++++++++++
>  nand_spl/board/samsung/smdk6400/Makefile   |    6 ++++-
>  nand_spl/nand_boot.c                       |    8 ------
>  3 files changed, 42 insertions(+), 9 deletions(-)
>  create mode 100644 board/samsung/smdk6400/smdk6400_nand_spl.c

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott



More information about the U-Boot mailing list