From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 22 Apr 2010 10:39:13 -0500 Subject: [U-Boot] [PATCH 11/17] SPEAr : Configuring FSMC driver for NAND interface In-Reply-To: <4BCFCEAF.30908@st.com> References: <1271836483-15978-3-git-send-email-vipin.kumar@st.com> <1271836483-15978-4-git-send-email-vipin.kumar@st.com> <1271836483-15978-5-git-send-email-vipin.kumar@st.com> <1271836483-15978-6-git-send-email-vipin.kumar@st.com> <1271836483-15978-7-git-send-email-vipin.kumar@st.com> <1271836483-15978-8-git-send-email-vipin.kumar@st.com> <1271836483-15978-9-git-send-email-vipin.kumar@st.com> <1271836483-15978-10-git-send-email-vipin.kumar@st.com> <1271836483-15978-11-git-send-email-vipin.kumar@st.com> <1271836483-15978-12-git-send-email-vipin.kumar@st.com> <20100421170247.GA26908@schlenkerla.am.freescale.net> <4BCFCEAF.30908@st.com> Message-ID: <4BD06DA1.6020800@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Vipin KUMAR wrote: > On 4/21/2010 10:32 PM, Scott Wood wrote: >> On Wed, Apr 21, 2010 at 01:24:37PM +0530, Vipin KUMAR wrote: >>> diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c >>> index 1207709..3ac62d1 100644 >>> --- a/board/spear/spear310/spear310.c >>> +++ b/board/spear/spear310/spear310.c >>> @@ -29,7 +29,8 @@ >>> #include >>> #include >>> #include >>> -#include >>> + >>> +int fsmc_nand_init(struct nand_chip *nand); >> Put it in a header file. >> > > Should I put it in a platform specific header file. That's where I was > confused Put it in fsmc_nand.h, and move that file to an include directory. -Scott