]> git.sur5r.net Git - u-boot/commitdiff
common: Remove timer_init() call for x86
authorBin Meng <bmeng.cn@gmail.com>
Wed, 9 Dec 2015 01:31:40 +0000 (17:31 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Dec 2015 09:44:49 +0000 (17:44 +0800)
With driver model timer support, there should not be an explict
call to timer_init(). Remove this call for x86.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/board_f.c

index eac7c5e4c50bc7843e2d508978204b1766c60b70..b40735438b3d9898bee90c16e1c07b12830e917e 100644 (file)
@@ -825,7 +825,7 @@ static init_fnc_t init_sequence_f[] = {
        /* TODO: can we rename this to timer_init()? */
        init_timebase,
 #endif
-#if defined(CONFIG_X86) || defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
+#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
                defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32) || \
                defined(CONFIG_SPARC)
        timer_init,             /* initialize timer */