x86: baytrail: acpi: Fix I/O APIC ID in the MADT table
authorBin Meng <bmeng.cn@gmail.com>
Thu, 26 May 2016 02:19:13 +0000 (19:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 30 May 2016 02:21:12 +0000 (10:21 +0800)
commitd3d664725b4a05cf32d905ff806b44bb01fa61c0
treeff2ed626ac8e6ea9b345dab90fa72a3f32dda0a4
parente6ddb6b0135949e67bf5face7bdff522e493e1e2
x86: baytrail: acpi: Fix I/O APIC ID in the MADT table

So far this is hardcoded to 2, but it should really be read
from the I/O APIC register.

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