summaryrefslogtreecommitdiff
path: root/src/mainboard/raptor-cs/talos-2/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/raptor-cs/talos-2/mainboard.c')
-rw-r--r--src/mainboard/raptor-cs/talos-2/mainboard.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/raptor-cs/talos-2/mainboard.c b/src/mainboard/raptor-cs/talos-2/mainboard.c
new file mode 100644
index 0000000000..ef2dbd51bc
--- /dev/null
+++ b/src/mainboard/raptor-cs/talos-2/mainboard.c
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <console/console.h>
+#include <device/device.h>
+
+static void mainboard_enable(struct device *dev)
+{
+ if (!dev)
+ die("No dev0; die\n");
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};