[U-Boot] [PATCH 1/2] [NEXT] orion5x: fix relocation-incompatible code

Albert ARIBAUD albert.aribaud at free.fr
Thu Sep 23 18:28:27 CEST 2010


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.


More information about the U-Boot mailing list