From bc912e78f4bad932096633815139cd003ad5c485 Mon Sep 17 00:00:00 2001
From: Vipin Kumar <vipin.kumar@st.com>
Date: Mon, 7 May 2012 13:06:57 +0530
Subject: [PATCH] SPEAr: Enable ONFI nand flash detection for spear3xx and 6xx
 and evb

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
---
 include/configs/spear-common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 4f067ebf4d..aa9ec5d951 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -106,6 +106,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
+#define CONFIG_SYS_NAND_QUIET_TEST
 
 /*
  * Command support defines
-- 
2.39.5