coreboot/src/mainboard
Eric Lai f209b18df3 mb/google/zork: Update style of check on cbi return values
Since google_chromeec_cbi_get_board_version and google_chromeec_cbi_get_fw_config both call cbi_get_unit32 and return 0 as success, non-zero as failure. Let's add more readability for the false condition.

BUG=None
TEST=check with empty CBI value

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Ia49ac1ee35302f8f6afe8c0eb8e13afdf36c5b2b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46566
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-10-26 06:44:02 +00:00
..
51nb soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
acer {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
adlink
amd mb: AMD CIMx boards: Fix typo in *is defined* in comments 2020-10-17 13:54:17 +00:00
aopen {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
apple {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
asrock soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
asus mb/asus/f2a85-m_pro: Turn super-i/o 0x30 writes into on/off 2020-10-21 14:49:15 +00:00
bap AGESA mb: Replace tab with space in macro definition for consistency 2020-10-17 13:53:47 +00:00
biostar AGESA mb: Replace tab with space in macro definition for consistency 2020-10-17 13:53:47 +00:00
bostentech {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
cavium Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00
clevo {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
compulab {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
dell {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
elmex mb: AMD CIMx boards: Fix typo in *is defined* in comments 2020-10-17 13:54:17 +00:00
emulation mb/*/*/dsdt.asl: Drop useless comments in DefinitionBlock() 2020-10-13 18:27:23 +00:00
facebook soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
foxconn {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
getac {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
gigabyte {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
gizmosphere mb: AMD CIMx boards: Fix typo in *is defined* in comments 2020-10-17 13:54:17 +00:00
google mb/google/zork: Update style of check on cbi return values 2020-10-26 06:44:02 +00:00
hp AGESA mb: Replace tab with space in macro definition for consistency 2020-10-17 13:53:47 +00:00
ibase {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
intel soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
jetway mb: AMD CIMx boards: Fix typo in *is defined* in comments 2020-10-17 13:54:17 +00:00
kontron soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
lenovo AGESA mb: Replace tab with space in macro definition for consistency 2020-10-17 13:53:47 +00:00
libretrend soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
lippert mb/lippert/frontrunner-af: Add blank line in code 2020-10-25 13:36:07 +00:00
msi AGESA mb: Replace tab with space in macro definition for consistency 2020-10-17 13:53:47 +00:00
ocp {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
opencellular mb/opencellular/elgon/Kconfig: Drop unused 'MAINBOARD_FIT_DTS' 2020-09-08 05:33:39 +00:00
packardbell {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
pcengines mb: AMD CIMx boards: Fix typo in *is defined* in comments 2020-10-17 13:54:17 +00:00
portwell {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
prodrive soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
protectli soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
purism soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
razer soc/intel,mb/*: get rid of legacy pad macros 2020-10-21 07:16:01 +00:00
roda {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
samsung {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
sapphire {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
scaleway {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
siemens mb/siemens/chili: Add Chili variant 2020-10-19 13:24:41 +00:00
sifive mb/sifive: Drop unneeded empty lines 2020-09-21 16:05:04 +00:00
supermicro mb/supermicro/x11-lga1151-series: Follow up GPIO macro changes 2020-10-21 10:09:40 +00:00
system76 {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
ti mb/ti/beaglebone: Init UART in early init 2020-09-09 10:48:56 +00:00
up {src/mb,util/autoport}: Use macro for DSDT revision 2020-10-13 18:27:04 +00:00
Kconfig mb/Kconfig: Drop ROM sizes below 256KiB 2020-09-27 15:31:39 +00:00