src/soc/intel/apollolake/cpu.c: Set up local APIC
commite4cb23c68225d2973f771d61b5dc7725a1c92c2f
authorMario Scheithauer <mario.scheithauer@siemens.com>
Thu, 7 Mar 2019 08:48:33 +0000 (7 09:48 +0100)
committerNico Huber <nico.h@gmx.de>
Fri, 8 Mar 2019 14:14:41 +0000 (8 14:14 +0000)
tree51a8f8ad7c89f65d1b451a9e0815333665d47707
parentbe11236a4d9934c93ee284167e86386db3205d35
src/soc/intel/apollolake/cpu.c: Set up local APIC

Some Apollo Lake mainboards use SeaBIOS as payload. SeaBIOS requires the
initialization of the programmable interrupt controller (PIC) for
faultless operation. The PIC mode is need for USB support (e.g.
keyboard, memory stick) and for some Option ROMs (e.g. PXE ROM).
Therefore add setup_lapic() to configure the APIC.

Change-Id: I00b339ce1850729023db74da7f8845927a95dcc6
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31802
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/intel/apollolake/cpu.c