coreboot-kgpe-d16/src/soc/intel
Furquan Shaikh e7de6fb162 intel/apollolake: Fix check for return value of pmc_gpe_route_to_gpio
pmc_gpe_route_to_gpio returns -1 on error. However, the value was being
stored in unsigned int and compared against -1. Fix this by using local
variable ret.

Change-Id: I5ec824949d4ee0fbdbb2ffdc9fc9d4762455b27b
Reported-by: Coverity ID 1357443, 1357442, 1357441
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/16218
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-08-18 01:07:36 +02:00
..
apollolake intel/apollolake: Fix check for return value of pmc_gpe_route_to_gpio 2016-08-18 01:07:36 +02:00
baytrail chromeos chipsets: select RTC usage 2016-08-08 18:37:37 +02:00
braswell Makefiles: Use $(MAINBOARD_DIR) instead of $(CONFIG_MAINBOARD_DIR) 2016-08-10 21:12:03 +02:00
broadwell chromeos chipsets: select RTC usage 2016-08-08 18:37:37 +02:00
common soc/intel/common: Add support for serial console based ACPI debug 2016-08-11 16:03:29 +02:00
fsp_baytrail Remove non-ascii & unprintable characters 2016-08-01 21:44:45 +02:00
fsp_broadwell_de fsp_Broadwell_DE: Do not set IRQ3 and IRQ4 to level 2016-08-11 15:16:40 +02:00
quark intel/quark: Fix assert check 2016-08-15 19:49:43 +02:00
sch intel/sch: Merge northbridge and southbridge in src/soc 2016-05-17 21:38:17 +02:00
skylake soc/intel/skylake: restore MCHBAR and DMIBAR programming 2016-08-17 22:42:46 +02:00