aboutsummaryrefslogtreecommitdiff
path: root/hw/onenand.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-01-21 13:12:11 +0300
committerAndrzej Zaborowski <balrog@zabor.org>2011-01-29 13:25:22 +0100
commit34f9f0b5802a6ff9ec0be00810f7910d3935df3e (patch)
tree560fbc89cc793ba8b0a83bad4e9403ea41472a12 /hw/onenand.c
parent43842120f482564ea2059a78ae6b8a93bb18c91d (diff)
downloadqemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.zip
qemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.tar.gz
qemu-34f9f0b5802a6ff9ec0be00810f7910d3935df3e.tar.bz2
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/onenand.c')
-rw-r--r--hw/onenand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/onenand.c b/hw/onenand.c
index d9cdcf2..71c1ab4 100644
--- a/hw/onenand.c
+++ b/hw/onenand.c
@@ -19,6 +19,7 @@
*/
#include "qemu-common.h"
+#include "hw.h"
#include "flash.h"
#include "irq.h"
#include "blockdev.h"