diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-04-26 16:49:40 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-28 16:12:11 +0000 |
commit | a35f1810a238f92cdac50524f89a006ec3cddb13 (patch) | |
tree | 9f560b276d12f3495be480ececeb777277589cd1 /src/superio/ite | |
parent | 8580047dfab84c3ecc1b3fed07c0f8b20f49c014 (diff) |
superio/nuvoton/npcd378: Fall back to non-negative value
This change is needed to update the option API to use unsigned integers.
The CMOS option system does not support negative numbers. So, adjust the
call to get_int_option() to use 3 as fallback instead of -1.
Change-Id: I46c5f5c6f47f99379cbafc0d60258b99dc512e9d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52671
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/superio/ite')
0 files changed, 0 insertions, 0 deletions