Hi Ralf ! On 5/11/07, Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote:
On Sun, May 06, 2007 at 01:03:13AM +0900, Atsushi Nemoto wrote: > How about keeping board_time_init pointer as is and adding > plat_clk_setup only for simple platforms? The idea of having such function pointer is quite nice. In theory. In
what about using function with weak attribute instead ? There's no more need for a function pointer and no needs to initialise it too...
practice it seems alot of people who are bringing up Linux on a new platform miss those hooks. A new mandatory platform hook that if missing is resulting in a linker error is preferable, I think.
Ok, but do you agree that we now need to call this hook earlier during the boot process ? Thanks -- Franck