[coreboot-gerrit] Change in coreboot[master]: google/grunt: extract OEM string from CBFS

Kevin Chiu (Code Review) gerrit at coreboot.org
Wed Oct 3 04:17:25 CEST 2018


Kevin Chiu has uploaded a new patch set (#2). ( https://review.coreboot.org/28889 )

Change subject: google/grunt: extract OEM string from CBFS
......................................................................

google/grunt: extract OEM string from CBFS

In CBFS layout:
oem.bin size is 10 bytes.

In cbfs_boot_load_file, buffer size will need to be larger than decompressed_size,
otherwise CBFS data can not be extracted into buffer.
Then we need to check buffer whether it's empty string separately.

BUG=b:79874904
BRANCH=master
TEST=emerge-grunt coreboot
Change-Id: I4f1bbb690ecca515ac920f5058ee19b5bfd8fa5e
Signed-off-by: Kevin Chiu <Kevin.Chiu at quantatw.com>
---
M src/mainboard/google/kahlee/variants/baseboard/mainboard.c
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/28889/2
-- 
To view, visit https://review.coreboot.org/28889
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4f1bbb690ecca515ac920f5058ee19b5bfd8fa5e
Gerrit-Change-Number: 28889
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Chiu <Kevin.Chiu at quantatw.com>
Gerrit-CC: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181003/f431f1df/attachment.html>


More information about the coreboot-gerrit mailing list