From: Wolfgang Denk Date: Wed, 06 Oct 2010 22:40:47 +0200 Subject: [U-Boot] [RFC PATCH 1/2 v2] nand: allow delayed initialization In-Reply-To: <201010031819.35739.vapier@gentoo.org> References: <1285112736-15121-1-git-send-email-vapier@gentoo.org> <201010031632.47732.vapier@gentoo.org> <20101003214032.E901A1539A0@gemini.denx.de> <201010031819.35739.vapier@gentoo.org> Message-ID: <20101006204047.D1B691539A0@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 Mike Frysinger, In message <201010031819.35739.vapier@gentoo.org> you wrote: > > > Why cannot we call nand_init() multiple times, then? > > because of the whole of my statement. i did not want to affect code size if > this option was disabled. > > in a preious patch, i had the env code doing: > #ifdef CONFIG_SYS_NAND_DELAYED_INIT > nand_init(); > #endif > > but i thought it made more sense to rework it so the #ifdef existed in one> > place (the header) and not in the source. I'm not sure where we are with this. Do you plan to post an update? 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 I am pleased to see that we have differences. May we together become greater than the sum of both of us. -- Surak of Vulcan, "The Savage Curtain", stardate 5906.4