pflash_cfi0x: QOMified
commit368a354f02b7c3845d8b4bcdebc0840a515e953b
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 30 Oct 2012 07:45:11 +0000 (30 07:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 Oct 2012 07:45:11 +0000 (30 07:45 +0000)
tree6ae68868118b153c303888d12833c8533f6f13b0
parentbe65f89992afd1366ce51db95f26b63cc90e309d
pflash_cfi0x: QOMified

QOMified the pflash_cfi0x so machine models can connect them up in custom ways.

Kept the pflash_cfi0x_register functions as is. They can still be used to
create a flash straight onto system memory.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/pflash_cfi01.c
hw/pflash_cfi02.c