summaryrefslogtreecommitdiffstats
path: root/hw/block/nand.c
Commit message (Collapse)AuthorAgeFilesLines
* nand: Don't inherit from SysbusPeter Crosthwaite2013-06-251-3/+4
| | | | | | | | | | | 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> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* block/nand: Convert Sysbus::init to Device::realizePeter Crosthwaite2013-06-251-9/+7
| | | | | | | | | | | The prescribed transition from Sysbus::init function to a Device::realize. Cc: afaerber@suse.de Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* block/nand: QOM casting sweepPeter Crosthwaite2013-06-251-9/+16
| | | | | | | | | | | Define and use standard QOM cast macro. Remove usages of DO_UPCAST and direct -> style casting. Cc: afaerber@suse.de Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
* block/nand: Formatting sweepPeter Crosthwaite2013-06-211-15/+18
| | | | | | | | | | Make this code closer to passing checkpatch. Mostly missing braces, but a 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 subdirectoriesPaolo Bonzini2013-04-081-0/+791
This patch tackles all files that are compiled once, moving them to subdirectories of hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
OpenPOWER on IntegriCloud