Move linux 2.6.11 workaround to generic code
authorPatrick Georgi <patrick@georgi-clan.de>
Fri, 14 Oct 2011 21:02:57 +0000 (23:02 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 27 Oct 2011 17:09:29 +0000 (19:09 +0200)
commit07b4215e11537bcbef3848bb520fa201fbcc4eda
tree12d1c409c17cbab6ba8a09a33f0f21311f0b33e4
parente572ef6136114c3cac09b061c6888e44d39d36a5
Move linux 2.6.11 workaround to generic code

Linux 2.6.11 seems to require a certain order in CPUs listed in mptable,
so enforce it. This was only done on arima/hdama, but now is generic.
Unfortunately this is somewhat slow.

Change-Id: I85715ebae8a009cb816bc9ffd6372708f246bf66
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/280
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/arch/x86/boot/mpspec.c
src/mainboard/arima/hdama/mptable.c