From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Date: Mon, 02 Jun 2008 14:59:08 +0200 Subject: [U-Boot-Users] [PATCH] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver In-Reply-To: <20080602114534.GB25335@polina.dev.rtsoft.ru> References: <4843C81B.2000507@grandegger.com> <20080602114534.GB25335@polina.dev.rtsoft.ru> Message-ID: <4843EE9C.2060206@grandegger.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Anton Vorontsov wrote: > On Mon, Jun 02, 2008 at 12:14:51PM +0200, Wolfgang Grandegger wrote: >> MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver >> >> This patch is based on the following patch sent a few minutes ago: >> "[PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback" >> It is untested, of course. Anton, could you please give it a try. >> >> Signed-off-by: Wolfgang Grandegger > > Acked-by: Anton Vorontsov > > [...] >> @@ -68,5 +89,9 @@ int board_nand_init(struct nand_chip *na >> fun.upm.mxmr = &im->lbus.mamr; >> fun.upm.mdr = &im->lbus.mdr; >> fun.upm.mar = &im->lbus.mar; >> + >> + if (!upm_setup_done) > > Not sure if this is really needed for this board though, nobody will > call this function more than once... Right, also because io_addr is hard coded. I will remove it. Wolfgang.