History | View | Annotate | Download (23.3 kB)
nand: Don't inherit from Sysbus
Nand chips are not sysbus devices - they do not have any sense of MMIO,nor interrupts. Re-parent to TYPE_DEVICE accordingly.
Cc: afaerber@suse.de
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Reviewed-by: Andreas Färber <afaerber@suse.de>...
block/nand: Convert Sysbus::init to Device::realize
The prescribed transition from Sysbus::init function to aDevice::realize.
block/nand: QOM casting sweep
Define and use standard QOM cast macro. Remove usages of DO_UPCAST anddirect -> style casting.
block/nand: Formatting sweep
Make this code closer to passing checkpatch. Mostly missing braces, buta few rogue tabs in there as well.
Cc: qemu-trivial@nongnu.org
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw: move target-independent files to subdirectories
This patch tackles all files that are compiled once, movingthem to subdirectories of hw/.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>