diff options
author | Sridhar Siricilla <sridhar.siricilla@intel.com> | 2020-07-23 23:41:36 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2020-08-13 05:43:53 +0000 |
commit | 77025b3f56ab599db70e923650eb6e42d84f267f (patch) | |
tree | 35c8d376dcb31fd5bc39c172a58bc01056c41cb1 /util/mtkheader | |
parent | 02bab4ddcfe09c0cbbc82ece6c9575f573e8d799 (diff) |
security/vboot/Makefile.inc: Update regions-for-file function
This patch updates regions-for-file function in the
security/vboot/Makefile.inc to support adding a CBFS file into
required FMAP REGIONs in a flexible manner. The file that needs to be
added to specific REGIONs, those regions list should be specified in the
regions-for-file-{CBFS_FILE_TO_BE_ADDED} variable.
For example, if a file foo.bin needs to be added in FW_MAIN_B and COREBOOT,
then below code needs to be added in a Makefile.inc.
regions-for-file-foo := FW_MAIN_B,COREBOOT
cbfs-file-y := foo
foo-file := foo.bin
foo-type := raw
TEST=Verified on hatch
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: I1f5c22b3d9558ee3c5daa2781a115964f8d2d83b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43766
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'util/mtkheader')
0 files changed, 0 insertions, 0 deletions