aboutsummaryrefslogtreecommitdiffstats
path: root/hw/flash.h
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2011-08-28 16:22:17 +0000
committerPeter Maydell <peter.maydell@linaro.org>2011-08-28 16:36:58 +0000
commit500954e35cac9dd4544a023d482804186b7f7383 (patch)
tree95f7789794f3b96597d7c4b5f2677c9f076573af /hw/flash.h
parent82866965e98030b780d6097af27afe347583f45e (diff)
hw/onenand: Qdevify
Qdevify the ONENAND device. Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com> [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio <riku.voipio@iki.fi> [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/flash.h b/hw/flash.h
index 140ae3980..270be5e12 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -36,12 +36,7 @@ uint32_t nand_getbuswidth(DeviceState *dev);
#define NAND_MFR_MICRON 0x2c
/* onenand.c */
-void onenand_base_update(void *opaque, target_phys_addr_t new);
-void onenand_base_unmap(void *opaque);
-void *onenand_init(BlockDriverState *bdrv,
- uint16_t man_id, uint16_t dev_id, uint16_t ver_id,
- int regshift, qemu_irq irq);
-void *onenand_raw_otp(void *opaque);
+void *onenand_raw_otp(DeviceState *onenand_device);
/* ecc.c */
typedef struct {