[U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the Spansion Flash

Hu Mingkai-B21284 Mingkai.Hu at freescale.com
Tue Mar 31 07:51:46 CEST 2009


 

> -----Original Message-----
> From: Mike Frysinger [mailto:vapier at gentoo.org] 
> Sent: Tuesday, March 31, 2009 9:12 AM
> To: u-boot at lists.denx.de
> Cc: Hu Mingkai-B21284; Fleming Andy-AFLEMING
> Subject: Re: [U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the 
> Spansion Flash
> 
> On Sunday 15 March 2009 22:52:18 Mingkai Hu wrote:
> > +int spansion_erase(struct spi_flash *flash, u32 offset, 
> size_t len) { 
> > +...
> > +		ret = spansion_wait_ready(flash, 2 * CONFIG_SYS_HZ);
> 
> there is a common define you should use instead: 
> SPI_FLASH_PAGE_ERASE_TIMEOUT -mike
> 

Thanks, Mike, I'll fix it.

Best Regards,
Mingkai


More information about the U-Boot mailing list