diff options
author | YH Lin <yueherngl@google.com> | 2019-02-26 09:56:06 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-27 11:08:18 +0000 |
commit | 40f65425e4635de03b6e3114598a5e455fcd6ff8 (patch) | |
tree | 3f6a63dd873b64b859e495ff72f1e9125412bb25 /src/device/pci_rom.c | |
parent | b47c633c31a935a73e4d88d45437682e7b10310f (diff) | |
download | coreboot-40f65425e4635de03b6e3114598a5e455fcd6ff8.tar.xz |
ec/google/chromeec: fix the error status passing
Various instances of google_chromeec_command() can return non-zero number
(both positive and negative) to indicate error -- fixing cbi_get_uint32()
and cbi_get_string() so they follow the same convention.
BUG=b:123676982
BRANCH=kukui
TEST=build with kukui/flapjack configurations
Signed-off-by: YH Lin <yueherngl@google.com>
Change-Id: I7f0a8a61d01d942cba57036a17dd527fdbbf940c
Reviewed-on: https://review.coreboot.org/c/31585
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/pci_rom.c')
0 files changed, 0 insertions, 0 deletions