summaryrefslogtreecommitdiffstats
path: root/hw/flash.h
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov2011-01-21 11:12:11 +0100
committerAndrzej Zaborowski2011-01-29 13:25:22 +0100
commit34f9f0b5802a6ff9ec0be00810f7910d3935df3e (patch)
tree560fbc89cc793ba8b0a83bad4e9403ea41472a12 /hw/flash.h
parentUse vmstate to save/load spitz-lcdtg and corgi-ssp state (diff)
downloadqemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.tar.gz
qemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.tar.xz
qemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.zip
spitz: make sl-nand emulation use qdev infrastructure
Switch sl-nand emulation to use qdev and vmstate. Also drop ecc_get/_put functions as sl-nand was the only user of that code. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/flash.h b/hw/flash.h
index a80205c4e0..d7d103e66f 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -51,5 +51,4 @@ typedef struct {
uint8_t ecc_digest(ECCState *s, uint8_t sample);
void ecc_reset(ECCState *s);
-void ecc_put(QEMUFile *f, ECCState *s);
-void ecc_get(QEMUFile *f, ECCState *s);
+extern VMStateDescription vmstate_ecc_state;