coreboot/src/include
Marc Jones dbb9205ee2 baytrail: Switch from ACPI mode to PCI mode for legacy support
Most Baytrail based devices MMIO registers are reported in ACPI
space and the device's PCI config space is disabled. The PCI config
space is required for many "legacy" OSs that don't have the ACPI
driver loading mechanism. Depthcharge signals the legacy boot
path via the SMI 0xCC and the coreboot SMI handler can switch the
device specific registers to re-enable PCI config space.

BUG=chrome-os-partner:30836
BRANCH=None
TEST=Build and boot Rambi SeaBIOS.

Change-Id: Ia5e54f4330eda10a01ce3de5aa4d86779d6e1bf9
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: https://chromium-review.googlesource.com/219801
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Mike Loptien <mike.loptien@se-eng.com>
Tested-by: Mike Loptien <mike.loptien@se-eng.com>
2014-09-26 20:16:14 +00:00
..
boot vpd: retrieve mac addresses and pass them to bootloader 2014-09-24 08:55:57 +00:00
console arm, arm64, x86: add vprintk to early console 2014-08-30 09:15:26 +00:00
cpu baytrail: Switch from ACPI mode to PCI mode for legacy support 2014-09-26 20:16:14 +00:00
device i2c: Add software_i2c driver for I2C debugging and emulation 2014-05-19 20:34:31 +00:00
pc80 rtc: Add an RTC API, and implement it for x86. 2014-05-02 23:55:47 +00:00
smp Clean up #ifs 2012-05-08 00:34:34 +02:00
tpm_lite vboot2: read secdata and nvdata 2014-07-23 02:29:18 +00:00
antirollback.h vboot2: read secdata and nvdata 2014-07-23 02:29:18 +00:00
assert.h gen: Add "assert" in assert.h. 2014-02-27 05:38:28 +00:00
bcd.h rtc: Add an RTC API, and implement it for x86. 2014-05-02 23:55:47 +00:00
boardid.h Use a common boardid.h instead of per board copies 2014-07-25 03:45:43 +00:00
bootstate.h Rename hardwaremain() to main() 2013-05-10 11:55:20 -07:00
cbfs.h vboot2: load decompressed stage directly to load address 2014-09-19 23:56:22 +00:00
cbfs_core.h cbfs: add cbfs_read() 2014-06-28 02:52:11 +00:00
cbmem.h arm64: add spintable support 2014-09-19 02:59:14 +00:00
delay.h coreboot ARM: Get rid of HAVE_INIT_TIMER config option 2014-05-07 23:30:33 +00:00
edid.h Peppy graphics 2013-09-27 23:07:14 +00:00
ehci.h Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
elog.h elog: Add event type for CPU thermal trip 2014-05-12 22:12:36 +00:00
endian.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
fallback.h Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
gic.h drivers: add GIC support 2014-09-17 01:23:56 +00:00
gpiolib.h fix how to interpret board id read from gpios 2014-08-09 07:05:56 +00:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h Primitive memory test 2014-07-03 02:56:56 +00:00
memory_info.h smbios: add funtion for smbios type17 2014-08-12 02:40:38 +00:00
memrange.h coreboot memrange: Changes to memrange lib 2014-07-22 01:23:24 +00:00
ramstage_cache.h ramstage_cache: allow ramstage usage add valid helper 2013-12-13 00:07:08 +00:00
reg_script.h reg_script: Fix bug in IO macros 2014-04-23 02:50:42 +00:00
reset.h vboot2: implement select_firmware for pre-romstage verification 2014-06-30 18:45:09 +00:00
rmodule-defs.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
rmodule.h rmodules: add support for rmodtool 2014-03-31 22:25:57 +00:00
romstage_handoff.h coreboot: dynamic cbmem requirement 2013-03-22 00:13:42 +01:00
rtc.h rtc: Add an RTC API, and implement it for x86. 2014-05-02 23:55:47 +00:00
sdram_mode.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbios.h smbios: add a family id in smbios type1 family 2014-09-19 02:59:43 +00:00
spd.h smbios: add funtion for smbios type17 2014-08-12 02:40:38 +00:00
spd_ddr2.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spi-generic.h spi: Change spi_xfer to work in units of bytes instead of bits. 2014-04-02 04:25:16 +00:00
spi_flash.h spi: Remove unused parameters from spi_flash_probe and setup_spi_slave. 2014-04-01 23:21:22 +00:00
stddef.h Add and consistently use wrapper macro for romstage static variables 2014-06-09 22:21:10 +00:00
stdlib.h exynos5420: Fix mmc clock source. 2013-08-22 16:03:17 -07:00
string.h BACKPORT: string: Add STRINGIFY macro 2013-05-01 14:29:58 -07:00
swab.h Add macros for 64bit byte order swapping 2011-10-21 14:13:19 +02:00
thread.h Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
timer.h timer: add stopwatch construct 2014-09-26 17:32:51 +00:00
timestamp.h Timestamp implementation for ARMv7 2013-08-02 12:16:42 -07:00
tpm.h tpm: Clean up I2C TPM driver 2013-11-11 23:47:09 +00:00
trace.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
types.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
uart.h ipq8064: prepare include files before adding UART driver 2014-04-25 01:48:53 +00:00
uart8250.h UART 8250: Unconditionally provide register constants and use UART8250 prefix. 2013-10-02 09:18:38 +00:00
usb_ch9.h USB Debug Port related license header fixes (trivial). 2010-09-23 18:16:46 +00:00
usbdebug.h Drop prototype guarding for romcc 2013-05-10 11:55:20 -07:00
vbe.h Peppy graphics 2013-09-27 23:07:14 +00:00
version.h coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00