]> git.sur5r.net Git - u-boot/commitdiff
x86: broadwell: Correct I/O APIC ID
authorBin Meng <bmeng.cn@gmail.com>
Sun, 22 May 2016 08:45:35 +0000 (01:45 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:27:42 +0000 (15:27 +0800)
Currently ID 2 is assgined to broadwell I/O APIC, however per
chromebook_samus.dts 2 is the core#2 LAPIC ID. Now we change
I/O APIC ID to 4 to avoid conflict.

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

index f0798a7f9e02c61f681c30fbb2139867d95b7a1f..317f57d3f9819f3a2de1185955fd200c196536bd 100644 (file)
@@ -109,7 +109,8 @@ static void pch_enable_ioapic(void)
 {
        u32 reg32;
 
-       io_apic_set_id(0x02);
+       /* Make sure this is a unique ID within system */
+       io_apic_set_id(0x04);
 
        /* affirm full set of redirection table entries ("write once") */
        reg32 = io_apic_read(0x01);