summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chiu <Kevin.Chiu@quantatw.com>2020-07-23 17:50:10 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-07-27 05:14:55 +0000
commitb7107864b7e082d673f306bd0da7ba5472690446 (patch)
treead0f3d4aac38d8c0c018ecd9e642963ec5ad7f91 /src
parentf8712786753b9859e1ea9182ba49ed42c9a355cf (diff)
mb/google/kukui: Add discrete LPDDR4X DDR table support for burnet/esche
LPDDR4x DRAM table for burnet/esche: [1] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB" [2] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB" [3] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB" [4] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB" BUG=b:161768221,b:159301679 BRANCH=master TEST=emerge-jacuzzi coreboot Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com> Change-Id: Ida7ab877c3f7e10a67680b69a1d724ec734d2928 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43752 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kukui/sdram_configs.c7
-rw-r--r--src/mainboard/google/kukui/sdram_params/Makefile.inc25
2 files changed, 23 insertions, 9 deletions
diff --git a/src/mainboard/google/kukui/sdram_configs.c b/src/mainboard/google/kukui/sdram_configs.c
index c1e75ef6f6..7638853648 100644
--- a/src/mainboard/google/kukui/sdram_configs.c
+++ b/src/mainboard/google/kukui/sdram_configs.c
@@ -6,6 +6,12 @@
#include <soc/emi.h>
static const char *const sdram_configs[] = {
+#if CONFIG(BOARD_GOOGLE_BURNET)
+ [1] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB",
+ [2] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB",
+ [3] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB",
+ [4] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB",
+#else /* The default unified table */
[1] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB",
[2] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB",
[3] = "sdram-lpddr4x-KMDH6001DA-B422-4GB",
@@ -15,6 +21,7 @@ static const char *const sdram_configs[] = {
[7] = "sdram-lpddr4x-SDADA4CR-128G-4GB",
[8] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB",
[10] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB",
+#endif
};
static struct sdram_params params;
diff --git a/src/mainboard/google/kukui/sdram_params/Makefile.inc b/src/mainboard/google/kukui/sdram_params/Makefile.inc
index af13aa1d79..2b43519357 100644
--- a/src/mainboard/google/kukui/sdram_params/Makefile.inc
+++ b/src/mainboard/google/kukui/sdram_params/Makefile.inc
@@ -1,13 +1,20 @@
sdram-params :=
-sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB
-sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB
-sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB
-sdram-params += sdram-lpddr4x-KMDH6001DA-B422-4GB
-sdram-params += sdram-lpddr4x-KMDP6001DA-B425-4GB
-sdram-params += sdram-lpddr4x-MT29VZZZAD8DQKSL-4GB
-sdram-params += sdram-lpddr4x-KMDV6001DA-B620-4GB
-sdram-params += sdram-lpddr4x-SDADA4CR-128G-4GB
-sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB
+ifeq ($(CONFIG_BOARD_GOOGLE_BURNET),y)
+ sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB
+ sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB
+ sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB
+ sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB
+else
+ sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB
+ sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB
+ sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB
+ sdram-params += sdram-lpddr4x-KMDH6001DA-B422-4GB
+ sdram-params += sdram-lpddr4x-KMDP6001DA-B425-4GB
+ sdram-params += sdram-lpddr4x-MT29VZZZAD8DQKSL-4GB
+ sdram-params += sdram-lpddr4x-KMDV6001DA-B620-4GB
+ sdram-params += sdram-lpddr4x-SDADA4CR-128G-4GB
+ sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB
+endif
$(foreach params,$(sdram-params), \
$(eval cbfs-files-y += $(params)) \