coreboot/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 Documentation: Add static CSS file to fix tables 2018-05-14 17:21:37 +00:00
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 drivers/intel/gma: Add override for presence straps 2020-05-20 23:38:05 +00:00
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 Documentation/vendorcode/eltan: Update security document 2020-01-30 13:28:24 +00:00
.gitignore .gitignore: Split into subdirectory files 2020-10-30 07:05:27 +00:00
AMD-S3.txt Documentation: change coreboot to lowercase 2017-06-12 04:06:40 +02:00
beginverbatim.tex Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
cbfs.txt Fix typos involving "the the" 2018-12-18 13:24:28 +00:00
codeflow.svg Documentation: Remove whitespace before tab 2018-06-04 11:48:23 +00:00
conf.py Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
COPYING Documentation/COPYING: Remove trailing whitespace 2018-04-27 09:10:20 +00:00
coreboot_logo.png Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
corebootBuildingGuide.tex Use git HTTP URLs without /p in it 2018-04-17 10:38:06 +00:00
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 Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
gcov.txt Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
hypertransport.svg Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
index.md Documentation: Fix sphinx warnings 2022-05-30 01:20:55 +00:00
Makefile Documentation: Allow passing arguments into make livesphinx 2019-02-05 21:15:37 +00:00
Makefile.sphinx Documentation: Add several fixes 2020-07-01 21:51:26 +00:00
payloads.md Docs: Reword and extend SeaBIOS description 2022-06-07 12:56:01 +00:00
POSTCODES post_code: add post code for video initialization failure 2019-05-22 17:45:11 +00:00
util.md util, Documentation: Run util_readme.sh to regen util.md 2022-06-07 15:49:27 +00:00