]> git.sur5r.net Git - u-boot/commit
x86: Move lapic_setup() call into init_bsp()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Jun 2015 03:15:37 +0000 (11:15 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:16 +0000 (18:03 -0600)
commit61788e468ebe4a7b8c852ab4e761e084a7975a93
tree8dc86502e078aca895962820d8fe62b6b82f8f71
parent6e6f4ce4f82501e35301322872152fe28846d743
x86: Move lapic_setup() call into init_bsp()

Currently lapic_setup() is called before calling mp_init(), which
then calls init_bsp() where it calls enable_lapic(), which was
already enabled in lapic_setup(). Hence move lapic_setup() call
into init_bsp() to avoid the duplication.

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