spitz: make sl-nand emulation use qdev infrastructure
commit34f9f0b5802a6ff9ec0be00810f7910d3935df3e
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 21 Jan 2011 10:12:11 +0000 (21 13:12 +0300)
committerAndrzej Zaborowski <balrog@zabor.org>
Sat, 29 Jan 2011 12:25:22 +0000 (29 13:25 +0100)
tree560fbc89cc793ba8b0a83bad4e9403ea41472a12
parent43842120f482564ea2059a78ae6b8a93bb18c91d
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>
hw/ecc.c
hw/flash.h
hw/onenand.c
hw/spitz.c