History log of /rk3399_rockchip-uboot/include/mmc.h (Results 1 – 25 of 196)
Revision Date Author Comments
# 7a9b5d70 02-Dec-2022 Yifeng Zhao <yifeng.zhao@rock-chips.com>

mmc: support drive strength config for emmc by dts

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I9f6b924b3e9ebc81aedf67dc837a9aa706dc3217


# 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


# 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 ...


# ace0ade6 17-Feb-2020 Jason Zhu <jason.zhu@rock-chips.com>

mmc: add func mmc_gpio_init_direct in spl

Sometimes we need to reconfigure the eMMC gpio state in spl without
pinctrl driver. So add func mmc_gpio_init_direct to initialize the
eMMC gpio in differen

mmc: add func mmc_gpio_init_direct in spl

Sometimes we need to reconfigure the eMMC gpio state in spl without
pinctrl driver. So add func mmc_gpio_init_direct to initialize the
eMMC gpio in different platform.

Change-Id: I22500f8865a9e29e59be6ff224001bad899cec48
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# 15737894 26-Sep-2019 Jason Zhu <jason.zhu@rock-chips.com>

mmc: add func mmc_gpio_init_direct in spl

Sometimes we need to reconfigure the eMMC gpio state in spl without
pinctrl driver. So add func mmc_gpio_init_direct to initialize the
eMMC gpio in differen

mmc: add func mmc_gpio_init_direct in spl

Sometimes we need to reconfigure the eMMC gpio state in spl without
pinctrl driver. So add func mmc_gpio_init_direct to initialize the
eMMC gpio in different platform.

Change-Id: I5917c1bbe474f33dc8ba3f47b6368e4337ee2f35
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# e860ec32 27-Aug-2018 Jason Zhu <jason.zhu@rock-chips.com>

mmc: add init_retry

Use the init_retry when mmc error occur.

Change-Id: I5db56d59d4c1f2ed2744d800f475da228cfcaf69
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>


# 09494d3a 25-Jul-2018 Jason Zhu <jason.zhu@rock-chips.com>

mmc: add default_phase

Add default sample clock phase and it can be used when
run mmc_send_tuning.

The function mmc_send_tuning will use default_phase directly
to set the sample clock phase, and th

mmc: add default_phase

Add default sample clock phase and it can be used when
run mmc_send_tuning.

The function mmc_send_tuning will use default_phase directly
to set the sample clock phase, and this can improve tuning's
efficiency. If use default_phase to run mmc_send_tuning fail,
it will change to tune 0&45...&270 phase.

Change-Id: I747f7820a7d2a67ffb9152794acec31b15e97e2b
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# a6a1f5f8 23-Jul-2018 Jason Zhu <jason.zhu@rock-chips.com>

mmc: add mmc_can_trim flag

The emmc support several erase mode, we add mmc_can_trim
flag hear to support trim.

Change-Id: Iaee154eb0ef5edb95783aa3753421afd7c058263
Signed-off-by: Jason Zhu <jason.z

mmc: add mmc_can_trim flag

The emmc support several erase mode, we add mmc_can_trim
flag hear to support trim.

Change-Id: Iaee154eb0ef5edb95783aa3753421afd7c058263
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# ea5fd1c6 08-Sep-2017 Hisping Lin <hisping.lin@rock-chips.com>

mmc: rpmb: Add interface functions

Add interface functions for external programs,
other functions can use it to read and write
rpmb partitions.

Change-Id: Ie94a6586077e1e9f4fc2924d283029f0a4a3e545

mmc: rpmb: Add interface functions

Add interface functions for external programs,
other functions can use it to read and write
rpmb partitions.

Change-Id: Ie94a6586077e1e9f4fc2924d283029f0a4a3e545
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>

show more ...


# 87b8e6de 08-Sep-2017 Hisping Lin <hisping.lin@rock-chips.com>

mmc: add mmc cmd to test tipc functions

input mmc testrpmb to test store data to rpmb.

Change-Id: I0b8361bd7a22fc7854e1a94ae4ae81972e523b3b
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>


# 76194d8c 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: sdhci: add support for UHS timing

To support UHS speed mode, controller should enable 1.8V signaling and
select one of UHS modes.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>


# 3e3ff0ac 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: remove tran_speed from struct mmc

The clock element is updated by mmc_set_clock every time, it denotes the
current transfer speed.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>


# caa21a21 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: rework ddr mode judgement with timing

Since the card device is set the proper timing after speed mode switch
is completed, host driver can get ddr_mode from timing parameter. So
drop the antiqu

mmc: rework ddr mode judgement with timing

Since the card device is set the proper timing after speed mode switch
is completed, host driver can get ddr_mode from timing parameter. So
drop the antiquated ddr_mode.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>

show more ...


# 49dba033 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: add support for HS200 mode of eMMC4.5

Add the support of the HS200 mode for eMMC 4.5 devices. The eMMC 4.5
device has support up to 200MHz bus speed, it can speed up the boot speed.

We can ena

mmc: add support for HS200 mode of eMMC4.5

Add the support of the HS200 mode for eMMC 4.5 devices. The eMMC 4.5
device has support up to 200MHz bus speed, it can speed up the boot speed.

We can enable this feature via MMC_MODE_HS200 if the host controller has
the ability to support HS200 timing. Also the tuning feature required
when the HS200 mode is selected.

By the way, mmc card can only switch to high speed mode in SPL stage.

Signed-off-by: Ziyuan Xu <xzy.xu@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 ...


# e61cd3d7 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: rework high speed mode selection

Select timing parameter for the host since HS mode switch is completed.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>


# 81db2d36 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: add set_timing entry for timing selection

Some controller should do some configuration according to the selected
timing.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>


# 227f658e 15-May-2017 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: select the available type from host_caps and card_caps

The original implementation select HS timing by default, add available
type selection for higher speed mode compatibility, such as hs200,

mmc: select the available type from host_caps and card_caps

The original implementation select HS timing by default, add available
type selection for higher speed mode compatibility, such as hs200,
hs400, hs400es.

By the way, we assume that card run at 1.8V or 1.2V I/O when its timing
is ddr52/hs200/hs400(es).

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


# bdb60996 01-Aug-2017 Angelo Dureghello <angelo@sysam.it>

cmd: mmc: add mmc partconf read capability

This patch allows to show the EXT_CSD[179] partition_config
register info, just by specifying the dev param:

U-Boot> mmc partconf 0
EXT_CSD[179], PART

cmd: mmc: add mmc partconf read capability

This patch allows to show the EXT_CSD[179] partition_config
register info, just by specifying the dev param:

U-Boot> mmc partconf 0
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x0
BOOT_PARTITION_ENABLE: 0x0
PARTITION_ACCESS: 0x0

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Anatolij Gustschin <agust@denx.de>

show more ...


# 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>


# 07d77838 01-Aug-2017 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-x86


# 5c6631be 01-Aug-2017 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-mmc


# b7c6baef 31-Jul-2017 Simon Glass <sjg@chromium.org>

x86: Convert MMC to driver model

Convert the pci_mmc driver over to driver model and migrate all x86 boards
that use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.c

x86: Convert MMC to driver model

Convert the pci_mmc driver over to driver model and migrate all x86 boards
that use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: remove DM_MMC from edison_defconfig]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

show more ...


# 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 ...


12345678