summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-emul-uclass.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-10-22 13:51:45 -0400
committerTom Rini <trini@ti.com>2014-10-22 13:51:45 -0400
commit68e80fdda1336068f40915388bbdacfd2b75233a (patch)
treedeb28e65fdd601e47bf5564f67da3035a840e284 /drivers/spi/spi-emul-uclass.c
parent35d4fed320d577a4446531d7b9350ce40065c4b0 (diff)
parent8a9cd5ad6f89ab721a352cbb9264bea5ede68789 (diff)
downloadu-boot-imx-68e80fdda1336068f40915388bbdacfd2b75233a.zip
u-boot-imx-68e80fdda1336068f40915388bbdacfd2b75233a.tar.gz
u-boot-imx-68e80fdda1336068f40915388bbdacfd2b75233a.tar.bz2
Merge git://git.denx.de/u-boot-dm
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",
+};