]> git.ipfire.org Git - people/ms/u-boot.git/commit
x86: Move i8254_init() to x86_cpu_init_f()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 9 Dec 2015 01:31:39 +0000 (17:31 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Dec 2015 09:44:44 +0000 (17:44 +0800)
commit4932443d260d23c882e48eefcc66a83dfca7ee5a
tree35326f67305f69e945eff5b9bd16ba41cd2b149d
parentc5c5c201fe37a02e9edf99b0a2ba9353d9d55ddf
x86: Move i8254_init() to x86_cpu_init_f()

Right now i8254_init() is called from timer_init() in the tsc timer
driver. But actually i8254 and tsc are completely different things.
Since tsc timer has been converted to driver model, we should find
a new place that is appropriate for U-Boot to call i8254_init(),
which is now x86_cpu_init_f().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/cpu.c
drivers/timer/tsc_timer.c