From 5f28d73db67fef2175679597b1d6db287366b373 Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Thu, 24 Sep 2020 16:27:50 +0800 Subject: mb/google/zork/vilboz: Remove unused memory part IDs These parts have not been used in any vilboz devices. Removing so IDs can be assigned more efficiently. Command to generate files: go build gen_part_id.go local variant=vilboz ./gen_part_id ../../../src/mainboard/google/zork/spd ../../../src/mainboard/google/zork/variants/${variant}/spd/ ../../../src/mainboard/google/zork/variants/${variant}/spd/mem_parts_used.txt BUG=b:165611994 TEST=none Change-Id: I99614acaf45db0556120c883577494d9f753ea12 Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/45679 Reviewed-by: EricR Lai Reviewed-by: Rob Barnes Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc | 4 ++-- src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt | 2 -- src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc index 73285450ba..8868a69450 100644 --- a/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc +++ b/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc @@ -2,8 +2,8 @@ ## This is an auto-generated file. Do not edit!! SPD_SOURCES = -SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = H5AN8G6NCJR-VKC -SPD_SOURCES += ddr4-spd-6.hex # ID = 1(0b0001) Parts = H5ANAG6NCMR-VKC +SPD_SOURCES += ddr4-spd-empty.hex # ID = 0(0b0000) +SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001) SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCWE SPD_SOURCES += ddr4-spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = MT40A512M16TB-062E:J diff --git a/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt index 6eb4bf353e..bfbe03422b 100644 --- a/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt +++ b/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt @@ -1,6 +1,4 @@ DRAM Part Name ID to assign -H5AN8G6NCJR-VKC 0 (0000) -H5ANAG6NCMR-VKC 1 (0001) K4A8G165WC-BCWE 2 (0010) H5AN8G6NDJR-XNC 3 (0011) MT40A512M16TB-062E:J 4 (0100) diff --git a/src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt b/src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt index 6afaeed8e9..08f4891584 100644 --- a/src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt +++ b/src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt @@ -7,8 +7,6 @@ # See util/spd_tools/ddr4/README.md for more details and instructions. # Part Name, Fixed ID (optional) -H5AN8G6NCJR-VKC, 0 -H5ANAG6NCMR-VKC, 1 K4A8G165WC-BCWE, 2 H5AN8G6NDJR-XNC, 3 MT40A512M16TB-062E:J, 4 -- cgit v1.2.3