
On Mon, Oct 25, 2010 at 4:08 PM, Sughosh Ganu urwithsughosh@gmail.com wrote:
Enable board_init_f to be overridden with a board specific funtion.
Signed-off-by: Sughosh Ganu urwithsughosh@gmail.com
Applies to c163f4478ca72f51b28b55f74addc8fe029d7b83 of git://git.denx.de/u-boot.git.
This patch has checkpatch.pl warnings: WARNING: space prohibited between function name and open parenthesis '(' #94: FILE: nand_spl/nand_boot.c:225: +void __board_init_f (ulong bootflag)
WARNING: line over 80 characters #99: FILE: nand_spl/nand_boot.c:230: +void board_init_f (ulong bootflag)__attribute__((weak, alias("__board_init_f")));
WARNING: space prohibited between function name and open parenthesis '(' #99: FILE: nand_spl/nand_boot.c:230: +void board_init_f (ulong bootflag)__attribute__((weak, alias("__board_init_f")));
The resulting u-boot is usable; tested on da850evm with NAND, env.oob and tftp.
Best Regards, Ben Gardiner
--- Nanometrics Inc. http://www.nanometrics.ca