coreboot-kgpe-d16/src/soc/intel
Eric Lai 0ee9b14c09 soc/intel/common/block/smbus: Set SPD array NULL if no DIMM present
Set SPD array NULL if no DIMM present. do_smbus_read_byte returns
negative value if SMBus transaction fails.

BUG=b:154445630,b:151702387
TEST=Check SPD is NULL if no DIMM in the slot.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Ie81adbfab5bb1d5c557fe549a158cb68e26b1162
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40558
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-04-28 16:23:15 +00:00
..
apollolake soc/intel/apollolake: Avoid CONFIG_PCIEX_LENGTH_256MB selection 2020-04-26 08:01:17 +00:00
baytrail soc/baytrail/raminit: Populate SMBIOS type 17 tables 2020-04-28 08:02:57 +00:00
braswell acpi: Bump FADT to revision 6 2020-04-13 23:32:15 +00:00
broadwell acpi: Bump FADT to revision 6 2020-04-13 23:32:15 +00:00
cannonlake soc/intel/cannonlake: Report driver strength by _DSM in eMMC ACPI device 2020-04-28 15:43:36 +00:00
common soc/intel/common/block/smbus: Set SPD array NULL if no DIMM present 2020-04-28 16:23:15 +00:00
denverton_ns Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
icelake soc/intel: Disable config option for SCS by default 2020-04-17 20:00:08 +00:00
jasperlake soc/intel/jasperlake: Add new MCH device ids 2020-04-28 09:39:42 +00:00
quark acpi: Bump FADT to revision 6 2020-04-13 23:32:15 +00:00
skylake soc/intel/*/vr_config.c: Use __func__ in error message 2020-04-18 18:49:56 +00:00
tigerlake soc/intel/tigerlake: Fix FSP SPD index for DDR4 2020-04-25 05:56:17 +00:00
xeon_sp soc/intel/xeon_sp/cpx: Calculate number of threads based on sockets 2020-04-24 19:44:19 +00:00
Kconfig fsp2_0: Gather Kconfig declarations 2020-04-05 23:26:24 +00:00