From 2d08cc7c3fed692fc44615e31527450be1363691 Mon Sep 17 00:00:00 2001 From: cmchao Date: Mon, 31 May 2010 23:54:20 +0800 Subject: hw/omap2.c : separate spi module Signed-off-by: cmchao Signed-off-by: Aurelien Jarno --- hw/omap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/omap.h') 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, -- cgit v1.1