From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 06 May 2010 13:03:24 +0200 Subject: [U-Boot] [RESEND:PATCH-V4] OMAP3EVM: Added NAND support In-Reply-To: References: <1272034546-26041-2-git-send-email-hvaibhav@ti.com> <20100505200120.4244CE59F7E@gemini.denx.de> <19F8576C6E063C45BE387C64729E7394044E351B9F@dbde02.ent.ti.com> <20100506105026.A80E4E8AAC9@gemini.denx.de> Message-ID: <20100506110324.1AC1CE8AAC9@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 Nishanth Menon, In message you wrote: > > your points are valid, two options as I see here: > a) build configurations - nand_boot, nor_boot etc.. > b) IMHO, the better solution would be to allow the same u-boot to boot > from all devices (nand, nor, onenand, mmc) without needing a rebuild. b) is clearly the better and more user-friendly solution. > but the neccessity for that is to have environment variable which can > be moved around.. ... Hm... really? Assuming that all the storage devices are always present, you can decide to use one standard location for the environment independent of where the U-Boot image gets loaded from (that may actually be considered an advantage by some). > ... TI has an implementation based on an ancient u-boot > which actually does this, it will be interesting to know if there are > others who may be interested in a similar feature in mainline u-boot. Sure - please post a patch (as RFC) so we can see what you have in mind. 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 Always leave room to add an explanation if it doesn't work out.