summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/picasso/include/soc/romstage.h2
-rw-r--r--src/soc/amd/picasso/romstage.c4
-rw-r--r--src/soc/amd/stoneyridge/include/soc/romstage.h2
-rw-r--r--src/soc/amd/stoneyridge/romstage.c4
-rw-r--r--src/soc/intel/baytrail/include/soc/romstage.h2
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/src/soc/amd/picasso/include/soc/romstage.h b/src/soc/amd/picasso/include/soc/romstage.h
index d8b2900fb5..c0d03d0ead 100644
--- a/src/soc/amd/picasso/include/soc/romstage.h
+++ b/src/soc/amd/picasso/include/soc/romstage.h
@@ -16,6 +16,6 @@
#ifndef __PICASSO_ROMSTAGE_H__
#define __PICASSO_ROMSTAGE_H__
-void mainboard_romstage_entry(int s3_resume);
+void mainboard_romstage_entry_s3(int s3_resume);
#endif /* __PICASSO_ROMSTAGE_H__ */
diff --git a/src/soc/amd/picasso/romstage.c b/src/soc/amd/picasso/romstage.c
index 22b5ce4be0..7970b0edda 100644
--- a/src/soc/amd/picasso/romstage.c
+++ b/src/soc/amd/picasso/romstage.c
@@ -34,7 +34,7 @@
#include "chip.h"
-void __weak mainboard_romstage_entry(int s3_resume)
+void __weak mainboard_romstage_entry_s3(int s3_resume)
{
/* By default, don't do anything */
}
@@ -49,7 +49,7 @@ asmlinkage void car_stage_entry(void)
console_init();
- mainboard_romstage_entry(s3_resume);
+ mainboard_romstage_entry_s3(s3_resume);
if (!s3_resume) {
post_code(0x40);
diff --git a/src/soc/amd/stoneyridge/include/soc/romstage.h b/src/soc/amd/stoneyridge/include/soc/romstage.h
index 6ce79b424e..598b409ba5 100644
--- a/src/soc/amd/stoneyridge/include/soc/romstage.h
+++ b/src/soc/amd/stoneyridge/include/soc/romstage.h
@@ -16,6 +16,6 @@
#ifndef __STONEYRIDGE_ROMSTAGE_H__
#define __STONEYRIDGE_ROMSTAGE_H__
-void mainboard_romstage_entry(int s3_resume);
+void mainboard_romstage_entry_s3(int s3_resume);
#endif /* __STONEYRIDGE_ROMSTAGE_H__ */
diff --git a/src/soc/amd/stoneyridge/romstage.c b/src/soc/amd/stoneyridge/romstage.c
index 4cadc68a89..c76f7cd80c 100644
--- a/src/soc/amd/stoneyridge/romstage.c
+++ b/src/soc/amd/stoneyridge/romstage.c
@@ -37,7 +37,7 @@
#include "chip.h"
-void __weak mainboard_romstage_entry(int s3_resume)
+void __weak mainboard_romstage_entry_s3(int s3_resume)
{
/* By default, don't do anything */
}
@@ -97,7 +97,7 @@ asmlinkage void car_stage_entry(void)
if (CONFIG(SOC_AMD_PSP_SELECTABLE_SMU_FW))
load_smu_fw1();
- mainboard_romstage_entry(s3_resume);
+ mainboard_romstage_entry_s3(s3_resume);
bsp_agesa_call();
diff --git a/src/soc/intel/baytrail/include/soc/romstage.h b/src/soc/intel/baytrail/include/soc/romstage.h
index 8ea2d699c7..ae38b70770 100644
--- a/src/soc/intel/baytrail/include/soc/romstage.h
+++ b/src/soc/intel/baytrail/include/soc/romstage.h
@@ -28,7 +28,7 @@ struct romstage_params {
struct mrc_params *mrc_params;
};
-void mainboard_romstage_entry(struct romstage_params *params);
+void mainboard_romstage_entry_rp(struct romstage_params *params);
void romstage_common(struct romstage_params *params);
void raminit(struct mrc_params *mp, int prev_sleep_state);
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c
index 7a413d9c1d..63e36aaa36 100644
--- a/src/soc/intel/baytrail/romstage/romstage.c
+++ b/src/soc/intel/baytrail/romstage/romstage.c
@@ -146,7 +146,7 @@ static void romstage_main(uint64_t tsc)
gfx_init();
/* Call into mainboard. */
- mainboard_romstage_entry(&rp);
+ mainboard_romstage_entry_rp(&rp);
if (CONFIG(SMM_TSEG))
smm_list_regions();