u-boot-brain/arch/x86/cpu/apollolake
Simon Glass b95611f67e x86: apl: Fix save/restore of ITSS priorities
The FSP-S changes the ITSS priorities. The code that tries to save it
before running FSP-S and restore it afterwards does not work as U-Boot
relocates in between the save and restore. This means that the driver
data saved before relocation is lost and the new driver just sees zeroes.

Fix this by allocating space in the relocated memory for the ITSS data.
Save it there and access it from the driver after relocation.

This fixes interrupt handling on coral.

Also drop the log_msg_ret() in irq_first_device_type() since this function
can be called speculatively in places where we are not sure if there is
an interrupt controller of that type. The resulting log errors are
confusing when there is no error.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
2020-07-17 14:32:24 +08:00
..
cpu_common.c x86: apl: Add a CPU driver 2019-12-15 11:44:29 +08:00
cpu_spl.c x86: Avoid #ifdef with CONFIG_HAVE_ACPI_RESUME 2020-07-17 14:32:24 +08:00
cpu.c x86: apl: Use cpu_x86_get_count() for cpu_ops.get_count 2020-03-05 18:25:22 +08:00
fsp_bindings.c x86: apl: Use devicetree for FSP-S configuration 2020-05-27 14:40:09 +08:00
fsp_m.c x86: fsp: Support a warning message when DRAM init is slow 2020-07-17 14:32:24 +08:00
fsp_s.c x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
hostbridge.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig x86: coral: Add I2C and TPM device-tree definitions 2020-02-07 22:46:35 +08:00
lpc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: apl: Re-enable loading of SPL 2020-07-09 12:33:24 +08:00
pch.c x86: apl: Add PCH driver 2019-12-15 11:44:28 +08:00
pmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
punit.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
systemagent.c x86: apl: Add systemagent driver 2019-12-15 11:44:27 +08:00
uart.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00