coreboot/src/drivers
Werner Zeh f1f67c3b75 siemens/nc_fpga: Set FW_DONE bit before jumping to payload
Once coreboot is ready and payload has been loaded a bit inside the NC
FPGA needs to be set to notify this event. As there are NC FPGAs with
different PCI device IDs save the BAR0 address in a global variable once
the driver evaluates this address. It can then be used to access the
register from the boot state machine callback without the need of searching
for all possible PCI devices again.

As this driver is only used at ramstage there is no need of using
CAR_GLOBAL for the global variable. Use a Kconfig switch to make this
feature selectable from mainboard as not every mainboard may have a FPGA
with that capability.

Change-Id: I9cd09e7051edde30d144a7e020b84bb549e9e8b9
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/22138
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-11-03 16:20:15 +00:00
..
amd/agesa AGESA: Move API interface under drivers/ 2017-09-26 10:07:07 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
aspeed src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
ati/ragexl src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog elog: Support logging S0ix sleep/wake info in elog 2017-10-19 00:42:49 +00:00
emulation/qemu src/drivers: Add license headers 2017-06-12 04:08:14 +02:00
generic device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c Use stopwatch_wait_until_expired where applicable 2017-09-26 16:53:28 +00:00
intel drivers/intel/fsp2_0/hob_verify: Correct conversion specifier 2017-11-03 15:23:06 +00:00
ipmi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
lenovo mb/lenovo/t*00/romstage: Switch to new hybrid driver 2017-08-10 16:06:26 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
net drivers/net/r8168: Add customized LED mode 2017-11-01 17:36:38 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
ricoh/rce822 buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
siemens/nc_fpga siemens/nc_fpga: Set FW_DONE bit before jumping to payload 2017-11-03 16:20:15 +00:00
sil/3114 src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
spi spi/tpm: Make sure AP properly syncs up with Cr50 2017-11-01 18:02:43 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart drivers/uart8250mem: Check for zero base address 2017-10-16 00:12:35 +00:00
usb drivers/usb/Kconfig: remove USBDEBUG_DONGLE_BEAGLEBONE_BLACK 2017-09-28 01:32:49 +00:00
xgi src/drivers: Fix checkpatch warning: no spaces at the start of a line 2017-07-28 16:24:57 +00:00
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00