coreboot-kgpe-d16/src
Furquan Shaikh bda86bd497 nvs: Add Chrome OS NVS (CNVS) information to coreboot tables
CB:51638 separated Chrome OS NVS from global NVS by allocating it
separately in CBMEM. CNVS is used in depthcharge to fill firmware
information at boot time. Thus, location of CNVS needs to be shared in
coreboot tables for depthcharge to use.

This change adds a new coreboot table tag
`CB_TAG_ACPI_CNVS`/`CB_TAG_ACPI_CNVS`(0x41) which provides the
location of CNVS in CBMEM to payload (depthcharge).

Additionally, CB:51639 refactored device nvs(DNVS) and moved it to the
end of GNVS instead of the fixed offset 0x1000. DNVS is used on older
Intel platforms like baytrail, braswell and broadwell and depthcharge
fills this at boot time as well. Since DNVS is no longer used on any
new platforms, this information is not passed in coreboot
tables. Instead depthcharge is being updated to use statically defined
offsets for DNVS.

BUG=b:191324611, b:191324611
TEST=Verified that `crossystem fwid` which reads fwid information from
CNVS is reported correctly on brya.

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I3815d5ecb5f0b534ead61836c2d275083e397ff0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55665
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Reviewed-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-06-18 18:38:14 +00:00
..
acpi ACPI: Refactor use of global and device NVS 2021-06-14 19:45:56 +00:00
arch arch/x86/include/arch/smp/mpspec: improve mp_bustype enum definition 2021-06-18 16:02:09 +00:00
commonlib nvs: Add Chrome OS NVS (CNVS) information to coreboot tables 2021-06-18 18:38:14 +00:00
console src/console/init.c: Make get_log_level static inline again 2021-06-15 16:12:52 +00:00
cpu cpu/intel/haswell: Select HAVE_DISPLAY_MTRRS 2021-06-16 14:49:55 +00:00
device device: Add helper function devfn_disable() 2021-06-17 06:48:45 +00:00
drivers intel/fsp2_0: Add FSP_ARRAY_LOAD macro 2021-06-18 06:03:16 +00:00
ec ec/google: Fix bad return value 2021-06-17 17:04:56 +00:00
include device: Add helper function devfn_disable() 2021-06-17 06:48:45 +00:00
lib nvs: Add Chrome OS NVS (CNVS) information to coreboot tables 2021-06-18 18:38:14 +00:00
mainboard mb/google/cherry: enable display support 2021-06-18 08:46:25 +00:00
northbridge nb/intel/ironlake: Factor out common uncore ASL 2021-06-17 15:58:44 +00:00
security security/tpm/tspi: Reduce scope of tspi_init_crtm 2021-06-16 09:52:21 +00:00
soc soc/amd/picasso,stoneyridge/acpi: use defines for MADT parameters 2021-06-18 16:01:43 +00:00
southbridge sb/intel/i82870: Use ioapic utility functions 2021-06-16 19:55:09 +00:00
superio
vendorcode vc/mediatek/mt8195: Match definition with declaration 2021-06-15 19:46:39 +00:00
Kconfig option: Allow mainboards to implement the API 2021-05-28 11:37:25 +00:00