aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-26 19:28:28 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-30 23:15:23 +0000
commit0a45b40fb2fc2e0a7bf64e1721d0b60748949e4d (patch)
treebb2aa55589a63c3e40a2a0b3a9bc3c333a718208 /src/soc
parente780d980e96ad2778fbd892d407fb06cd358c6b2 (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49946 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/broadwell/Makefile.inc1
-rw-r--r--src/soc/intel/broadwell/pch/Makefile.inc1
-rw-r--r--src/soc/intel/broadwell/pch/ramstage.c (renamed from src/soc/intel/broadwell/ramstage.c)0
3 files changed, 1 insertions, 1 deletions
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
index a75bd36c99..a75bd36c99 100644
--- a/src/soc/intel/broadwell/ramstage.c
+++ b/src/soc/intel/broadwell/pch/ramstage.c