Furquan Shaikh uploaded patch set #2 to this change.

View Change

util/cbfstool: Add support for filling ID region using FMAP

This change adds a new command add-id which takes as input the
following parameters:
1. ID_FMAP_REGION: Name of the FMAP region used for storing
ID (coreboot build details)
2. VERSION: coreboot version provided by the build system.
3. VENDOR: Vendor name provided by the build system.
4. PART_NUM: Part number provided by the build system.

Using the above parameters, this new command finds the fmap region
using ID_FMAP_REGION and copies version, vendor and part number
strings into the ID region.

This allows us to get rid of all the id.ld and id.S files that are
currently added in coreboot to supply build details into the bootblock
or decompressor binary.

This command makes use of non-ASCII longopts since we are running out
of good opt characters to use.

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: Ic5c55a49025508ff1f27c6f48d8e420f19d88ec2
---
M util/cbfstool/cbfstool.c
1 file changed, 58 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/40376/2

To view, visit change 40376. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic5c55a49025508ff1f27c6f48d8e420f19d88ec2
Gerrit-Change-Number: 40376
Gerrit-PatchSet: 2
Gerrit-Owner: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset