[coreboot-gerrit] Change in ...coreboot[master]: src/soc/intel/skylake/romstage/romstage_fsp20.c: Add weak CAR pre-con...
Michał Żygowski (Code Review)
gerrit at coreboot.org
Fri Dec 21 12:12:16 CET 2018
Michał Żygowski has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30358
Change subject: src/soc/intel/skylake/romstage/romstage_fsp20.c: Add weak CAR pre-console init function
......................................................................
src/soc/intel/skylake/romstage/romstage_fsp20.c: Add weak CAR pre-console init function
Add weak funtion before console initialization in romstage to allow mainboards
initialize SuperIO for serial console for example.
Signed-off-by: Michał Żygowski <michal.zygowski at 3mdeb.com>
Change-Id: I7a44ad626d97adbd20dee5d13325289c23c176ad
---
M src/soc/intel/skylake/include/fsp20/soc/romstage.h
M src/soc/intel/skylake/romstage/romstage_fsp20.c
2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/30358/1
diff --git a/src/soc/intel/skylake/include/fsp20/soc/romstage.h b/src/soc/intel/skylake/include/fsp20/soc/romstage.h
index 364bf52..b7bb604 100644
--- a/src/soc/intel/skylake/include/fsp20/soc/romstage.h
+++ b/src/soc/intel/skylake/include/fsp20/soc/romstage.h
@@ -20,6 +20,7 @@
#include <fsp/api.h>
void mainboard_memory_init_params(FSPM_UPD *mupd);
+void car_mainboard_pre_console_init(void);
void systemagent_early_init(void);
int smbus_read_byte(unsigned int device, unsigned int address);
/* Board type */
diff --git a/src/soc/intel/skylake/romstage/romstage_fsp20.c b/src/soc/intel/skylake/romstage/romstage_fsp20.c
index 2a60158..09af24d 100644
--- a/src/soc/intel/skylake/romstage/romstage_fsp20.c
+++ b/src/soc/intel/skylake/romstage/romstage_fsp20.c
@@ -140,6 +140,7 @@
uintptr_t top_of_ram;
struct chipset_power_state *ps;
+ car_mainboard_pre_console_init();
console_init();
/* Program MCHBAR, DMIBAR, GDXBAR and EDRAMBAR */
@@ -299,3 +300,8 @@
{
/* Do nothing */
}
+
+__weak void car_mainboard_pre_console_init(void)
+{
+ /* Do nothing */
+}
\ No newline at end of file
--
To view, visit https://review.coreboot.org/c/coreboot/+/30358
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7a44ad626d97adbd20dee5d13325289c23c176ad
Gerrit-Change-Number: 30358
Gerrit-PatchSet: 1
Gerrit-Owner: Michał Żygowski <michal.zygowski at 3mdeb.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181221/691ee42f/attachment.html>
More information about the coreboot-gerrit
mailing list