mb/google/brya/var/osiris: Generate SPD ID for supported parts

Add supported memory parts in mem_parts_used.txt, and generate
SPD id for these parts.

MT53E512M32D1NP-046 WT:B (Micron)
MT53E1G32D2NP-046 WT:B (Micron)
H54G46CYRBX267 (Hynix)
H54G56CYRBX247 (Hynix)
K4U6E3S4AB-MGCL (Samsung)
K4UBE3D4AB-MGCL (Samsung)

BUG=None
TEST=build pass

Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: I1fbdce203afd282cef9fcd7aebbace69d19fbbf1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63706
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
David Wu 2022-04-19 12:38:24 +08:00 committed by Felix Held
parent eb327cb637
commit 99e2379d64
3 changed files with 22 additions and 13 deletions

View File

@ -1,5 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!! # This is an auto-generated file. Do not edit!!
# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate. # Generated by:
# util/spd_tools/bin/part_id_gen ADL lp4x src/mainboard/google/brya/variants/osiris/memory/ src/mainboard/google/brya/variants/osiris/memory/mem_parts_used.txt
SPD_SOURCES = placeholder SPD_SOURCES =
SPD_SOURCES += spd/lp4x/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D1NP-046 WT:B, H54G46CYRBX267, K4U6E3S4AB-MGCL
SPD_SOURCES += spd/lp4x/set-0/spd-3.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:B, H54G56CYRBX247, K4UBE3D4AB-MGCL

View File

@ -1 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
# Generated by:
# util/spd_tools/bin/part_id_gen ADL lp4x src/mainboard/google/brya/variants/osiris/memory/ src/mainboard/google/brya/variants/osiris/memory/mem_parts_used.txt
DRAM Part Name ID to assign DRAM Part Name ID to assign
MT53E512M32D1NP-046 WT:B 0 (0000)
MT53E1G32D2NP-046 WT:B 1 (0001)
H54G46CYRBX267 0 (0000)
H54G56CYRBX247 1 (0001)
K4U6E3S4AB-MGCL 0 (0000)
K4UBE3D4AB-MGCL 1 (0001)

View File

@ -1,11 +1,6 @@
# This is a CSV file containing a list of memory parts used by this variant. MT53E512M32D1NP-046 WT:B
# One part per line with an optional fixed ID in column 2. MT53E1G32D2NP-046 WT:B
# Only include a fixed ID if it is required for legacy reasons! H54G46CYRBX267
# Generated IDs are dependent on the order of parts in this file, H54G56CYRBX247
# so new parts must always be added at the end of the file! K4U6E3S4AB-MGCL
# K4UBE3D4AB-MGCL
# Generate an updated Makefile.inc and dram_id.generated.txt by running the
# part_id_gen tool from util/spd_tools.
# See util/spd_tools/README.md for more details and instructions.
# Part Name