diff options
| author | Mårten Lindahl <[email protected]> | 2021-11-19 16:53:37 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-12-14 21:35:25 +0100 |
| commit | 6a8c2018e872906dddf34da40ddcac54cd7b967f (patch) | |
| tree | 0b0b43a2302e0e5b6be8c9bedc04eabc45aad901 /scripts/gdb/linux/clk.py | |
| parent | 76bfc7ccc2fa9d382576f6013b57a0ef93d5a722 (diff) | |
mmc: dw_mmc: Allow lower TMOUT value than maximum
The TMOUT register is always set with a full value for every transfer,
which (with a 200MHz clock) will give a full DRTO of ~84 milliseconds.
This is normally good enough to complete the request, but setting a full
value makes it impossible to test shorter timeouts, when for example
testing data read times on different SD cards.
Add a function to set any value smaller than the maximum of 0xFFFFFF.
Signed-off-by: Mårten Lindahl <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions