mirror of https://gitee.com/openkylin/qemu.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
|
||||
|
||||
/* HWInit Capabilities Register 0x05E80080 */
|
||||
#define SDHC_CAPAREG 0x40
|
||||
#define SDHC_CAPAB 0x40
|
||||
#define SDHC_CAN_DO_DMA 0x00400000
|
||||
#define SDHC_CAN_DO_ADMA2 0x00080000
|
||||
#define SDHC_CAN_DO_ADMA1 0x00100000
|
||||
|
|
|
@ -898,7 +898,7 @@ static uint64_t sdhci_read(void *opaque, hwaddr offset, unsigned size)
|
|||
case SDHC_ACMD12ERRSTS:
|
||||
ret = s->acmd12errsts;
|
||||
break;
|
||||
case SDHC_CAPAREG:
|
||||
case SDHC_CAPAB:
|
||||
ret = s->capareg;
|
||||
break;
|
||||
case SDHC_MAXCURR:
|
||||
|
|
Loading…
Reference in New Issue