coreboot/src/drivers
Patrick Rudolph 9554b26f9f vboot: Fix linking error with USE_OPTION_TABLE enabled
Fix a linking problem with VBOOT and USE_OPTION_TABLE enabled.
Make use of cbfs_locate_file_in_region() and always search the
cmos_layout.bin in the 'COREBOOT' region.

With this change applied there's no need to include the vboot_locator
in SMM any more, we can't break NVRAM with different CMOS layouts,
and we keep VBOOT and non VBOOT behaviour the same.

Only include cmos_layout.bin and cmos.default in RO region.

Add notes explaining the decisions.

Tested on Intel Sandybridge, builds and boots with vboot enabled.

Change-Id: I10ae94d7936581bbb5ea49384122062bd4934ea5
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/26863
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-06-28 08:57:05 +00:00
..
amd/agesa AGESA binaryPI: Drop tests for LATE_CBMEM_INIT 2018-06-14 07:24:35 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
asmedia drivers/asmedia: Add ASPM blacklist 2018-04-27 09:17:52 +00:00
aspeed src/drivers: Get rid of whitespace before tab 2018-06-04 09:12:44 +00:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog drivers/spi: Remove Kconfig prompt from SPI_FLASH_SMM 2018-06-11 08:43:30 +00:00
emulation/qemu src/drivers: Add license headers 2017-06-12 04:08:14 +02:00
generic mb/google/kahlee/variants/grunt: Select low-power mode for BayHub720 2018-06-25 20:50:14 +00:00
gic
i2c drivers/i2c/alps: Get rid of i2c/alps driver 2018-06-24 06:49:08 +00:00
intel drivers/intel/fsp1_1: Fix vbt_len type 2018-06-27 15:38:12 +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 src/drivers/lenovo/wacom.c: Get rid of device_t 2018-05-04 10:20:03 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
mrc_cache drivers/mrc_cache: Always generate an FMAP region 2018-01-20 16:11:44 +00:00
net src: Use of device_t is deprecated 2018-06-14 09:29:31 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 vboot: Fix linking error with USE_OPTION_TABLE enabled 2018-06-28 08:57:05 +00:00
ricoh/rce822 drivers/ricoh/rce822: Get rid of device_t 2018-05-04 10:20:37 +00:00
siemens/nc_fpga {device,drivers,lib,mb,nb}: Use only one space after 'if' 2018-05-09 13:11:04 +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 drivers/spi: Add Winbond W25Q80 2018-06-16 18:22:27 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart arch/x86: Drop leftover ROMCC console support 2018-06-08 03:31:12 +00:00
usb src: Use of device_t is deprecated 2018-06-14 09:29:31 +00:00
xgi src/drivers: Get rid of whitespace before tab 2018-06-04 09:12:44 +00:00
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00