Statistics
| Branch: | Revision:

root / hw / block / nand.c @ 34b5d2c6

History | View | Annotate | Download (23.3 kB)

# Date Author Comment
7426aa72 06/25/2013 09:15 pm Peter Crosthwaite

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:

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>...

d47a5d9b 06/25/2013 09:15 pm Peter Crosthwaite

block/nand: Convert Sysbus::init to Device::realize

The prescribed transition from Sysbus::init function to a
Device::realize.

Cc:

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>...

e12078cc 06/25/2013 09:06 pm Peter Crosthwaite

block/nand: QOM casting sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST and
direct -> style casting.

Cc:

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>...

1984745e 06/21/2013 09:52 pm Peter Crosthwaite

block/nand: Formatting sweep

Make this code closer to passing checkpatch. Mostly missing braces, but
a few rogue tabs in there as well.

Cc:

Signed-off-by: Peter Crosthwaite <>
Signed-off-by: Michael Tokarev <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>