[U-Boot] [PATCH] ARM: add IDE init to lib_arm/board.c Part 1/1

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Dec 16 22:58:09 CET 2008


On 22:08 Thu 04 Dec     , Stefan Althoefer wrote:
> [PATCH] ARM: add IDE init to lib_arm/board.c
> 
> This patch adds ide_init() to the arm boot process.
> 
> 
> The patch is against "latest" u-boot git-repository
> 
> Please (still) be patient if style of submission or patches are
> offending.
> 
> Signed-off-by: Stefan Althoefer <stefan.althoefer at web.de>
> ----
> 
> diff -uprN u-boot-orig//lib_arm/board.c u-boot/lib_arm/board.c
> --- u-boot-orig//lib_arm/board.c	2008-12-02 17:25:32.000000000 +0100
> +++ u-boot/lib_arm/board.c	2008-12-02 23:29:36.000000000 +0100
> @@ -441,6 +441,11 @@ extern void davinci_eth_set_mac_addr (co
>  	}
>  #endif
>  
> +#if defined(CONFIG_CMD_IDE)
> +        puts("IDE:   ");
> +        ide_init();
> +#endif /* CONFIG_CMD_IDE */
are you sure it will work?

Best Regards,
J.


More information about the U-Boot mailing list