diff options
author | cmchao <cmchao@gmail.com> | 2010-05-31 23:54:17 +0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-30 20:41:36 +0200 |
commit | f3354b0e5d3c65e51e6615ad842902d7f1a14b96 (patch) | |
tree | 3560f746460a462cc2acc59eca05b5459d4af67d /hw/omap.h | |
parent | 011d87d0333792539c0a2a36e107d74cfa7a8c49 (diff) | |
download | qemu-f3354b0e5d3c65e51e6615ad842902d7f1a14b96.zip qemu-f3354b0e5d3c65e51e6615ad842902d7f1a14b96.tar.gz qemu-f3354b0e5d3c65e51e6615ad842902d7f1a14b96.tar.bz2 |
hw/omap2.c : separate gpmc(general purpose memory controller)
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
@@ -93,8 +93,10 @@ struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta, struct omap_sdrc_s; struct omap_sdrc_s *omap_sdrc_init(target_phys_addr_t base); +/* OMAP2 general purpose memory controller */ struct omap_gpmc_s; struct omap_gpmc_s *omap_gpmc_init(target_phys_addr_t base, qemu_irq irq); +void omap_gpmc_reset(struct omap_gpmc_s *s); void omap_gpmc_attach(struct omap_gpmc_s *s, int cs, int iomemtype, void (*base_upd)(void *opaque, target_phys_addr_t new), void (*unmap)(void *opaque), void *opaque); |