| #
e09ef32e |
| 20-Nov-2023 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: send stop command when tuning error occurs
It is necessary to send the stop command to restore the controller state machine when tuning error occurs.
Signed-off-by: Yifeng Zhao <yifeng.zhao@ro
mmc: send stop command when tuning error occurs
It is necessary to send the stop command to restore the controller state machine when tuning error occurs.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I153556156136943c6dfd6fdb4e31ed6750e72776
show more ...
|
| #
13669fc5 |
| 28-Nov-2022 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: rockchip: support hs400es mode
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I5c80afca7cdd5616935f65914872a972c892c775
|
| #
a2d3db2d |
| 25-Mar-2022 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: remove retry for multiple block read/write
The stop command(cmd12) is required after multiple block read/write. So multiple block read/write commands cannot be sent multiple times.
Signed-off-
mmc: remove retry for multiple block read/write
The stop command(cmd12) is required after multiple block read/write. So multiple block read/write commands cannot be sent multiple times.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I87bcc0d654f493f8c0cc5f631904028b9929a4e7
show more ...
|
| #
db40802e |
| 11-Mar-2022 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: fix panic while failed sending command
Only execute tuning at hs200 mode, otherwise, there will be some variables that are not initialized and causing crash.
Signed-off-by: Yifeng Zhao <yifeng
mmc: fix panic while failed sending command
Only execute tuning at hs200 mode, otherwise, there will be some variables that are not initialized and causing crash.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I9fc3613f001842861d4d19fe9e51e23c22517f78
show more ...
|
| #
12a5d40d |
| 01-Mar-2022 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: add tuning for failed sending command
Once sending command has failed, it will retry 3 times and execute tuning at the last retry.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Chang
mmc: add tuning for failed sending command
Once sending command has failed, it will retry 3 times and execute tuning at the last retry.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I4e205bef3524dab7035bd330c3c9b97aba289821
show more ...
|
| #
8d8829dd |
| 10-Dec-2021 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
mmc: Add retry for failed sending command
Once sending command has failed, retry 3 times to fix it.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Id3fffb86733c46c4dd3b71d8b68e8
mmc: Add retry for failed sending command
Once sending command has failed, retry 3 times to fix it.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Id3fffb86733c46c4dd3b71d8b68e8bf12299f102
show more ...
|
| #
6221c090 |
| 30-Jan-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
dm: mmc: add more conditions to judge whether print the info
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I94f60c9102c8708d7fa84e729762bfe2956d4fd5
|
| #
327b5d57 |
| 21-Jan-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
dm: mmc: print the cmd index when sending cmd error occur
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I08aab678c5e539000fadccf4a8ad9e97e3693894
|
| #
9127fbf4 |
| 04-Jan-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: mmc: add a Kconfig option to enable the support for MMC write operations
This allows using CONFIG_IS_ENABLED(MMC_WRITE) to compile out code needed only if write support is required. The op
UPSTREAM: mmc: add a Kconfig option to enable the support for MMC write operations
This allows using CONFIG_IS_ENABLED(MMC_WRITE) to compile out code needed only if write support is required. The option is added for u-boot and for SPL
Change-Id: Ibb3836ed8713e491238460783a85ee1808770f66 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> (cherry picked from commit d6400c3f8520bb9a203fe397039279c80f093c27)
show more ...
|
| #
7863dac1 |
| 06-Aug-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
dm: mmc: remove mmc_bread_prepare in mmc_blk_ops
Merge it to mmc_bread() with using op_flag.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3f63ebf66c43184a134c49a39a62feb2d5ae9821
|
| #
47f7fd3a |
| 05-Jun-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
blk/mmc: add function blk_dread_prepare
This function prepares to read data without confirming completed. We can use it to prefetch data and run other process.
Signed-off-by: Jason Zhu <jason.zhu@r
blk/mmc: add function blk_dread_prepare
This function prepares to read data without confirming completed. We can use it to prefetch data and run other process.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I76116c25dfdb7559b80a0216c414189e85409a3e
show more ...
|
| #
444036a7 |
| 26-Jul-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
dm: mmc: support get MMC order through aliases in spl process
Since we use the aliases in U-Boot to get the MMC device order, and sometimes we pass the spl boot device to U-Boot. This may be confuse
dm: mmc: support get MMC order through aliases in spl process
Since we use the aliases in U-Boot to get the MMC device order, and sometimes we pass the spl boot device to U-Boot. This may be confused that which MMC device is passed to U-Boot. So unify it together.
Change-Id: I8db5e90d9543004aff128322398edffad35b551b Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
ad77484a |
| 15-May-2017 |
Ziyuan Xu <xzy.xu@rock-chips.com> |
mmc: add card_busy to query card status
Card devices get into busy status since host request speed mode switch, if host controller is able to query whether the device is busy, try it instead of send
mmc: add card_busy to query card status
Card devices get into busy status since host request speed mode switch, if host controller is able to query whether the device is busy, try it instead of sending cmd13.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
show more ...
|
| #
1fdafb2e |
| 18-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
| #
e7881d85 |
| 29-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Drop CONFIG_DM_MMC_OPS
All boards which use DM_MMC have now been converted to use DM_MMC_OPS. Drop the option and good riddance.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
5c6631be |
| 01-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-mmc
|
| #
c4d660d4 |
| 04-Jul-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Allow disabling driver model in SPL
At present if U-Boot proper uses driver model for MMC, then SPL has to also. While this is desirable, it places a significant barrier to moving to driver
dm: mmc: Allow disabling driver model in SPL
At present if U-Boot proper uses driver model for MMC, then SPL has to also. While this is desirable, it places a significant barrier to moving to driver model in some cases. For example, with a space-constrained SPL it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves adjusting some drivers.
Add new SPL versions of the options for DM_MMC, DM_MMC_OPS and BLK. By default these follow their non-SPL versions, but this can be changed by boards which need it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
75fd49c8 |
| 10-Jun-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
| #
97525647 |
| 27-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Avoid probing block devices in find_mmc_device()
We do not need to probe the block device here, so avoid doing so. The MMC device itself must be active, but the block device can come later.
dm: mmc: Avoid probing block devices in find_mmc_device()
We do not need to probe the block device here, so avoid doing so. The MMC device itself must be active, but the block device can come later.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
66e0ed5c |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Convert uclass to livetree
Update the mmc uclass to support a live device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
854f9a71 |
| 24-Apr-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Rewrite mmc_blk_probe()
This function is called when the MMC block device is being probed. There is a recursive call in this function since find_mmc_device() itself can cause the MMC device
dm: mmc: Rewrite mmc_blk_probe()
This function is called when the MMC block device is being probed. There is a recursive call in this function since find_mmc_device() itself can cause the MMC device to be probed.
Admittedly the MMC device should already be probed, since we would not be probing its child otherwise, but the current code is unnecessarily convoluted.
Rewrite this to access the MMC structure directly.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
66656020 |
| 24-Apr-2017 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Check that drivers have operations
When binding a new MMC device, make sure that it has the required operations. Since for now we still support *not* having the operations (with CONFIG_DM_M
dm: mmc: Check that drivers have operations
When binding a new MMC device, make sure that it has the required operations. Since for now we still support *not* having the operations (with CONFIG_DM_MMC_OPS not enabled) it makes sense to add this check.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
da409ccc |
| 17-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Replace of_offset with accessor (part 2)
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live devi
dm: core: Replace of_offset with accessor (part 2)
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree, which uses a node pointer instead, refactor existing code to access this field through an inline function.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
433647a7 |
| 05-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
706865af |
| 20-Mar-2017 |
Stefan Roese <sr@denx.de> |
dm: core: Add flags parameter to device_remove()
This patch adds the flags parameter to device_remove() and changes all calls to this function to provide the default value of DM_REMOVE_NORMAL for "n
dm: core: Add flags parameter to device_remove()
This patch adds the flags parameter to device_remove() and changes all calls to this function to provide the default value of DM_REMOVE_NORMAL for "normal" device removal.
This is in preparation for the driver specific pre-OS (e.g. DMA cancelling) remove support.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|