summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-05-01 18:44:54 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-05-06 10:31:38 +0000
commit9d3fa7a22985a2ae080a8e36c89107691d15174f (patch)
treeea67ac1691b378a46858e14ca0633c45d156b300
parent6a4a026e13ae7fa981243498df9db41a53a54096 (diff)
downloadcoreboot-9d3fa7a22985a2ae080a8e36c89107691d15174f.tar.xz
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>
-rw-r--r--src/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 05875b6327..b4898bd456 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -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