diff options
author | cmchao <cmchao@gmail.com> | 2010-05-31 23:54:20 +0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-30 20:41:37 +0200 |
commit | 2d08cc7c3fed692fc44615e31527450be1363691 (patch) | |
tree | 42c0a8353b67357efaaac5fecb649c55a8fb4fda /hw/omap.h | |
parent | 7f132a21fcaceb8fdcf305e657209207039ff3b3 (diff) | |
download | qemu-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |