summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/s6e63d6.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/include/s6e63d6.h')
-rw-r--r--qemu/roms/u-boot/include/s6e63d6.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/s6e63d6.h b/qemu/roms/u-boot/include/s6e63d6.h
new file mode 100644
index 000000000..aa583eed1
--- /dev/null
+++ b/qemu/roms/u-boot/include/s6e63d6.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2009
+ * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _S6E63D6_H_
+#define _S6E63D6_H_
+
+struct s6e63d6 {
+ unsigned int bus;
+ unsigned int cs;
+ unsigned int id;
+ struct spi_slave *slave;
+};
+
+extern int s6e63d6_init(struct s6e63d6 *data);
+extern int s6e63d6_index(struct s6e63d6 *data, u8 idx);
+extern int s6e63d6_param(struct s6e63d6 *data, u16 param);
+
+#endif