coreboot-kgpe-d16/src
Angel Pons ef5f7ee696 soc/intel/common/blk/memory: Make mixed topo work
When using a mixed memory topology with DDR4, it's not possible to boot
when no DIMMs are installed, even though memory-down is available. This
happens because the DIMM SPD length defaults to 256 when no DIMM SPD is
available. Relax the length check when no DIMMs are present to overcome
this problem.

Tested on system76/lemp10. Unit boots with and without DIMM installed.

Change-Id: I1cabf64fade1c06a44b6c3892659d54febc7a79a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60800
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Tim Crawford <tcrawford@system76.com>
2022-01-07 16:06:26 +00:00
..
acpi src: Drop duplicated includes 2022-01-01 14:55:51 +00:00
arch src: Drop duplicated includes 2022-01-01 14:55:51 +00:00
commonlib commonlib: Add endian definitions for macOS 2022-01-04 11:49:38 +00:00
console console: Make get_log_level a public function 2022-01-03 15:06:52 +00:00
cpu
device device/dram/lpddr4.c: Remove unused <string.h> 2022-01-05 17:38:39 +00:00
drivers drivers/ipmi: Change type of custom_count from int to size_t 2022-01-07 15:27:56 +00:00
ec ec/starlabs/merlin: Unify EC and CMOS names 2022-01-07 14:54:10 +00:00
include console: Make get_log_level a public function 2022-01-03 15:06:52 +00:00
lib ChromeOS: Refactor ACPI CNVS generation 2021-12-23 21:18:25 +00:00
mainboard mb/google/dedede/var/boten: Add Wifi SAR for bookem 2022-01-07 15:30:25 +00:00
northbridge src/northbridge: Remove unused <delay.h> 2022-01-05 17:42:31 +00:00
security security/memory/memory.c: Include 'stdbool' instead of 'stdint' 2022-01-04 14:56:37 +00:00
soc soc/intel/common/blk/memory: Make mixed topo work 2022-01-07 16:06:26 +00:00
southbridge src/southbridge: Remove unused <delay.h> 2022-01-05 17:41:25 +00:00
superio superio/winbond/w83627hf/acpi: Replace LNot() with ASL 2.0 syntax 2022-01-01 14:25:39 +00:00
vendorcode vendorcode/intel/fsp/elkhartlake: Drop obsolete headers 2022-01-01 14:28:10 +00:00
Kconfig