diff options
author | Martin Roth <gaumless@gmail.com> | 2023-03-09 10:47:11 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-10 22:12:25 +0000 |
commit | 1ddb40f491e4e4487e243249cee062098fb6a17f (patch) | |
tree | 2a530025051dd2ff09e396d3f735106b411c52eb /toolchain.inc | |
parent | cabf6eaac3dd8ec6cc074ac1792e17701622b561 (diff) |
soc/amd/common/psp: Put spl_fuse in separate compilation unit
This separates the SPL fusing function into a separate C file which can
be excluded if it is not needed. This allows the psp_set_spl_fuse()
function to be made static again as the state of the function will
always match the boot_state entry.
Move the required #defines to the common header file so they can be
used by both psp_gen2.c & spl_fuse.c.
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: Ifbc774a370dd35a5c1e82f271816e8a036745ad5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73655
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'toolchain.inc')
0 files changed, 0 insertions, 0 deletions