mirror of https://github.com/xqemu/xqemu.git
sdhci: rename the SDHC_CAPAB register
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 20180115182436.2066-11-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
24bddf9d4a
commit
cd2094219f
|
@ -174,7 +174,7 @@
|
||||||
#define SDHC_ACMD12ERRSTS 0x3C
|
#define SDHC_ACMD12ERRSTS 0x3C
|
||||||
|
|
||||||
/* HWInit Capabilities Register 0x05E80080 */
|
/* HWInit Capabilities Register 0x05E80080 */
|
||||||
#define SDHC_CAPAREG 0x40
|
#define SDHC_CAPAB 0x40
|
||||||
#define SDHC_CAN_DO_DMA 0x00400000
|
#define SDHC_CAN_DO_DMA 0x00400000
|
||||||
#define SDHC_CAN_DO_ADMA2 0x00080000
|
#define SDHC_CAN_DO_ADMA2 0x00080000
|
||||||
#define SDHC_CAN_DO_ADMA1 0x00100000
|
#define SDHC_CAN_DO_ADMA1 0x00100000
|
||||||
|
|
|
@ -898,7 +898,7 @@ static uint64_t sdhci_read(void *opaque, hwaddr offset, unsigned size)
|
||||||
case SDHC_ACMD12ERRSTS:
|
case SDHC_ACMD12ERRSTS:
|
||||||
ret = s->acmd12errsts;
|
ret = s->acmd12errsts;
|
||||||
break;
|
break;
|
||||||
case SDHC_CAPAREG:
|
case SDHC_CAPAB:
|
||||||
ret = s->capareg;
|
ret = s->capareg;
|
||||||
break;
|
break;
|
||||||
case SDHC_MAXCURR:
|
case SDHC_MAXCURR:
|
||||||
|
|
Loading…
Reference in New Issue