From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 06 May 2010 12:56:26 +0200 Subject: [U-Boot] [PATCH-V2 4/4] AM35x: Add support for EMIF4 In-Reply-To: <19F8576C6E063C45BE387C64729E7394044E351BE7@dbde02.ent.ti.com> References: <1272034546-26041-6-git-send-email-hvaibhav@ti.com> <20100505201402.DA084B0FF81@gemini.denx.de> <19F8576C6E063C45BE387C64729E7394044E351BE7@dbde02.ent.ti.com> Message-ID: <20100506105626.3D32CE8AAC9@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 "Hiremath, Vaibhav", In message <19F8576C6E063C45BE387C64729E7394044E351BE7@dbde02.ent.ti.com> you wrote: > > > > void sdrc_init(void); > > > void do_sdrc_init(u32, u32); > > > #endif > > > +#if defined(CONFIG_EMIF4) > > > +void emif4_init(void); > > > +#endif > > > > I guess you can omit the #ifdef here, right? > > > [Hiremath, Vaibhav] Denk, > > We have OMAP families supporting both SDRC and EMIF4 (obviously mutually ex > clusive), so we need to add this #ifdef. What makes you think you need it? Did you try what happens when you just remove the #if/#endif ? 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 Given a choice between two theories, take the one which is funnier.