From 25ec61540885d8e13d654bfbbaeb5123816b665e Mon Sep 17 00:00:00 2001
From: Jonathan Zhang <jonzhang@fb.com>
Date: Tue, 28 Jul 2020 13:59:01 -0700
Subject: mb/ocp/deltalake: configure DIMM_MAX

DeltaLake is a single socket server. Its platform design has 1 DIMM
slot per channel. There are 6 DIMM slots.

Configure DIMM_MAX to overwrite SOC default.

Change-Id: I47ecc81452fe59ed59fd3a239ffe329cbc031d7a
Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44048
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
 src/mainboard/ocp/deltalake/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src')

diff --git a/src/mainboard/ocp/deltalake/Kconfig b/src/mainboard/ocp/deltalake/Kconfig
index d5df902102..8897b9fa08 100644
--- a/src/mainboard/ocp/deltalake/Kconfig
+++ b/src/mainboard/ocp/deltalake/Kconfig
@@ -42,4 +42,9 @@ config FMDFILE
 	string
 	default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/board.fmd"
 
+# Deltalake is single socket server, the platform design has 1 DIMM per channel
+config DIMM_MAX
+	int
+	default 6
+
 endif # BOARD_OCP_DELTALAKE
-- 
cgit v1.2.3