security/vboot: Allow files to go into only RW-A or RW-B region
commit6303671189b085f2212dd1de8349422a725eb5cf
authorMartin Roth <martin@coreboot.org>
Thu, 25 Jun 2020 23:20:32 +0000 (25 17:20 -0600)
committerMartin Roth <martinroth@google.com>
Wed, 8 Jul 2020 19:36:24 +0000 (8 19:36 +0000)
tree5c0af41f7cb36b8069e3717632038a84a8ba4c54
parent362eaf3f4c00e862c447981dcc38b4b41a7d3397
security/vboot: Allow files to go into only RW-A or RW-B region

The AMD firmware package created by amdfwtool contains pointers to the
various binaries and settings.  This means that we need different copies
of the package in each region.
This change allows for the different files in each of the 3 vboot
regions.

BUG=b:158124527
TEST=Build trembyle; see the correct versions of the files getting
built into the RW-A & RW-B regions.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I45ff69dbc2266a67e05597bbe721fbf95cf41777
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42822
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/security/vboot/Kconfig
src/security/vboot/Makefile.inc