Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50515 )
Change subject: soc/amd/picasso/psp: move to common code and rename to psp_smm_gen2 ......................................................................
soc/amd/picasso/psp: move to common code and rename to psp_smm_gen2
soc_fill_smm_trig_info and soc_fill_smm_reg_info aren't specific to Picasso.
Change-Id: I771a7d36eea7307754386824190624a09c0e38f7 Signed-off-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/common/block/psp/Makefile.inc R src/soc/amd/common/block/psp/psp_smm_gen2.c M src/soc/amd/picasso/Makefile.inc 3 files changed, 1 insertion(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/50515/1
diff --git a/src/soc/amd/common/block/psp/Makefile.inc b/src/soc/amd/common/block/psp/Makefile.inc index 907f0ef..3bb03f7 100644 --- a/src/soc/amd/common/block/psp/Makefile.inc +++ b/src/soc/amd/common/block/psp/Makefile.inc @@ -20,5 +20,6 @@ romstage-y += psp_gen2.c ramstage-y += psp_gen2.c smm-y += psp_gen2.c +smm-y += psp_smm_gen2.c
endif # CONFIG_SOC_AMD_COMMON_BLOCK_PSP_GEN2 diff --git a/src/soc/amd/picasso/psp.c b/src/soc/amd/common/block/psp/psp_smm_gen2.c similarity index 100% rename from src/soc/amd/picasso/psp.c rename to src/soc/amd/common/block/psp/psp_smm_gen2.c diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc index d81eddc..e92de1f 100644 --- a/src/soc/amd/picasso/Makefile.inc +++ b/src/soc/amd/picasso/Makefile.inc @@ -25,7 +25,6 @@ romstage-y += reset.c romstage-y += memmap.c romstage-y += uart.c -romstage-y += psp.c romstage-y += mrc_cache.c
verstage-y += i2c.c @@ -50,7 +49,6 @@ ramstage-y += uart.c ramstage-y += finalize.c ramstage-y += soc_util.c -ramstage-y += psp.c ramstage-y += fsp_params.c ramstage-y += update_microcode.c ramstage-y += graphics.c @@ -63,7 +61,6 @@ smm-y += uart.c endif smm-y += gpio.c -smm-y += psp.c smm-y += smu.c
CPPFLAGS_common += -I$(src)/soc/amd/picasso