summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-emul-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-emul-uclass.c')
-rw-r--r--drivers/spi/spi-emul-uclass.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/spi/spi-emul-uclass.c b/drivers/spi/spi-emul-uclass.c
new file mode 100644
index 0000000..b436a0e
--- /dev/null
+++ b/drivers/spi/spi-emul-uclass.c
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2014 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <dm.h>
+#include <spi.h>
+#include <spi_flash.h>
+
+UCLASS_DRIVER(spi_emul) = {
+ .id = UCLASS_SPI_EMUL,
+ .name = "spi_emul",
+};