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