From 2d4f196ca7ef5bfffaf83451785d2ae2663c2464 Mon Sep 17 00:00:00 2001
From: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Date: Wed, 20 Nov 2024 17:19:28 +0800
Subject: mb/google/fatcat/var/francka: Use RAM ID 1 for MT62F2G32D4DS-020 WT:F

Change the ram_id to 1 for MT62F2G32D4DS-020 WT:F based on the
hardware schematic MB_SCH_1102A.

BUG=b:372395010
TEST=Run part_id_gen tool and check the generated files.

Change-Id: I8cf0e65036c2da7641f29b2975dece718f7c83e3
Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85206
Reviewed-by: Pranava Y N <pranavayn@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
---
 src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk      | 5 +++--
 .../google/fatcat/variants/francka/memory/dram_id.generated.txt      | 4 ++--
 .../google/fatcat/variants/francka/memory/mem_parts_used.txt         | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

(limited to 'src/mainboard/google/fatcat')

diff --git a/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
index 62c4535625..310ef55ffa 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
+++ b/src/mainboard/google/fatcat/variants/francka/memory/Makefile.mk
@@ -1,7 +1,8 @@
 # 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 ptl lp5 src/mainboard/google/fatcat/variants/francka/memory/ src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/francka/memory src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
 
 SPD_SOURCES =
-SPD_SOURCES += spd/lp5/set-0/spd-10.hex      # ID = 0(0b0000)  Parts = MT62F2G32D4DS-020 WT:F
+SPD_SOURCES += spd/lp5/set-0/spd-empty.hex      # ID = 0(0b0000)
+SPD_SOURCES += spd/lp5/set-0/spd-10.hex      # ID = 1(0b0001)  Parts = MT62F2G32D4DS-020 WT:F
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
index 31165c4f06..dcb790a884 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
+++ b/src/mainboard/google/fatcat/variants/francka/memory/dram_id.generated.txt
@@ -1,7 +1,7 @@
 # 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 ptl lp5 src/mainboard/google/fatcat/variants/francka/memory/ src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen PTL lp5 src/mainboard/google/fatcat/variants/francka/memory src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
 
 DRAM Part Name                 ID to assign
-MT62F2G32D4DS-020 WT:F         0 (0000)
+MT62F2G32D4DS-020 WT:F         1 (0001)
diff --git a/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
index e6822f6c65..9b800352b0 100644
--- a/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
+++ b/src/mainboard/google/fatcat/variants/francka/memory/mem_parts_used.txt
@@ -9,4 +9,4 @@
 # See util/spd_tools/README.md for more details and instructions.
 
 # Part Name
-MT62F2G32D4DS-020 WT:F
+MT62F2G32D4DS-020 WT:F,1
-- 
cgit v1.2.3