From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 15 Jul 2010 23:41:57 +0200 Subject: [U-Boot] [PATCH 08/28] SPEAr : FSMC driver support added In-Reply-To: <1279084204-3263-9-git-send-email-vipin.kumar@st.com> References: <1279084204-3263-1-git-send-email-vipin.kumar@st.com> <1279084204-3263-2-git-send-email-vipin.kumar@st.com> <1279084204-3263-3-git-send-email-vipin.kumar@st.com> <1279084204-3263-4-git-send-email-vipin.kumar@st.com> <1279084204-3263-5-git-send-email-vipin.kumar@st.com> <1279084204-3263-6-git-send-email-vipin.kumar@st.com> <1279084204-3263-7-git-send-email-vipin.kumar@st.com> <1279084204-3263-8-git-send-email-vipin.kumar@st.com> <1279084204-3263-9-git-send-email-vipin.kumar@st.com> Message-ID: <20100715214157.45554153A7E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Vipin KUMAR, In message <1279084204-3263-9-git-send-email-vipin.kumar@st.com> you wrote: > From: Vipin KUMAR > > Flexible static memory controller is a peripheral provided by ST, > which controls the access to NAND chips along with many other > memory device chips eg NOR, SRAM. > > This patch adds the driver support for FSMC controller interfacing > with NAND memory. > > Signed-off-by: Vipin Kumar ... > +static void fsmc_nand_hwcontrol(struct mtd_info *mtd, int cmd, uint ctrl) > +{ > + struct nand_chip *this = mtd->priv; > + ulong IO_ADDR_W; We don't allow for CAPITAL C identifiers - these are reserved for macros. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Bus error -- please leave by the rear door.