> -----Original Message----- > From: Mike Frysinger [mailto:vap...@gentoo.org] > Sent: Tuesday, March 31, 2009 9:12 AM > To: u-boot@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot