Le 12/11/2010 08:19, Heiko Schocher a écrit : >> One further thought, why not init the reserved register in assembly and >> remove the gd relevant code in C? But that bears some risk if the register >> is changed and the assembly is forgotten to adapt.. > > No, I think this is to risky ...
It is absolutely not risky. It is simply infeasible. :) Different ARM toolchains use registers in different ways. Go from one toolchain to another, or from one *version* of a toolchain to another, and your "reserved" register is not any more. Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot