From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Althoefer Date: Wed, 17 Dec 2008 00:19:03 +0100 Subject: [U-Boot] [PATCH] ARM: add IDE init to lib_arm/board.c Part 1/1 In-Reply-To: <20081216215809.GJ24266@game.jcrosoft.org> References: <49384718.RDeSlY+9Cb0AIN+u%stefan.althoefer@web.de> <493846e5.IKdOHwF2kDjrnHN0%stefan.althoefer@web.de> <20081216215809.GJ24266@game.jcrosoft.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jean-Christophe PLAGNIOL-VILLARD schrieb: >> >> 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. On my board (Janz emPC-A400 with IXP425) it does. With some more patches to add IDE to this board. What is your doubt? If you see problems, drop this. I can also add IDE to board_late_init(). -- Stefan