Dear Albert ARIBAUD, In message <[email protected]> you wrote: > > As I said, u-boot-spl does not relocate, it only copies itself to its > link-time location and jumps there, and it does this only if loaded > somewhere else to boot (if I may say so). *Usually* it will be loaded at > the right place and thus won't copy itself and jump to itself. > > It still takes up some space, though. The copy and jump could actually > be #ifdef's on CONFIG_NAND_SPL if everyone thinks it is safe -- please > comment quickly as I'm preparing a patch set and that could go in it if > agreed to.
I think the overhead for the test, copy & jump code is small enough to always keep this in - id adds robustness at little cost. And if the code is correctly loaded, and no copy takes place, there is basicly zero runtime overhead either. 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: [email protected] A person who is more than casually interested in computers should be well schooled in machine language, since it is a fundamental part of a computer. -- Donald Knuth _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

