From: Mike Frysinger Date: Mon, 30 Mar 2009 21:12:08 -0400 Subject: [U-Boot] [PATCH 2/7] mtd: SPI Flash: Support the Spansion Flash In-Reply-To: <1237171943-11938-2-git-send-email-Mingkai.hu@freescale.com> References: <1237171943-11938-1-git-send-email-Mingkai.hu@freescale.com> <1237171943-11938-2-git-send-email-Mingkai.hu@freescale.com> Message-ID: <200903302112.09747.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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