c80ff8437d
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> |
||
---|---|---|
.. | ||
acpi | ||
acpi_tables.c | ||
board_info.txt | ||
chromeos.c | ||
chromeos.fmd | ||
cmos.layout | ||
devicetree.cb | ||
dsdt.asl | ||
ec.c | ||
ec.h | ||
elpida_4Gb_1600_x16.spd.hex | ||
gma-mainboard.ads | ||
gpio.c | ||
hda_verb.c | ||
i915.c | ||
i915io.c | ||
i915io.h | ||
intel_dp.c | ||
Kconfig | ||
Kconfig.name | ||
mainboard.c | ||
mainboard_smi.c | ||
Makefile.inc | ||
micron_4Gb_1600_1.35v_x16.spd.hex | ||
onboard.h | ||
romstage.c | ||
samsung_4Gb_1600_1.35v_x16.spd.hex | ||
thermal.h |