From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Virdi Date: Tue, 27 Mar 2012 11:39:59 +0530 Subject: [U-Boot] [PATCH 20/25] SPEAr: Enable ONFI nand flash detection for spear3xx and 6xx and evb In-Reply-To: <201203071534.08243.sr@denx.de> References: <1331121854-20494-1-git-send-email-amit.virdi@st.com> <1331121854-20494-21-git-send-email-amit.virdi@st.com> <201203071534.08243.sr@denx.de> Message-ID: <4F7159B7.7000602@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan, On 3/7/2012 8:04 PM, Stefan Roese wrote: > On Wednesday 07 March 2012 13:04:09 Amit Virdi wrote: >> From: Vipin Kumar >> >> Signed-off-by: Vipin Kumar >> Signed-off-by: Amit Virdi >> --- >> include/configs/spear-common.h | 2 ++ >> 1 files changed, 2 insertions(+), 0 deletions(-) >> >> diff --git a/include/configs/spear-common.h >> b/include/configs/spear-common.h index bde99d2..4fb56ba 100644 >> --- a/include/configs/spear-common.h >> +++ b/include/configs/spear-common.h >> @@ -104,6 +104,8 @@ >> #define CONFIG_NAND_FSMC >> #define CONFIG_SYS_MAX_NAND_DEVICE 1 >> #define CONFIG_MTD_NAND_VERIFY_WRITE 1 >> +#define CONFIG_SYS_NAND_ONFI_DETECTION 1 >> +#define CONFIG_SYS_NAND_QUIET_TEST 1 > > Remove the "1"'s please. And please also remove CONFIG_MTD_NAND_VERIFY_WRITE. > Or is it really needed? I didn't need it on my SPEAr600 boards. And it slows > NAND access unnecessarily down. > Yes, CONFIG_MTD_NAND_VERIFY_WRITE slows down the NAND access. Since it is only for verification purposes, I'll remove it in V2. Thanks Amit Virdi