summaryrefslogtreecommitdiff
path: root/util/spd_tools/README.md
diff options
context:
space:
mode:
authorRobert Zieba <robertzieba@google.com>2022-04-01 09:48:28 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-04-05 14:50:56 +0000
commit255b1fb38bed3abf0086cb7f363c56f80509debd (patch)
treebdab8c9822eeab86814348d09f9a9cc74ecdbeb9 /util/spd_tools/README.md
parentbe1a050772a41b9927db2a94fa00874d6f789094 (diff)
util/spd_tools: Add ability to override SPD file for parts
This commit adds the ability to override the SPD file that is used for a specific part. BUG=b:224884904 TEST=Verified that generated makefile uses specified SPD file and that it remains unchanged when this capability is not used Signed-off-by: Robert Zieba <robertzieba@google.com> Change-Id: I078dd04fead2bf19f53bc6ca8295187d439adc20 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63281 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'util/spd_tools/README.md')
-rw-r--r--util/spd_tools/README.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/util/spd_tools/README.md b/util/spd_tools/README.md
index 01bc417c8b..6f09f562eb 100644
--- a/util/spd_tools/README.md
+++ b/util/spd_tools/README.md
@@ -459,14 +459,16 @@ This program takes the following inputs:
* The memory technology used by the board, e.g. lp4x.
* The path to the directory where the generated Makefile.inc should be placed.
* A CSV file containing a list of the memory parts used by the board, with an
-* optional fixed or exclusive ID for each part. A fixed ID is simply an integer
-* and it ensure that part (and any that share the same SPD) will be assigned
-* that ID. An exclusive ID is prefixed with `*` and ensures that only parts with
-* the same exclusive ID will be assigned that ID, even if they would otherwise
-* share the same ID.
+* optional fixed or exclusive ID for each part and an optional SPD override file.
+* A fixed ID is simply an integer and it ensure that part (and any that share the same SPD)
+* will be assigned that ID. An exclusive ID is prefixed with `*` and ensures that
+* only parts with the same exclusive ID will be assigned that ID, even if they would
+* otherwise share the same ID. When using an SPD override file, the file will be searched
+* for in the directory where mem_parts_used is located, if it is not found there then it
+* will be searched for in the appropriate default spd directory.
* NOTE: Only assign a fixed/exclusive ID if required for legacy reasons.
-Example of a CSV file using fixed and exclusive IDs:
+Example of a CSV file using fixed and exclusive IDs, and SPD file overrides:
```
K4AAG165WA-BCWE,1
@@ -475,6 +477,8 @@ MT40A1G16KD-062E:E
K4A8G165WC-BCWE
H5AN8G6NDJR-XNC,8
H5ANAG6NCMR-XNC,*9
+H9HCNNNCPMMLXR-NEE,,H9HCNNNCPMMLXR-NEE.hex
+H54G56CYRBX247,4,H54G56CYRBX247.hex
```
Explanation: This will ensure that the SPDs for K4AAG165WA-BCWE and