summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/nami/Makefile.mk
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2024-01-18 16:09:11 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-24 11:54:06 +0000
commit03d509ff0065f8a6289d614f5b8189f008dbc206 (patch)
treeb90318c4d5d021a904db9cebf9ef735e40f68527 /src/mainboard/google/poppy/variants/nami/Makefile.mk
parent0fbd20e58f5e73fb531fbb8dbb6089c607262122 (diff)
mb/google/oak to rex: Rename Makefiles from .inc to .mk
The .inc suffix is confusing to various tools as it's not specific to Makefiles. This means that editors don't recognize the files, and don't open them with highlighting and any other specific editor functionality. This issue is also seen in the release notes generation script where Makefiles get renamed before running cloc. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I85cda24aa7dec82d23e8a321dac03ec737f4c503 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80108 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nami/Makefile.mk')
-rw-r--r--src/mainboard/google/poppy/variants/nami/Makefile.mk49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/Makefile.mk b/src/mainboard/google/poppy/variants/nami/Makefile.mk
new file mode 100644
index 0000000000..7d9e81edc2
--- /dev/null
+++ b/src/mainboard/google/poppy/variants/nami/Makefile.mk
@@ -0,0 +1,49 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+# IMPORTANT!! When a new memory SPD is added here, please ensure that ddp_bitmap
+# is correctly updated in memory.c to indicate if memory id is using DDP.
+SPD_SOURCES = empty_ddr4 # 0b0000
+SPD_SOURCES += micron_dimm_MT40A256M16GE-083E # 0b0001
+SPD_SOURCES += samsung_dimm_K4A8G165WB-BCRC # 0b0010
+SPD_SOURCES += hynix_dimm_H5AN4G6NBJR-UHC # 0b0011
+SPD_SOURCES += hynix_dimm_H5ANAG6NAMR-UHC # 0b0100
+SPD_SOURCES += hynix_dimm_H5ANAG6NCMR-VKC # 0b0101
+SPD_SOURCES += hynix_dimm_H5AN8G6NAFR-UHC # 0b0110
+SPD_SOURCES += samsung_dimm_K4A4G165WE-BCRC # 0b0111
+SPD_SOURCES += samsung_dimm_K4A8G165WC-BCTD # 0b1000
+SPD_SOURCES += samsung_dimm_K4AAG165WB-MCRC # 0b1001
+SPD_SOURCES += hynix_dimm_H5AN4G6NAFR-UHC # 0b1010
+SPD_SOURCES += micron_dimm_MT40A256M16LY-075F # 0b1011
+SPD_SOURCES += micron_dimm_MT40A512M16TB-062EJ # 0b1100
+SPD_SOURCES += micron_dimm_MT40A1G16KNR-075E # 0b1101
+SPD_SOURCES += micron_dimm_MT40A512M16LY-075E # 0b1110
+SPD_SOURCES += hynix_dimm_H5AN8G6NCJR-VKC # 0b1111
+
+# Used when PCH_MEM_CONFIG4 = 1 (LPDDR3)
+SEC_SPD_SOURCES += micron_dimm_MT52L512M32D2PF-107 # 0b0000
+SEC_SPD_SOURCES += micron_dimm_MT52L256M32D1PF-107 # 0b0001
+SEC_SPD_SOURCES += hynix_dimm_H9CCNNNBJTALAR-NUD # 0b0010
+SEC_SPD_SOURCES += hynix_dimm_H9CCNNN8GTALAR-NUD # 0b0011
+SEC_SPD_SOURCES += micron_dimm_MT52L1G32D4PG-107 # 0b0100
+SEC_SPD_SOURCES += hynix_dimm_H9CCNNNCLGALAR-NUD # 0b0101
+SEC_SPD_SOURCES += nayna_dimm_NT6CL256T32CM-H1 # 0b0110
+
+bootblock-y += gpio.c
+
+romstage-y += memory.c
+
+ramstage-y += gpio.c
+ramstage-y += nhlt.c
+ramstage-y += mainboard.c
+
+smm-y += smihandler.c
+
+# Add OEM ID table
+cbfs-files-y += oem.bin
+oem.bin-file := $(call strip_quotes,$(CONFIG_OEM_BIN_FILE))
+oem.bin-type := raw
+
+$(call add_vbt_to_cbfs, vbt-bard.bin, bard-data.vbt)
+$(call add_vbt_to_cbfs, vbt-akali.bin, akali-data.vbt)
+$(call add_vbt_to_cbfs, vbt-pantheon.bin, pantheon-data.vbt)
+$(call add_vbt_to_cbfs, vbt-vayne.bin, vayne-data.vbt)