Kirkwood: allow to override CONFIG_SYS_TCLK
authorSimon Guinot <sguinot@lacie.com>
Tue, 3 May 2011 15:47:34 +0000 (21:17 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 11 May 2011 21:03:15 +0000 (23:03 +0200)
commit29d53d19f3d0ed6505f52b459e3a092b93f641b5
tree00bfe45eacf8a251df15b339696682e2dffcd07d
parent2f22045be5590e3034b0d55cac9fd050f7837a17
Kirkwood: allow to override CONFIG_SYS_TCLK

This patch allow to override CONFIG_SYS_TCLK from board configuration
files. This is needed for the Network Space v2 which use a non standard
core clock frequency (166MHz instead of 200MHz for a 6281 SoC).

As a possible enhancement for 6281 and 6282 devices, TCLK could be
dynamically detected by checking the Sample at Reset register bit 21.

Additionally this patch fix a typo.

Signed-off-by: Simon Guinot <sguinot@lacie.com>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
arch/arm/include/asm/arch-kirkwood/kw88f6281.h