aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/arm/include/bootblock_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/include/bootblock_common.h')
-rw-r--r--src/arch/arm/include/bootblock_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/arch/arm/include/bootblock_common.h b/src/arch/arm/include/bootblock_common.h
new file mode 100644
index 000000000..034a12bc3
--- /dev/null
+++ b/src/arch/arm/include/bootblock_common.h
@@ -0,0 +1,15 @@
+#if CONFIG_CPU_HAS_BOOTBLOCK_INIT
+void bootblock_cpu_init(void);
+#else
+static void __attribute__((unused)) bootblock_cpu_init(void)
+{
+}
+#endif
+
+#if CONFIG_MAINBOARD_HAS_BOOTBLOCK_INIT
+void bootblock_mainboard_init(void);
+#else
+static void __attribute__((unused)) bootblock_mainboard_init(void)
+{
+}
+#endif