From 0f51ff72e444b58ee89f39234b6b3609a445fe15 Mon Sep 17 00:00:00 2001 From: Rob Barnes Date: Thu, 27 Aug 2020 15:07:47 -0600 Subject: [PATCH] mb/google/zork/woomax: Remove unused memory parts These parts have not been used in any woomax devices. Removing so IDs can be assigned more efficiently. Command to generate files: go build gen_part_id.go local variant=woomax ./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:165611555 TEST=none Change-Id: I651539c2df8e6d817582573d45b9e77156ece7d4 Signed-off-by: Rob Barnes Reviewed-on: https://review.coreboot.org/c/coreboot/+/44872 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/zork/variants/woomax/spd/Makefile.inc | 6 +++--- .../google/zork/variants/woomax/spd/dram_id.generated.txt | 3 --- .../google/zork/variants/woomax/spd/mem_parts_used.txt | 3 --- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc b/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc index e3120af4cf..dd877fd6cc 100644 --- a/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc +++ b/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc @@ -2,10 +2,10 @@ ## This is an auto-generated file. Do not edit!! SPD_SOURCES = -SPD_SOURCES += ddr4-spd-1.hex # ID = 0(0b0000) Parts = MT40A512M16TB-062E:J +SPD_SOURCES += ddr4-spd-empty.hex # ID = 0(0b0000) SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = H5AN8G6NCJR-XNC -SPD_SOURCES += ddr4-spd-7.hex # ID = 2(0b0010) Parts = MT40A1G16KD-062E:E -SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE +SPD_SOURCES += ddr4-spd-empty.hex # ID = 2(0b0010) +SPD_SOURCES += ddr4-spd-empty.hex # ID = 3(0b0011) SPD_SOURCES += ddr4-spd-empty.hex # ID = 4(0b0100) SPD_SOURCES += ddr4-spd-empty.hex # ID = 5(0b0101) SPD_SOURCES += ddr4-spd-empty.hex # ID = 6(0b0110) diff --git a/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt index 5c2cda55f6..7d40e2a668 100644 --- a/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt +++ b/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt @@ -1,8 +1,5 @@ DRAM Part Name ID to assign -MT40A512M16TB-062E:J 0 (0000) H5AN8G6NCJR-XNC 1 (0001) -MT40A1G16KD-062E:E 2 (0010) -K4AAG165WA-BCWE 3 (0011) MT40A512M16TB-062E:J 8 (1000) H5AN8G6NCJR-XNC 9 (1001) MT40A1G16KD-062E:E 10 (1010) diff --git a/src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt b/src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt index 1dccbac049..fcee8664c0 100644 --- a/src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt +++ b/src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt @@ -1,7 +1,4 @@ -MT40A512M16TB-062E:J, 0 H5AN8G6NCJR-XNC, 1 -MT40A1G16KD-062E:E, 2 -K4AAG165WA-BCWE, 3 MT40A512M16TB-062E:J, 8 H5AN8G6NCJR-XNC, 9 MT40A1G16KD-062E:E, 10