diff options
| author | Shawn Lin <[email protected]> | 2016-01-14 09:08:02 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2016-02-29 11:03:09 +0100 |
| commit | 935a665e15dcda3b0b986829f32e2724db1f20fc (patch) | |
| tree | 523bcaa8f8c40a11922e32b20ebac44052ff0b89 /tools/perf/scripts/python | |
| parent | aaaaeb7a933471f6413ca44dd36efd57f2fa9429 (diff) | |
mmc: dw_mmc: add hw_reset support
This patch implement hw_reset function for DesignWare
MMC controller. By adding this feature, mmc blk can
do some basic recovery.
Set the following resets:
software reset – BMOD[0] for IDMAC only
DMA reset - CTRL[2]
FIFO reset - CTRL[1] bits
Program the CARD_RESET register with a value of 0 for the bit
corresponding to the card number; This programming asserts the
RST_n signal and resets the card. After a minimum of 1 ?s, de-asserts the
RST_n signal and takes the card out of reset. The application can program
a new CMD only after a minimum of 200 us
This implementation can be easily tested by cutting off->On vmmc
while doing data accessing in background to simulate that case.
Signed-off-by: Shawn Lin <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions