summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r--src/mainboard/google/cyan/variants/kefka/Makefile.inc2
-rw-r--r--src/mainboard/google/cyan/variants/kefka/spd_util.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/google/cyan/variants/kefka/Makefile.inc b/src/mainboard/google/cyan/variants/kefka/Makefile.inc
index 7799e8d2b3..d37ba1da08 100644
--- a/src/mainboard/google/cyan/variants/kefka/Makefile.inc
+++ b/src/mainboard/google/cyan/variants/kefka/Makefile.inc
@@ -28,6 +28,8 @@ SPD_SOURCES += micron_dimm_MT52L256M32D1PF-107
SPD_SOURCES += micron_dimm_MT52L256M32D1PF-107
SPD_SOURCES += samsung_2GiB_dimm_K4E8E324EB-EGCF
SPD_SOURCES += samsung_2GiB_dimm_K4E8E324EB-EGCF
+SPD_SOURCES += hynix_dimm_H9CCNNN8GTALAR-NUD
+SPD_SOURCES += hynix_dimm_H9CCNNN8GTALAR-NUD
SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex)
diff --git a/src/mainboard/google/cyan/variants/kefka/spd_util.c b/src/mainboard/google/cyan/variants/kefka/spd_util.c
index d9adb721d1..9db56b9492 100644
--- a/src/mainboard/google/cyan/variants/kefka/spd_util.c
+++ b/src/mainboard/google/cyan/variants/kefka/spd_util.c
@@ -25,10 +25,13 @@
* 0b0011 - 2GiB total - 1 x 2GiB Micron MT52L256M32D1PF-107
* 0b0100 - 4GiB total - 2 x 2GiB Samsung K4E8E324EB-EGCF 1600MHz
* 0b0101 - 2GiB total - 1 x 2GiB Samsung K4E8E324EB-EGCF 1600MHz
+ * 0b0110 - 4GiB total - 2 x 2GiB Hynix H9CCNNN8GTALAR-NUD
+ * 0b0111 - 2GiB total - 1 x 2GiB Hynix H9CCNNN8GTALAR-NUD
*
*/
-static const uint32_t dual_channel_config = (1 << 0) | (1 << 2) | (1 << 4);
+static const uint32_t dual_channel_config =
+ (1 << 0) | (1 << 2) | (1 << 4) | (1 << 6);
int get_variant_spd_index(int ram_id, int *dual)
{
@@ -55,6 +58,12 @@ int get_variant_spd_index(int ram_id, int *dual)
case 5:
printk(BIOS_DEBUG, "2GiB Samsung K4E8E324EB-EGCF\n");
break;
+ case 6:
+ printk(BIOS_DEBUG, "4GiB Hynix H9CCNNN8GTALAR-NUD\n");
+ break;
+ case 7:
+ printk(BIOS_DEBUG, "2GiB Hynix H9CCNNN8GTALAR-NUD\n");
+ break;
}
/* 1:1 mapping between ram_id and spd_index for kefka */