Dear Matthias Fuchs, In message <4ff306fc.9040...@esd.eu> you wrote: > > > This is normal, and documented. Before relocation, you must not use > > getenv(). > Yes, I am aware of this. I even think that the getenv() implementation > falls back to getenv_f() before relocation.
This is not guaranteed to work. > Yes, I did not care about where my env comes from :-) So env_sf.c does > not support an early env at all. Running on an i.MX28 with env in a SPI > flash I probably need SPI support in my SPL and an improved env_sf.c. This is a bigger topic. We all wait anxiously for Mareks group to implement a clean device driver model, so we can clean up and unify all this code. I am aware that it needs it. 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 "Remember, Information is not knowledge; Knowledge is not Wisdom; Wisdom is not truth; Truth is not beauty; Beauty is not love; Love is not music; Music is the best." - Frank Zappa _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot