coreboot/src
Kevin Chiu 0fa007be13 google/grunt: Correctly 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@quantatw.com>
Reviewed-on: https://review.coreboot.org/28889
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2018-10-04 15:25:53 +00:00
..
acpi arch/x86: Add common AMD ACPI hardware definitions 2017-11-10 19:15:38 +00:00
arch arch/x86: Make mb/romstage.c optional 2018-10-04 09:46:41 +00:00
commonlib complier.h: add __always_inline and use it in code base 2018-09-14 08:16:37 +00:00
console console: Enable CONSOLE_USB by default 2018-10-04 13:08:50 +00:00
cpu cpu/intel/car: Fix typo 2018-10-04 09:38:04 +00:00
device src/device/device.c: Don't use device_t in ramstage 2018-09-19 10:35:01 +00:00
drivers drivers/intel/wifi: Add DID for Intel WIFI module 8260, 8275 2018-10-01 18:03:55 +00:00
ec ec/google/chromeec: Define a sync IRQ if needed 2018-10-04 09:36:59 +00:00
include soc/amd/stoneyridge: Add IOMMU support 2018-10-03 21:34:20 +00:00
lib src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
mainboard google/grunt: Correctly extract OEM string from CBFS 2018-10-04 15:25:53 +00:00
northbridge src/*: normalize Google copyright headers 2018-09-28 07:13:00 +00:00
security security/tpm: Fix TPM 1.2 state machine issues 2018-08-21 15:45:15 +00:00
soc soc/intel/cannonlake: Move the FSP related callbacks to separate files 2018-10-04 09:47:10 +00:00
southbridge sb/amd/pi/hudson: Remove #if 1 2018-10-04 09:40:06 +00:00
superio superio/ite/it8721f: Add SuperIO ACPI declarations 2018-08-21 14:45:36 +00:00
vendorcode vendorcode/amd/pi/00670F00/Lib: Remove folder 2018-09-28 10:15:22 +00:00
Kconfig src/Kconfig: Drop a superfluous word 2018-10-01 15:28:47 +00:00