Le 23/09/2010 11:32, Albert ARIBAUD a écrit : > Ok for misc_init_r() rather than arch_misc_init(). However I think this > function is not timer-specific and thus belongs more to cpu.c than timer.c.
Following-up on myself: according to a find on the whole u-boot tree, misc_init_r is uniformously used from board directories, which makes it a de facto board-specific, not SoC-specific, init function, whereas arch_misc_init is only used in SoC directories -- only by orion5x and kirkwood, actually :) -- which makes it a de facto SoC init function. As the timer_init_r code is SoC-, not board-, specific, I think it belongs more to arch_misc_init and to misc_init_r. Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot