coreboot/src/ec
Eric Lai c3e4f67005 ec/google/chromeec: Add empty string check for OEM string
If set OEM string as "", it shows "Not Specified" with dmidecode.
Use default string if it is empty.

BUG=b:230039300
TEST=set OEM string "" and show google with dmidecode -t 2.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: I097e1be696ae974aadc47feb8d0c1dae672a5c82
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63772
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Henry Sun <henrysun@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Kangheui Won <khwon@chromium.org>
2022-04-27 12:26:22 +00:00
..
51nb/npce985la0dx src: Remove unneeded space in license header 2020-07-26 21:07:36 +00:00
acpi ec/acpi: Remove empty "chip" driver 2021-09-08 18:48:53 +00:00
apple/acpi ec/apple/acpi: Replace Index() with ASL 2.0 syntax 2022-01-01 13:59:39 +00:00
compal/ene932 src/ec: Get rid of unnecessary blank line {before,after} brace 2022-02-04 20:16:42 +00:00
google ec/google/chromeec: Add empty string check for OEM string 2022-04-27 12:26:22 +00:00
hp/kbc1126 ec/hp/kbc1126/acpi: Replace Add(a,b,c) with ASL 2.0 syntax 2021-12-31 00:25:05 +00:00
kontron Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
lenovo src/ec: Get rid of unnecessary blank line {before,after} brace 2022-02-04 20:16:42 +00:00
purism ec/purism/librem: Remove unused Kconfig file 2022-04-24 21:26:21 +00:00
quanta ec/quanta/ene_kb3940q/ec.c: Remove unuseful 'return' in void function 2022-02-01 18:05:07 +00:00
roda/it8518 ec/roda/it8518/acpi: Remove unnecessary assignments 2021-07-28 13:50:59 +00:00
smsc/mec1308 ec/smsc/mec1308/acpi: Replace LNot() with ASL 2.0 syntax 2022-01-01 14:25:54 +00:00
starlabs/merlin ec/starlabs/merlin: Add EC related files for Cezanne boards 2022-04-06 16:21:31 +00:00
system76/ec ec/system76/ec: acpi: Add dGPU thermal reporting 2021-11-23 09:22:39 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00