On Tue, Dec 7, 2010 at 9:36 AM, Wolfgang Denk <w...@denx.de> wrote: > Dear Joakim Tjernlund, > > In message > <ofee7adeea.47556dd1-onc12577f1.006faf8d-c12577f1.0071c...@transmode.se> you > wrote: >>
[snip] >> The other way is to look up one those funs and set a BP there and hope >> for the best. Then repeat with the next function and so on. >> Compare that with just setting a BP in the new init_sequence(), it is >> fast and easy to move around. > > ...but ugly to read. And if you really want to introduce this style, > it has to be done for all architectures, as I want to see this code to > become common across architectures. > Moving away from the array based init sequence also promotes the posibility to break away from the very strict function prototype (void parameter returning int) which will lead to even more ugliness in the future Regards, Graeme _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot