diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2020-04-21 15:32:20 +0800 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2020-04-28 16:23:15 +0000 |
commit | 0ee9b14c09c4dfeb59ad94315051ae423b26384d (patch) | |
tree | 6be8c5a251b7e83808e36b138cceffc3cb4fb4c9 /src/southbridge/amd | |
parent | d2b2be39296d910178173273017800a1b054a1ba (diff) |
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>
Diffstat (limited to 'src/southbridge/amd')
0 files changed, 0 insertions, 0 deletions