spd_bin: Do not depend CONFIG_DIMM_MAX on CONFIG_GENERIC_SPD_BIN
I can't claim that I really understand what this code does, but it looks like there are platforms that use code from lib/spd_bin.c without enabling CONFIG_GENERIC_SPD_BIN. Some functions in that file contain references to CONFIG_DIMM_MAX, so that option probably shouldn't depend on CONFIG_GENERIC_SPD_BIN. Change-Id: I041c52b6bd255e9a9920e5a101165ba5fc5fa6f3 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32548 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
6a4a026e13
commit
9d3fa7a229
|
@ -1153,7 +1153,6 @@ config GENERIC_SPD_BIN
|
|||
config DIMM_MAX
|
||||
int
|
||||
default 4
|
||||
depends on GENERIC_SPD_BIN
|
||||
help
|
||||
Total number of memory DIMM slots available on motherboard.
|
||||
It is multiplication of number of channel to number of DIMMs per
|
||||
|
|
Loading…
Reference in New Issue