Arthur Heymans has uploaded this change for review.

View Change

soc/intel/car/bootblock: Add post-console init callbacks

Change-Id: I8f3a1a098fa9f62496b23bf0a6584ab84917521d
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
---
M src/cpu/intel/car/bootblock.c
M src/cpu/intel/car/bootblock.h
2 files changed, 12 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/36711/1
diff --git a/src/cpu/intel/car/bootblock.c b/src/cpu/intel/car/bootblock.c
index 664c2b5..063b444 100644
--- a/src/cpu/intel/car/bootblock.c
+++ b/src/cpu/intel/car/bootblock.c
@@ -35,8 +35,16 @@
bootblock_early_cpu_init();
}

+void __weak bootblock_northbridge_init(void) { }
+void __weak bootblock_southbridge_init(void) { }
+void __weak bootblock_cpu_init(void) { }
+
void bootblock_soc_init(void)
{
/* Halt if there was a built in self test failure */
report_bist_failure(saved_bist);
+ /* Post console init */
+ bootblock_northbridge_init();
+ bootblock_southbridge_init();
+ bootblock_cpu_init();
}
diff --git a/src/cpu/intel/car/bootblock.h b/src/cpu/intel/car/bootblock.h
index 5adfd87..af9e45e 100644
--- a/src/cpu/intel/car/bootblock.h
+++ b/src/cpu/intel/car/bootblock.h
@@ -18,4 +18,8 @@
void bootblock_early_northbridge_init(void);
void bootblock_early_southbridge_init(void);

+void bootblock_northbridge_init(void);
+void bootblock_southbridge_init(void);
+void bootblock_cpu_init(void);
+
#endif

To view, visit change 36711. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8f3a1a098fa9f62496b23bf0a6584ab84917521d
Gerrit-Change-Number: 36711
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-MessageType: newchange