u-boot/arch/x86
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
..
cpu x86: spi: Add a way to access the SPI mapping via registers 2020-06-02 09:16:13 +08:00
dts x86: apl: Use devicetree for FSP-S configuration 2020-05-27 14:40:09 +08:00
include/asm x86: spi: Add a way to access the SPI mapping via registers 2020-06-02 09:16:13 +08:00
lib cbfs: Don't require the CBFS size with cbfs_init_mem() 2020-05-27 14:40:09 +08:00
config.mk kconfig / kbuild: Re-sync with Linux 4.19 2020-04-10 11:18:32 -04:00
Kconfig x86: Add support for ACPI general-purpose events 2020-02-07 22:46:35 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00