X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdwmmc.h;h=05b0817fe1e1834b10bef69f892bd3fdc3d083c6;hb=02499e4edc885b3064c76f8b6e84d9ff8d7a6b4b;hp=25cf42c606c993331ee82cfc314df27524b108d3;hpb=850f788709cef8f7d53d571aec3bfb73b14c5531;p=u-boot diff --git a/include/dwmmc.h b/include/dwmmc.h index 25cf42c606..05b0817fe1 100644 --- a/include/dwmmc.h +++ b/include/dwmmc.h @@ -105,6 +105,8 @@ /* Status Register */ #define DWMCI_BUSY (1 << 9) +#define DWMCI_FIFO_MASK 0x1ff +#define DWMCI_FIFO_SHIFT 17 /* FIFOTH Register */ #define MSIZE(x) ((x) << 28) @@ -180,6 +182,9 @@ struct dwmci_host { unsigned int (*get_mmc_clk)(struct dwmci_host *host, uint freq); struct mmc_config cfg; + + /* use fifo mode to read and write data */ + bool fifo_mode; }; struct dwmci_idmac {