Patchwork [U-Boot,V2,20/24] SPEAr: Remove CONFIG_MTD_NAND_VERIFY_WRITE to speed up NAND access

login
register
mail settings
Submitter Amit Virdi
Date March 30, 2012, 6:55 a.m.
Message ID <4d411dd27bfe08c0a92bf7c97b00bf07cbd94695.1333090212.git.amit.virdi@st.com>
Download mbox | patch
Permalink /patch/149568/
State Accepted
Commit 8337aa5c0b22bc9e1d8ae9d7b2270735670233bd
Delegated to: Stefan Roese
Headers show

Comments

Amit Virdi - March 30, 2012, 6:55 a.m.
When CONFIG_MTD_NAND_VERIFY_WRITE is defined, nand driver read back the data
everytime it writes. This process unnecessarily slows down the nand access.

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
---
 include/configs/spear-common.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 76248e6..673f483 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -104,7 +104,6 @@ 
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_NAND_FSMC
 #define CONFIG_SYS_MAX_NAND_DEVICE		1
-#define CONFIG_MTD_NAND_VERIFY_WRITE		1
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #define CONFIG_SYS_NAND_QUIET_TEST