2013/1/26 Paul Brook
> > +if (!(s->dcr & DCR_WR) && (s->datacnt > 0)) {
> > +ret = sd_read_data(s->card)
> > +| sd_read_data(s->card) << 8
> > +| sd_read_data(s->card) << 16
> > +| sd_read_data(s->card) << 24;
> > +s-
> +if (!(s->dcr & DCR_WR) && (s->datacnt > 0)) {
> +ret = sd_read_data(s->card)
> +| sd_read_data(s->card) << 8
> +| sd_read_data(s->card) << 16
> +| sd_read_data(s->card) << 24;
> +s->datacnt -= 4;
> +if (s
From: Kuo-Jung Su
The FTSDC010 functions as the master in an SD memory card interface.
It controls the communication between the AHB/APB bus and the SD card.
Its core supports the SD bus of the SD/SDIO operations and the MMC bus
of the MMC operation as well.
Signed-off-by: Kuo-Jung Su
---
hw/f