]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Remove usage of CEVT_R4K_LIB config option.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 30 Nov 2012 16:27:27 +0000 (17:27 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Nov 2012 16:27:27 +0000 (17:27 +0100)
commit71ece74368347d5e522850cb3748388b2b71c44c
tree212c24e3dba626c4b8730e1733e8d5e85223e770
parent8503385eca9b488100a89c2e029ff00449f1f7b1
MIPS: Remove usage of CEVT_R4K_LIB config option.

Manuel Lauss <manuel.lauss@gmail.com> writes:

I introduced it as a fallback because early revisions of Alchemy hardware
we shipped had a non-functional 32kHz timer and had to rely on the r4k
timer instead.  Previously the r4k timer was initialized regardless, but
it's useless with the "wait" instruction.

So long story short:   I need either the on-chip 32kHz timer OR the r4k
timer if the 32kHz one is unusable, but not both, and r4k timer is useless
when au1k_idle is in use.

The current in-kernel Alchemy boards all work with the 32kHz timer, so I'm
not against removing R4K_LIB symbols.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/time.h
arch/mips/kernel/Makefile