coreboot-kgpe-d16/tests/lib
Eric Lai 3067701108 lib: Check for non-existent DIMMs in check_if_dimm_changed
Treat dimm addr_map 0 non-existent. addr_map default is 0, we don't set
it if Hw is not present. Also change the test case default to avoid 0.
SODIMM SMbus address 0x50 to 0x53 is commonly used.

BUG=b:213964936
BRANCH=firmware-brya-14505.B
TEST=emerge-brya coreboot chromeos-bootimage
The MRC training does not be performed again after rebooting.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: I2ada0109eb0805174cb85d4ce373e2a3ab7dbcac
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63628
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2022-04-20 06:57:21 +00:00
..
Makefile.inc
b64_decode-test.c tests: update CMocka to stable-1.1 2022-04-19 13:00:36 +00:00
bootmem-test.c coreboot_tables: Replace 'struct lb_uint64' with lb_uint64_t 2022-04-14 22:27:50 +00:00
cbfs-lookup-test.c
cbfs-verification-test.c
cbmem_console-test.c
cbmem_stage_cache-test.c
compute_ip_checksum-test.c
coreboot_table-test.c coreboot_tables: Replace 'struct lb_uint64' with lb_uint64_t 2022-04-14 22:27:50 +00:00
crc_byte-test.c
dimm_info_util-test.c
edid-test.c
fmap-test.c
hexstrtobin-test.c
imd-test.c tests/lib: Add space before single line comment termination 2022-03-27 15:33:39 +00:00
imd_cbmem-test.c
lib-test.c
libgcc-test.c
list-test.c
lzma-test.c
malloc-test.c
memchr-test.c
memcmp-test.c
memcpy-test.c
memmove-test.c
memrange-test.c
memset-test.c
region_file-test.c
rtc-test.c
spd_cache-test.c lib: Check for non-existent DIMMs in check_if_dimm_changed 2022-04-20 06:57:21 +00:00
stack-test.c
string-test.c
timestamp-test.c
uuid-test.c