summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-16 15:13:00 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-21 16:37:33 +0000
commitc2741855afacd073d370d47818d972cca9baba18 (patch)
tree41522e0abfe2796935511eb92db068dc49a62a38 /src/soc/intel/baytrail
parent16562cb859ad323153a9fe6d8b3890cc7dd73093 (diff)
arch/x86: Rename some mainboard_romstage_entry()
These platforms use different signature for this function, so declare them with different name to make room in global namespace. Change-Id: I77be9099bf20e00ae6770e9ffe12301eda028819 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34909 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/include/soc/romstage.h2
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c2
2 files changed, 2 insertions, 2 deletions
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();