u-boot/arch/x86/cpu
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
..
apollolake x86: apl: Use devicetree for FSP-S configuration 2020-05-27 14:40:09 +08:00
baytrail common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
braswell common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
broadwell common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
coreboot x86: coreboot: add SMBIOS cbmem entry parsing 2020-05-27 14:40:09 +08:00
efi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
i386 common: Drop asm/ptrace.h from common header 2020-05-18 21:19:23 -04:00
intel_common x86: spi: Add a way to access the SPI mapping via registers 2020-06-02 09:16:13 +08:00
ivybridge common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
qemu common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
quark common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
queensbay common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
slimbootloader common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tangier common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
x86_64 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
acpi_gpe.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
call32.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
cpu_x86.c x86: cpu_x86: Make cpu_x86_get_count() non-static 2020-03-05 18:25:22 +08:00
cpu.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ioapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
irq.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lapic.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile x86: coreboot: Allow building an SPL image 2020-05-04 15:28:28 +08:00
mp_init.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mtrr.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
qfw_cpu.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
resetvec.S x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
sipi_vector.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start16.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
start64.S x86: start64: Fix copyright message 2019-05-08 13:02:10 +08:00
start_from_spl.S x86: Use the existing stack when chain-loading 2020-04-30 17:48:17 +08:00
start_from_tpl.S x86: Add more comments to the start-up code 2019-10-08 13:57:36 +08:00
start.S Revert "x86: use invd instead of wbinvd in real mode start code" 2020-03-05 18:19:40 +08:00
turbo.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds x86: Define the SPL image start 2019-12-15 11:44:12 +08:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S x86: Move acpi_s3.h to include/acpi/ 2020-04-16 14:36:28 +08:00