From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Mon, 28 Dec 2015 09:34:52 +0800 Subject: [U-Boot] [PATCH 3/5] altera_qspi: skip erase if the sector is blank In-Reply-To: <1450918284-16174-3-git-send-email-thomas@wytron.com.tw> References: <1450918284-16174-1-git-send-email-thomas@wytron.com.tw> <1450918284-16174-3-git-send-email-thomas@wytron.com.tw> Message-ID: <568091BC.8050307@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2015?12?24? 08:51, Thomas Chou wrote: > Skip erase if the sector is blank. The sector erase is slow, and > may take 0.7 sec typically or up to 3 sec worst-case. > > Signed-off-by: Thomas Chou > --- > drivers/mtd/altera_qspi.c | 39 +++++++++++++++++++++++++-------------- > 1 file changed, 25 insertions(+), 14 deletions(-) > Applied to u-boot-nios.