Dear Nishanth Menon, In message <j2h782515bb1005060354tc4574d80wb4a1aa3a2b40b...@mail.gmail.com> 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: w...@denx.de Always leave room to add an explanation if it doesn't work out. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot