From: =?ISO-8859-1?Q?Andr=E9?= Schwarz Date: Fri, 01 Oct 2010 14:50:18 +0200 Subject: [U-Boot] [RFC] move nand_init after pci_init in arch/powerpc/lib/board.c ? Message-ID: <1285937418.2597.24.camel@swa-m460> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Actually I'm trying to implement a simple bitbanged Nand-Flash device connected to a PCI FPGA. I'm running latest U-Boot on mvBL-M7 board (MPC8343). Unfortunately nand_init() gets called before pci_init() within arch/powerpc/lib/board.c ? Is there any possibility to defer nand_init after pci_init ? To minimize impact we could introduce a second nand_init after pci_init depending on e.g. CONFIG_NAND_LATE_INIT ... of course being mutually exclusive with the first instance. Regards, Andr? MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner