summaryrefslogtreecommitdiffstats
path: root/src/soc/ibm/power9/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/ibm/power9/romstage.c')
-rw-r--r--src/soc/ibm/power9/romstage.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/ibm/power9/romstage.c b/src/soc/ibm/power9/romstage.c
new file mode 100644
index 000000000000..4a3ed8304c9a
--- /dev/null
+++ b/src/soc/ibm/power9/romstage.c
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <cbmem.h>
+#include <console/console.h>
+#include <program_loading.h>
+
+void main(void)
+{
+ console_init();
+ cbmem_initialize_empty();
+ run_ramstage();
+}