coreboot-kgpe-d16/Documentation
Yu-Ping Wu 6b0d085164 security/vboot: Deprecate VBOOT_VBNV_EC
Boards using VBOOT_VBNV_EC (nyan, daisy, veyron, peach_pit) are all
ChromeOS devices and they've reached the end of life since Feb 2022.
Therefore, remove VBOOT_VBNV_EC for them, each with different
replacement.

- nyan (nyan, nyan_big, nyan_blaze): Add RW_NVRAM to their FMAP (by
  reducing the size of RW_VPD), and replace VBOOT_VBNV_EC with
  VBOOT_VBNV_FLASH.
- veyron: Add RW_NVRAM to their FMAP (by reducing the size of
  SHARED_DATA), and replace VBOOT_VBNV_EC with VBOOT_VBNV_FLASH. Also
  enlarge the OVERLAP_VERSTAGE_ROMSTAGE section for rk3288 (by reducing
  the size of PRERAM_CBMEM_CONSOLE), so that verstage won't exceed its
  allotted size.
- daisy: Because BOOT_DEVICE_SPI_FLASH is not set, which is required for
  VBOOT_VBNV_FLASH, disable MAINBOARD_HAS_CHROMEOS and VBOOT configs.
- peach_pit: As VBOOT is not set, simply remove the unused VBOOT_VBNV_EC
  option.

Remove the VBOOT_VBNV_EC Kconfig option as well as related code, leaving
VBOOT_VBNV_FLASH and VBOOT_VBNV_CMOS as the only two backend options for
vboot nvdata (VBNV).

Also add a check in read_vbnv() and save_vbnv() for VBNV options.

BUG=b:178689388
TEST=util/abuild/abuild -t GOOGLE_NYAN -x -a
TEST=util/abuild/abuild -t GOOGLE_VEYRON_JAQ -x -a
TEST=util/abuild/abuild -t GOOGLE_DAISY -a
TEST=util/abuild/abuild -t GOOGLE_PEACH_PIT -a
BRANCH=none

Change-Id: Ic67d69e694cff3176dbee12d4c6311bc85295863
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65012
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2022-06-22 18:08:53 +00:00
..
_static
acpi Documentation/acpi/gpio.md: Update implementation details 2021-11-05 12:40:47 +00:00
arch cpu/x86/64bit: Generate static page tables from an assembly file 2022-04-25 14:00:41 +00:00
community Documentation: Move services page to infrastructure section 2022-04-24 18:40:26 +00:00
contributing docs/coding_style: Clarify use of GCC extensions 2022-04-20 09:41:18 +00:00
drivers Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
getting_started Documentation: Fix a few spelling issues 2022-05-30 04:24:57 +00:00
gfx
infrastructure Documentation/infra/builders.md: Fix markdown inssues 2022-05-03 19:37:46 +00:00
lib Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
mainboard Documentation: Fix a few spelling issues 2022-05-30 04:24:57 +00:00
northbridge Documentation: Fix a few spelling issues 2022-05-30 04:24:57 +00:00
releases docs/releases: Update the 4.17 release notes to final version 2022-06-05 07:48:49 +00:00
RFC Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
security security/vboot: Deprecate VBOOT_VBNV_EC 2022-06-22 18:08:53 +00:00
soc Doc/soc/intel/mp_init: Mark up Reference section title as title 2022-06-20 12:01:41 +00:00
superio Documentation/lint: Use Super I/O instead of SuperIO 2021-11-19 14:47:20 +00:00
technotes Documenation: call out lcov as required 2021-10-29 05:09:57 +00:00
tutorial Documentation/tutorial/part1.md: Add Fedora package patch 2022-03-15 11:18:31 +00:00
util Documentation/util/intelp2m: Improve text and update Markdown 2022-05-30 04:19:49 +00:00
vendorcode
.gitignore
AMD-S3.txt
beginverbatim.tex
cbfs.txt
codeflow.svg
conf.py Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
COPYING
coreboot_logo.png
corebootBuildingGuide.tex
distributions.md Documentation: Add NovaCustom laptops to ships-with-coreboot hw list 2022-05-10 08:52:33 +00:00
documentation_license.md Documentation: Move documentation license to main menu 2022-03-24 15:47:11 +00:00
endverbatim.tex
gcov.txt Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
hypertransport.svg
index.md Documentation: Fix sphinx warnings 2022-05-30 01:20:55 +00:00
Makefile
Makefile.sphinx
payloads.md Docs: Reword and extend SeaBIOS description 2022-06-07 12:56:01 +00:00
POSTCODES
util.md util, Documentation: Run util_readme.sh to regen util.md 2022-06-07 15:49:27 +00:00