From 7dcfd1b56a1da51e757ed0e5ba0bbfb9ff5f7922 Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Thu, 27 Aug 2020 13:15:59 -0600 Subject: mb/google/zork/berknip: Remove unused memory part IDs These parts have not been used in any berknip devices. Removing so IDs can be assigned more efficiently. Command to generate files: go build gen_part_id.go local variant=berknip ./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:165611704 TEST=none Change-Id: I9020fc9cbbb4a97664b0c969dd841c5696a4d60f Signed-off-by: Rob Barnes Reviewed-on: https://review.coreboot.org/c/coreboot/+/44871 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/zork/variants/berknip/spd/Makefile.inc | 4 ++-- src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt | 2 -- src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mainboard/google/zork') diff --git a/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc b/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc index ae5b2e28e6..83eebe1097 100644 --- a/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc +++ b/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc @@ -3,10 +3,10 @@ SPD_SOURCES = SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = K4A8G165WC-BCTD -SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = K4A8G165WC-BCWE +SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001) SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J SPD_SOURCES += ddr4-spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC -SPD_SOURCES += ddr4-spd-6.hex # ID = 4(0b0100) Parts = H5ANAG6NCMR-VKC +SPD_SOURCES += ddr4-spd-empty.hex # ID = 4(0b0100) SPD_SOURCES += ddr4-spd-1.hex # ID = 5(0b0101) Parts = K4A8G165WC-BCWE SPD_SOURCES += ddr4-spd-7.hex # ID = 6(0b0110) Parts = MT40A1G16KD-062E:E SPD_SOURCES += ddr4-spd-2.hex # ID = 7(0b0111) Parts = H5ANAG6NCMR-XNC diff --git a/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt index 32b5981748..45af67b4e9 100644 --- a/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt +++ b/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt @@ -1,9 +1,7 @@ DRAM Part Name ID to assign K4A8G165WC-BCTD 0 (0000) -K4A8G165WC-BCWE 1 (0001) MT40A512M16TB-062E:J 2 (0010) H5AN8G6NDJR-XNC 3 (0011) -H5ANAG6NCMR-VKC 4 (0100) K4A8G165WC-BCWE 5 (0101) MT40A1G16KD-062E:E 6 (0110) H5ANAG6NCMR-XNC 7 (0111) diff --git a/src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt b/src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt index 1c88e23a42..69d65d232f 100644 --- a/src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt +++ b/src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt @@ -1,8 +1,6 @@ K4A8G165WC-BCTD, 0 -K4A8G165WC-BCWE, 1 MT40A512M16TB-062E:J, 2 H5AN8G6NDJR-XNC, 3 -H5ANAG6NCMR-VKC, 4 K4A8G165WC-BCWE, 5 MT40A1G16KD-062E:E, 6 H5ANAG6NCMR-XNC, 7 -- cgit v1.2.3