aboutsummaryrefslogtreecommitdiff
path: root/hw/flash.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-14 21:57:44 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-14 21:57:44 +0000
commit7e7c5e4c1ba5c9b7efcf1b0c1e34ea150c286e58 (patch)
treed7f37d6f4f29e47f7a5bd67086dbb76aa38f4f7d /hw/flash.h
parenta5d7eb6534a091566d63f97c8b35c0ac9623d90b (diff)
downloadqemu-7e7c5e4c1ba5c9b7efcf1b0c1e34ea150c286e58.zip
qemu-7e7c5e4c1ba5c9b7efcf1b0c1e34ea150c286e58.tar.gz
qemu-7e7c5e4c1ba5c9b7efcf1b0c1e34ea150c286e58.tar.bz2
Nokia N800 machine support (ARM).
Also add various peripherals: two miscellaneous Nokia CBUS chips, EPSON S1D13745 LCD/TV remote-framebuffer controller, TWL92230 - standard OMAP2 power management companion chip on i2c. Generic OneNAND flash memory, TMP105 temperature sensor on i2c. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4215 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/flash.h b/hw/flash.h
index 42d25fe..c000d33 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -34,6 +34,11 @@ uint8_t nand_getio(struct nand_flash_s *s);
#define NAND_MFR_HYNIX 0xad
#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(uint32_t id, int regshift, qemu_irq irq);
+
/* ecc.c */
struct ecc_state_s {
uint8_t cp; /* Column parity */