aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/romstage
diff options
context:
space:
mode:
authorAlexey Buyanov <alexey.buyanov@intel.com>2020-07-28 19:59:45 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-08-26 07:36:21 +0000
commit12016969c50a34b7385ca435554be9670d031ea4 (patch)
tree1295e67db8b3aa2f17593b03a1000ec786c78e97 /src/soc/intel/tigerlake/romstage
parent85a44639768e8365ba5e34e6752c7481534797b9 (diff)
soc/intel/tigerlake: Rename pch_init() code
Rename the pch_init function to bootblock_pch_init and romstage_pch_init according to the stage it is defined in. TEST=successfully built and booted TGLRVP Signed-off-by: Alexey Buyanov <alexey.buyanov@intel.com> Change-Id: Ib7450fcdc3024dfb5e375a54f9bdcdca9bc373d8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/44051 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/soc/intel/tigerlake/romstage')
-rw-r--r--src/soc/intel/tigerlake/romstage/pch.c2
-rw-r--r--src/soc/intel/tigerlake/romstage/romstage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/tigerlake/romstage/pch.c b/src/soc/intel/tigerlake/romstage/pch.c
index 9fd8a1e43e..d3c2554425 100644
--- a/src/soc/intel/tigerlake/romstage/pch.c
+++ b/src/soc/intel/tigerlake/romstage/pch.c
@@ -3,7 +3,7 @@
#include <intelblocks/smbus.h>
#include <soc/romstage.h>
-void pch_init(void)
+void romstage_pch_init(void)
{
/* Program SMBUS_BASE_ADDRESS and Enable it */
smbus_common_init();
diff --git a/src/soc/intel/tigerlake/romstage/romstage.c b/src/soc/intel/tigerlake/romstage/romstage.c
index 54632383eb..db014ea5d6 100644
--- a/src/soc/intel/tigerlake/romstage/romstage.c
+++ b/src/soc/intel/tigerlake/romstage/romstage.c
@@ -131,7 +131,7 @@ void mainboard_romstage_entry(void)
/* Program MCHBAR, DMIBAR, GDXBAR and EDRAMBAR */
systemagent_early_init();
/* Program PCH init */
- pch_init();
+ romstage_pch_init();
/* initialize Heci interface */
heci_init(HECI1_BASE_ADDRESS);