net{space,xbig} TCLK determination

Lennert Buytenhek buytenh at wantstofly.org
Wed Oct 20 01:08:20 EDT 2010


Hi,

The net{space,xbig} board support files have this:

	static void netspace_v2_timer_init(void)
	{
		kirkwood_tclk = 166666667;
		orion_time_init(IRQ_KIRKWOOD_BRIDGE, kirkwood_tclk);
	}

This is a pretty ugly hack -- if kirkwood_find_tclk() is not
determining the right TCLK on these boards, then that would be the
real bug, and it should be fixed there, and not by putting hacks
like these in board support files.


thanks,
Lennert



More information about the linux-arm-kernel mailing list