From 0a45b40fb2fc2e0a7bf64e1721d0b60748949e4d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 26 Jan 2021 19:28:28 +0100 Subject: [PATCH] soc/intel/broadwell: Move `ramstage.c` to PCH scope The remaining code in this file is PCH-specific. Change-Id: I0e4924e680db9c25aeb222bdd478b3282a77b34f Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49946 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/soc/intel/broadwell/Makefile.inc | 1 - src/soc/intel/broadwell/pch/Makefile.inc | 1 + src/soc/intel/broadwell/{ => pch}/ramstage.c | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/soc/intel/broadwell/{ => pch}/ramstage.c (100%) diff --git a/src/soc/intel/broadwell/Makefile.inc b/src/soc/intel/broadwell/Makefile.inc index 5e0ce649bf..55eddf18fd 100644 --- a/src/soc/intel/broadwell/Makefile.inc +++ b/src/soc/intel/broadwell/Makefile.inc @@ -19,7 +19,6 @@ ramstage-y += minihd.c ramstage-y += northbridge.c ramstage-y += pei_data.c romstage-y += pei_data.c -ramstage-y += ramstage.c ramstage-$(CONFIG_HAVE_REFCODE_BLOB) += refcode.c CPPFLAGS_common += -Isrc/soc/intel/broadwell/include diff --git a/src/soc/intel/broadwell/pch/Makefile.inc b/src/soc/intel/broadwell/pch/Makefile.inc index 119534fccd..1a1965a822 100644 --- a/src/soc/intel/broadwell/pch/Makefile.inc +++ b/src/soc/intel/broadwell/pch/Makefile.inc @@ -24,6 +24,7 @@ romstage-y += pmutil.c smm-y += pmutil.c verstage-y += pmutil.c romstage-y += power_state.c +ramstage-y += ramstage.c ramstage-y += sata.c ramstage-y += serialio.c ramstage-y += smbus.c diff --git a/src/soc/intel/broadwell/ramstage.c b/src/soc/intel/broadwell/pch/ramstage.c similarity index 100% rename from src/soc/intel/broadwell/ramstage.c rename to src/soc/intel/broadwell/pch/ramstage.c