PATCH1 converts wp_groups member of SDState to bitfield significantly reducing
memory consumption.
PATCH2-4 convert binary variables to bool type.
PATCH5 adds save/load support for SDState, intermediate variable introduced in 
SDState
to hold size of wp_groups array.
PATCH6 converts SD state to QOM object. QOMified implementation doesn't have any
advantages over current one but it gives us enormous possibilities for further
improvements.

Igor Mitsyanko (6):
  hw/sd.c: convert wp_groups in SDState to bitfield
  hw/sd.c: convert binary variables to bool
  hw/sd.c: make sd_dataready() return bool
  hw/sd.c: make sd_wp_addr() return bool
  hw/sd.c: add SD card save/load support
  hw/sd.c: convert to QOM object

 hw/milkymist-memcard.c |   25 ++++---
 hw/omap_mmc.c          |   29 ++++---
 hw/pl181.c             |   14 ++--
 hw/pxa2xx_mmci.c       |   22 ++++--
 hw/sd.c                |  190 +++++++++++++++++++++++++++++++++---------------
 hw/sd.h                |   30 ++++++--
 hw/ssi-sd.c            |   12 ++-
 7 files changed, 214 insertions(+), 108 deletions(-)

-- 
1.7.4.1


Reply via email to