]> git.sur5r.net Git - u-boot/commit
x86: Tidy up mp_init to reduce duplication
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:28:22 +0000 (19:28 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:23 +0000 (10:27 +0800)
commit2254e34c3fe5b2545dcad06774a426b2f881a090
tree5cf91b525b03a746670b8b3bbed9f4331b74ece2
parentfde467772b763d9f3a4252e49af18957f0a0dfa3
x86: Tidy up mp_init to reduce duplication

The timeout step is always 50us. By updating apic_wait_timeout() to print
the debug messages we can simplify the code. Also tidy up a few messages and
comments while we are here.

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