u-boot-brain/arch/x86/cpu/intel_common
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
..
car.S x86: Update a stale comment about ifdtool 2019-05-08 13:02:10 +08:00
car2_uninit.S x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
car2.S x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
cpu_from_spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
cpu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fast_spi.c x86: spi: Add a way to access the SPI mapping via registers 2020-06-02 09:16:13 +08:00
itss.c x86: apl: Fix save/restore of ITSS priorities 2020-07-17 14:32:24 +08:00
lpc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
lpss.c x86: Add low-power subsystem (lpss) support 2019-12-15 11:44:25 +08:00
Makefile x86: coreboot: Allow building an SPL image 2020-05-04 15:28:28 +08:00
me_status.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
microcode.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mrc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
p2sb.c x86: apl: Hide the p2sb on exit from U-Boot 2020-07-17 14:32:24 +08:00
pch.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
report_platform.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00