util/spd_tools: Update Makefile.inc references to Makefile.mk
Make sure that any new files generated get the Makefile.mk name. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I3880d5911ff8de01751befdffc99ba5a961416f7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80113 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
committed by
Felix Singer
parent
68c73c94db
commit
2dd1218530
@@ -25,7 +25,7 @@ IDs (configure DRAM hardware straps) for any memory part used by a board.
|
||||
maps each supported platform to one of these sets.
|
||||
* `part_id_gen`: This tool allocates DRAM strap IDs for the different memory
|
||||
parts used by a board. It takes as input a CSV file of the memory parts used
|
||||
with optional fixed IDs. It generates a Makefile.inc which is used to
|
||||
with optional fixed IDs. It generates a Makefile.mk which is used to
|
||||
integrate the SPD files generated by `spd_gen` into the coreboot build.
|
||||
|
||||
## Tool 1 - `spd_gen`
|
||||
@@ -465,7 +465,7 @@ This program takes the following 4 inputs:
|
||||
|
||||
* 1) The SoC platform which the board is based on, e.g. ADL.
|
||||
* 2) The memory technology used by the board, One of ddr4, lp4x, or lp5.
|
||||
* 3) The path to the directory where the generated Makefile.inc should be placed.
|
||||
* 3) The path to the directory where the generated Makefile.mk should be placed.
|
||||
* 4) A CSV file containing a list of the memory parts used by the board, with an
|
||||
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
|
||||
@@ -503,14 +503,14 @@ The `part_id_gen` tool outputs the following:
|
||||
|
||||
* It prints the DRAM hardware strap ID which should be allocated to each
|
||||
memory part in the input file.
|
||||
* It generates a `Makefile.inc` in the given directory. This is used to
|
||||
* It generates a `Makefile.mk` in the given directory. This is used to
|
||||
integrate the SPD files generated by `spd_gen` with the coreboot build for
|
||||
the board.
|
||||
* It generates a `dram_id.generated.txt` in the same directory as the
|
||||
`Makefile.inc`. This lists the part IDs assigned to each memory part, and is
|
||||
`Makefile.mk`. This lists the part IDs assigned to each memory part, and is
|
||||
useful for itegration with the board schematics.
|
||||
|
||||
Sample `Makefile.inc`:
|
||||
Sample `Makefile.mk`:
|
||||
|
||||
```
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
@@ -607,9 +607,9 @@ util/spd_tools/bin/part_id_gen \
|
||||
* Update the file containing the memory parts used by board (variant), by
|
||||
adding the new memory part name at the end of the file.
|
||||
|
||||
* Use `part_id_gen` to update the variant's `Makefile.inc` and
|
||||
* Use `part_id_gen` to update the variant's `Makefile.mk` and
|
||||
`dram_id.generated.txt` with the new part.
|
||||
* Upload the changes to `Makefile.inc` and `dram_id.generated.txt` for
|
||||
* Upload the changes to `Makefile.mk` and `dram_id.generated.txt` for
|
||||
review.
|
||||
|
||||
## How to add support for a new memory technology
|
||||
|
Reference in New Issue
Block a user