summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/initcall.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/include/initcall.h')
-rw-r--r--qemu/roms/u-boot/include/initcall.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/initcall.h b/qemu/roms/u-boot/include/initcall.h
new file mode 100644
index 000000000..237807736
--- /dev/null
+++ b/qemu/roms/u-boot/include/initcall.h
@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2011 The Chromium OS Authors.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+typedef int (*init_fnc_t)(void);
+
+int initcall_run_list(init_fnc_t init_sequence[]);