diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-08-28 16:22:19 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-08-28 16:37:12 +0000 |
commit | 2a952feb8393209634d31d546e202d916e09da06 (patch) | |
tree | 653697c56149cb637669c32d20b3d210046f230c /hw/omap.h | |
parent | 9ed3e1b183d720333012f9c93595fc61c7bbf069 (diff) |
omap_gpmc: Support NAND devices
Support accesses to NAND devices, both by mapping them into
the GPMC address space, and via the NAND_COMMAND, NAND_ADDRESS
and NAND_DATA GPMC registers.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/omap.h')
-rw-r--r-- | hw/omap.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -122,6 +122,7 @@ struct omap_gpmc_s *omap_gpmc_init(struct omap_mpu_state_s *mpu, 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, MemoryRegion *iomem); +void omap_gpmc_attach_nand(struct omap_gpmc_s *s, int cs, DeviceState *nand); /* * Common IRQ numbers for level 1 interrupt handler |