coreboot-kgpe-d16/src/soc/intel/skylake
Patrick Georgi 8416460318 intel/{skylake,apollolake}: Enable signalling of error condition
Testing for "devfn < 0" on an unsigned doesn't work, and i2c_bus_to_devfn
returns an int (with -1 for "error"), so use int for devfn.

Adapt Change-Id I7d1cdb6af4140f7dc322141c0c018d8418627434 to fix more
instances.

Change-Id: I001a9b484a68e018798a65c0fae11f8df7d9f564
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1357450, #1357449
Reviewed-on: https://review.coreboot.org/17054
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
2016-11-02 17:29:37 +01:00
..
acpi intel/skylake: Add support to enable wake-on-usb attach/detach 2016-10-26 08:33:37 +02:00
bootblock skylake: Prepare GPE for use in bootblock 2016-10-27 16:30:36 +02:00
include skylake: Add GPIO macro for configuring inverted APIC input 2016-10-28 18:59:46 +02:00
nhlt soc/intel/{common,skylake}: provide common NHLT SoC support 2016-06-29 23:15:48 +02:00
romstage soc/intel/skylake: Add FSP 2.0 support in romstage 2016-09-15 00:46:11 +02:00
acpi.c soc/intel/skylake: don't hardcode GPE0 standard reg 2016-10-28 19:01:48 +02:00
chip.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
chip.h intel/skylake: Add support to enable wake-on-usb attach/detach 2016-10-26 08:33:37 +02:00
chip_fsp20.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
cpu.c soc/intel/skylake: Add Kabylake device Ids 2016-08-06 04:36:46 +02:00
cpu_info.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dsp.c skylake: Add Audio DSP device 2016-05-31 18:45:15 +02:00
elog.c soc/intel/skylake: Cleanup patch for Skylake SoC 2016-08-08 18:18:57 +02:00
finalize.c skylake: Do FspTempRamInit only for FSP1.1 & tidy up PCH early init 2016-08-18 06:26:40 +02:00
flash_controller.c soc/intel/skylake: Use intel common support to write-protect SPI flash 2016-10-26 01:50:45 +02:00
gpio.c soc/intel/skylake: Add function for gpio_t to ACPI pin translation 2016-07-02 01:20:02 +02:00
i2c.c intel/{skylake,apollolake}: Enable signalling of error condition 2016-11-02 17:29:37 +01:00
igd.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
irq.c soc/intel/skylake: Add FSP 2.0 support in ramstage 2016-09-19 21:32:22 +02:00
Kconfig skylake: Use COMMON_FADT 2016-10-27 16:29:53 +02:00
lpc.c soc/intel/skylake: Add Kabylake device Ids 2016-08-06 04:36:46 +02:00
Makefile.inc soc/intel/skylake: put back uart_debug.c into verstage 2016-10-28 17:04:31 +02:00
me.c soc/intel/skylake: Implement Global Reset MEI message 2016-10-16 02:50:26 +02:00
memmap.c skylake: Add initial FSP2.0 support 2016-08-31 20:02:07 +02:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
opregion.c skylake: Add initial FSP2.0 support 2016-08-31 20:02:07 +02:00
pch.c soc/intel/skylake: Cleanup patch for Skylake SoC 2016-08-08 18:18:57 +02:00
pcie.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcr.c intel/skylake: Init variable so GCC knows it's set 2016-01-15 22:41:11 +01:00
pei_data.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pmc.c skylake: Prepare GPE for use in bootblock 2016-10-27 16:30:36 +02:00
pmutil.c skylake: Add support for eSPI SMI events 2016-10-27 16:30:54 +02:00
reset.c soc/intel/skylake: Handle platform global reset 2016-10-16 02:51:25 +02:00
sd.c acpi: Change device properties to work as a tree 2016-07-08 17:21:26 +02:00
smbus.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus_common.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smi.c skylake: Add support for eSPI SMI events 2016-10-27 16:30:54 +02:00
smihandler.c skylake: Add support for eSPI SMI events 2016-10-27 16:30:54 +02:00
smmrelocate.c src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-07-31 19:27:53 +02:00
systemagent.c soc/intel/skylake: Add Kabylake device Ids 2016-08-06 04:36:46 +02:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
uart.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
uart_debug.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
vr_config.c skylake: Add initial FSP2.0 support 2016-08-31 20:02:07 +02:00
xhci.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00