summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/include
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-02-19 20:15:43 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-03-01 19:40:31 +0000
commit4ace49c9a292c0caf040fd542299932fac4c9734 (patch)
tree935d72f0094f57c30c02555fe3af18375d7683e2 /src/soc/intel/icelake/include
parent423c9faf63d78511902f9f7979685492fe678dc4 (diff)
soc/intel/icelake: Rename `pch_init()` function
There's two instances of the same function, one for the bootblock and another for romstage. Prefix them with the stage they are executed in. Change-Id: I35e87cd47f3cef8952481d25b54558a546aebb60 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50944 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/icelake/include')
-rw-r--r--src/soc/intel/icelake/include/soc/bootblock.h2
-rw-r--r--src/soc/intel/icelake/include/soc/romstage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/icelake/include/soc/bootblock.h b/src/soc/intel/icelake/include/soc/bootblock.h
index 0132cfc07e..f22b2665ec 100644
--- a/src/soc/intel/icelake/include/soc/bootblock.h
+++ b/src/soc/intel/icelake/include/soc/bootblock.h
@@ -8,7 +8,7 @@ void bootblock_cpu_init(void);
void bootblock_pch_early_init(void);
/* Bootblock post console init programming */
-void pch_init(void);
+void bootblock_pch_init(void);
void pch_early_iorange_init(void);
void report_platform_info(void);
diff --git a/src/soc/intel/icelake/include/soc/romstage.h b/src/soc/intel/icelake/include/soc/romstage.h
index 90a19f20db..3772db4bc1 100644
--- a/src/soc/intel/icelake/include/soc/romstage.h
+++ b/src/soc/intel/icelake/include/soc/romstage.h
@@ -7,7 +7,7 @@
void mainboard_memory_init_params(FSPM_UPD *mupd);
void systemagent_early_init(void);
-void pch_init(void);
+void romstage_pch_init(void);
/* Board type */
enum board_type {