coreboot-kgpe-d16/src/ec
Karthikeyan Ramasubramanian c80ff8437d ec/google/chromeec: Update google_chromeec_get_board_version prototype
The helper function to get the board version from EC returns 0 on
failure. But 0 is also a valid board version. Update the helper function
to return -1 on failure and update the use-cases.

BUG=b:114001972,b:114677884,b:114677887

Change-Id: I93e8dbce2ff26e76504b132055985f53cbf07d31
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Tested-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/28576
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jett Rink <jettrink@google.com>
2018-09-20 17:15:26 +00:00
..
acpi src/ec: Remove whitespace before tab 2018-06-04 09:15:51 +00:00
compal/ene932 ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:28 +00:00
google/chromeec ec/google/chromeec: Update google_chromeec_get_board_version prototype 2018-09-20 17:15:26 +00:00
hp/kbc1126 ec/hp/kbc1126: change the default offset of the blobs 2017-12-25 14:44:23 +00:00
kontron/it8516e device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
lenovo ec/lenovo/pmh7: support 9bit address space 2018-09-14 13:50:34 +00:00
purism/librem ec/purism: Fix CPU Turbo value (PPCM) set by the EC 2018-03-26 10:25:58 +00:00
quanta ec/quanta: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:54 +00:00
roda/it8518 ec/roda: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:19:17 +00:00
smsc/mec1308 ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00