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

Mike Frysinger vapier at gentoo.org
Tue Mar 31 03:12:08 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090330/541e4f5f/attachment.pgp 


More information about the U-Boot mailing list