diff options
author | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-04-22 11:00:15 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-27 12:26:22 +0000 |
commit | c3e4f6700586245d009937c44c78b3d9614785b7 (patch) | |
tree | 862ff0075647c0857f09195a3ac0e40e05d3ddd8 /src/lib/spd_bin.c | |
parent | 7e22ac15b298f579cffff67236ee09289ff74137 (diff) |
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>
Diffstat (limited to 'src/lib/spd_bin.c')
0 files changed, 0 insertions, 0 deletions