aboutsummaryrefslogtreecommitdiff
path: root/hw/omap.h
diff options
context:
space:
mode:
authorcmchao <cmchao@gmail.com>2010-05-31 23:54:20 +0800
committerAurelien Jarno <aurelien@aurel32.net>2010-06-30 20:41:37 +0200
commit2d08cc7c3fed692fc44615e31527450be1363691 (patch)
tree42c0a8353b67357efaaac5fecb649c55a8fb4fda /hw/omap.h
parent7f132a21fcaceb8fdcf305e657209207039ff3b3 (diff)
downloadqemu-2d08cc7c3fed692fc44615e31527450be1363691.zip
qemu-2d08cc7c3fed692fc44615e31527450be1363691.tar.gz
qemu-2d08cc7c3fed692fc44615e31527450be1363691.tar.bz2
hw/omap2.c : separate spi module
Signed-off-by: cmchao <cmchao@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/omap.h')
-rw-r--r--hw/omap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/omap.h b/hw/omap.h
index ea23ec9..fef495a 100644
--- a/hw/omap.h
+++ b/hw/omap.h
@@ -706,12 +706,14 @@ struct omap_uwire_s *omap_uwire_init(target_phys_addr_t base,
void omap_uwire_attach(struct omap_uwire_s *s,
uWireSlave *slave, int chipselect);
+/* OMAP2 spi */
struct omap_mcspi_s;
struct omap_mcspi_s *omap_mcspi_init(struct omap_target_agent_s *ta, int chnum,
qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk);
void omap_mcspi_attach(struct omap_mcspi_s *s,
uint32_t (*txrx)(void *opaque, uint32_t, int), void *opaque,
int chipselect);
+void omap_mcspi_reset(struct omap_mcspi_s *s);
struct omap_rtc_s;
struct omap_rtc_s *omap_rtc_init(target_phys_addr_t base,