coreboot/src/mainboard
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
..
adi mb: Get rid of unneeded include <cbmem.h> 2018-08-13 15:35:22 +00:00
adlink
advansus mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
amd mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
aopen mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
apple mb/*/*/cmos.default: Decrease debug_level to 'Debug' 2018-08-15 18:39:17 +00:00
asrock src/mb/asrock/g41c-gs: Add variant g41m-s3 2018-09-28 09:56:17 +00:00
asus mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
avalue mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
bap src/mainboard: Fix typo 2018-08-09 15:56:32 +00:00
biostar src/mainboard: Fix typo 2018-08-09 15:56:32 +00:00
cavium arm64: Factor out common parts of romstage execution flow 2018-08-17 21:29:46 +00:00
compulab southbridge/intel/bd82x6x/Kconfig: Do not include any IFD by default 2018-08-05 19:57:56 +00:00
cubietech mb/cubietech: Get rid of whitespace before tab 2018-06-04 08:58:16 +00:00
elmex src/mainboard: Fix typo 2018-08-09 15:56:32 +00:00
emulation src/*/intel/: clarify Kconfig options regarding IFD 2018-09-13 08:25:31 +00:00
esd mb: Get rid of unneeded include <cbmem.h> 2018-08-13 15:35:22 +00:00
facebook mb/facebook/watson: Update IDPROM region in board.fmd 2018-07-17 01:18:12 +00:00
foxconn src/mainboard/*/*: Set Mini-ITX boards' category to "mini" 2018-09-13 08:29:16 +00:00
getac mb: Get rid of unneeded include <cbmem.h> 2018-08-13 15:35:22 +00:00
gigabyte mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
gizmosphere src/mainboard: Fix typo 2018-08-09 15:56:32 +00:00
google google/grunt: Correctly extract OEM string from CBFS 2018-10-04 15:25:53 +00:00
hp mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
ibase mb/ibase/mb899: Remove unneeded includes 2018-07-06 12:59:05 +00:00
iei mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
intel mb/intel/cannonlake_rvp: Move FSP param override function to separate file 2018-10-04 09:47:22 +00:00
jetway mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
kontron mb/kontron/986lcd-m: Use common pnp_{enter,exit} functions 2018-08-27 15:53:14 +00:00
lenovo mb/lenovo/t400: Add 154WX5-TLB2 to display backlight PWM freq list 2018-09-28 10:17:29 +00:00
lippert amd/geode_lx: Remove most boards 2018-06-05 12:44:12 +00:00
msi mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
ocp wedge100s: Add TPM support 2018-09-07 10:59:58 +00:00
opencellular mainboard/opencellular/elgon: Add mainboard support 2018-09-30 03:08:22 +00:00
packardbell mb/*/*/cmos.default: Decrease debug_level to 'Debug' 2018-08-15 18:39:17 +00:00
pcengines src/mainboard/pcengines/apu2/Kconfig: Clean up PINMUX settings 2018-09-26 15:37:55 +00:00
purism update all FADT version 3.0 to use the get tables function 2018-08-27 15:49:32 +00:00
roda src/mainboard/*: Remove IFD_*_REGION values for ifdfake 2018-08-22 15:37:38 +00:00
samsung src/mb: Remove some unneeded includes 2018-08-13 15:36:43 +00:00
sapphire mb/*/*/cmos.default: Decrease debug_level to 'Debug' 2018-08-15 18:39:17 +00:00
scaleway mb: Get rid of unneeded include <cbmem.h> 2018-08-13 15:35:22 +00:00
siemens mc_apl1: Set up SPI OPCODE menu before locking 2018-10-04 04:56:27 +00:00
sifive sifive/hifive-unleashed: enable CBMEM support 2018-09-15 13:54:57 +00:00
supermicro mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
ti
tyan mb: Use 'unsigned int' to bare use of 'unsigned' 2018-09-25 14:12:27 +00:00
via mainboard: Get rid of device_t in ramstage 2018-06-09 16:39:35 +00:00
Kconfig