u-boot/arch/x86/cpu/intel_common
Simon Glass 8e2922e357 x86: spi: Add a way to access the SPI mapping via registers
At present the PCI BDF (bus/device/function) is needed to access the SPI
mapping, since the registers are at BAR0. This doesn't work when PCI
auto-config has not been done yet, since BARs are unassigned.

Add another way to find the mapping, using the MMIO base, if the caller
knows this.

Also add a missing function comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2020-06-02 09:16:13 +08:00
..
car.S x86: Update a stale comment about ifdtool 2019-05-08 13:02:10 +08:00
car2.S x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
car2_uninit.S x86: Add support for newer CAR schemes 2019-12-15 11:44:18 +08:00
cpu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cpu_from_spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -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 common: Drop log.h from common header 2020-05-18 21:19:18 -04: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 common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04: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