[U-Boot-Users] [PATCH] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver

Wolfgang Grandegger wg at grandegger.com
Mon Jun 2 14:59:08 CEST 2008


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 <wg at grandegger.com>
> 
> Acked-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> 
> [...]
>> @@ -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.




More information about the U-Boot mailing list