History log of /rk3399_rockchip-uboot/cmd/mmc.c (Results 1 – 25 of 39)
Revision Date Author Comments
# 5e32deca 09-Jan-2025 Yifeng Zhao <yifeng.zhao@rock-chips.com>

cmd: mmc: call mmc rescan after 'mmc list' command

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


# 41031ae8 21-Oct-2024 Hisping Lin <hisping.lin@rock-chips.com>

cmd: mmc: do init_rpmb first when read counter

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


# e04a8f61 30-Apr-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

cmd: mmc: Support "mmc dev" command when not boot from mmc devices

Already support avoid initializing mmc multiple times.

Change-Id: I21251b81822d68ac240528c1d8cf4825cbdfa8d2
Signed-off-by: Xuhui L

cmd: mmc: Support "mmc dev" command when not boot from mmc devices

Already support avoid initializing mmc multiple times.

Change-Id: I21251b81822d68ac240528c1d8cf4825cbdfa8d2
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>

show more ...


# 10adce6a 05-Jul-2024 Hisping Lin <hisping.lin@rock-chips.com>

lib: optee_clientApi: optimize RPMB code

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


# e8cd8639 04-Jul-2023 Hisping Lin <hisping.lin@rock-chips.com>

cmd: mmc: init mmc when enable CONFIG_MMC

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


# b75a3992 25-Jun-2019 Jason Zhu <jason.zhu@rock-chips.com>

cmd: mmc: find current device first before find mmc device

Find the current device before find mmc device, otherwise '-1'
will be use as curr_device and error occur. The error log is
"MMC Device -1

cmd: mmc: find current device first before find mmc device

Find the current device before find mmc device, otherwise '-1'
will be use as curr_device and error occur. The error log is
"MMC Device -1 not found".

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

show more ...


# b68be486 25-Feb-2019 Jason Zhu <jason.zhu@rock-chips.com>

cmd: optee: remove write data to efuse

Preventing customer misoperation causing efuse unused.

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


# df99e580 04-Jan-2019 Hisping Lin <hisping.lin@rock-chips.com>

cmd: add test case for secure storage

1.mmc testsecurestorage to test secure storage
2.test secure storage in rpmb and test secure storage in
security partition when use emmc
3.test secure storage

cmd: add test case for secure storage

1.mmc testsecurestorage to test secure storage
2.test secure storage in rpmb and test secure storage in
security partition when use emmc
3.test secure storage in security partition when use nand

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

show more ...


# 2bbf1028 13-Jul-2018 Kever Yang <kever.yang@rock-chips.com>

cmd: mmc: do not force init HW in 'mmc dev' cmd

This is a revert to :
a5710920b7 cmd_mmc: make mmc dev always re-probe the HW

For emmc device, we should not re-init the HW with 'mmc dev' cmd,
pleas

cmd: mmc: do not force init HW in 'mmc dev' cmd

This is a revert to :
a5710920b7 cmd_mmc: make mmc dev always re-probe the HW

For emmc device, we should not re-init the HW with 'mmc dev' cmd,
please use 'mmc rescan' when need HW re-init.

Change-Id: I994d12beb7215db568e7a0ed58be3e36dfda5744
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 69285f9e 31-May-2018 Hisping Lin <hisping.lin@rock-chips.com>

cmd: mmc: remove test vboot hash code

trusty_write_vbootkey_hash will set secure boot flag
when we write vboot key hash success, we should remove it

Change-Id: I7b45739918b10b6847a7f5bf6b7c740f3b80

cmd: mmc: remove test vboot hash code

trusty_write_vbootkey_hash will set secure boot flag
when we write vboot key hash success, we should remove it

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

show more ...


# 8159cb4f 23-Feb-2018 Hisping Lin <hisping.lin@rock-chips.com>

mmc: fix bug in function do_mmc_testrpmb

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


# 01003402 13-Sep-2017 Bin Meng <bmeng.cn@gmail.com>

UPSTREAM: blk: Remove various places that do flush cache after read

All these places seem to inherit the codes from the MMC driver where
a FIXME was put in the comment. However the correct operation

UPSTREAM: blk: Remove various places that do flush cache after read

All these places seem to inherit the codes from the MMC driver where
a FIXME was put in the comment. However the correct operation after
read should be cache invalidate, not flush.

The underlying drivers should be responsible for the cache operation.
Remove these codes completely.

Change-Id: I8f04c721432753b34e85b19616a0b42d83a633eb
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: York Sun <york.sun@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 723b43daec7ee2ddb600cfcb9b0253d4a71c3915)

show more ...


# e13fd25b 30-Oct-2017 Hisping Lin <hisping.lin@rock-chips.com>

rockchip: mmc: add test case.

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


# ae8ec5e1 30-Oct-2017 Hisping Lin <hisping.lin@rock-chips.com>

lib: optee_client: change file name

change OpteeClientTest.c to OpteeClientInterface.c

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


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


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

cmd: mmc: show the current speed mode

So far mmc framework had support speed mode switch, it good to show the
current speed mode from 'mmc info'.

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


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


# 4dc80c87 08-Jun-2017 Kever Yang <kever.yang@rock-chips.com>

mmc: use new hwpart API when CONFIG_BLK enabled

When CONFIG_BLK is enabled, the hwpart id is different with legacy
interface, update it to kame driver work with CONFIG_BLK.

Signed-off-by: Kever Yan

mmc: use new hwpart API when CONFIG_BLK enabled

When CONFIG_BLK is enabled, the hwpart id is different with legacy
interface, update it to kame driver work with CONFIG_BLK.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>

show more ...


# 16225590 13-Apr-2017 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://www.denx.de/git/u-boot-imx

Drop CONFIG_STACKSIZE from include/configs/imx6_logic.h

Signed-off-by: Tom Rini <trini@konsulko.com>


# 84c1dfe4 03-Feb-2017 Markus Niebel <Markus.Niebel@tq-group.com>

cmd_mmc: fix arg parsing for setdsr subcmd

The handler do_setdsr receives only the dsr parameter,
the action is parsed before.

Error was introduced when restructuring the mmc command
implementation

cmd_mmc: fix arg parsing for setdsr subcmd

The handler do_setdsr receives only the dsr parameter,
the action is parsed before.

Error was introduced when restructuring the mmc command
implementation in commit 1fd93c6e7d8a1e4d6261058cefab11b875ded252.

Reported-by: Michael Krummsdorf <Michael.Krummsdorf@tq-group.com>
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>

show more ...


# cd3d4880 25-Nov-2016 Tomas Melin <tomas.melin@vaisala.com>

mmc: add bkops-enable command

Add new command that provides possibility to enable the
background operations handshake functionality
(BKOPS_EN, EXT_CSD byte [163]) on eMMC devices.

This is an option

mmc: add bkops-enable command

Add new command that provides possibility to enable the
background operations handshake functionality
(BKOPS_EN, EXT_CSD byte [163]) on eMMC devices.

This is an optional feature of eMMCs, the setting is write-once.
The command must be explicitly taken into use with
CONFIG_CMD_BKOPS_ENABLE.

Signed-off-by: Tomas Melin <tomas.melin@vaisala.com>

show more ...


# dc557e9a 18-Jun-2016 Stefano Babic <sbabic@denx.de>

Merge branch 'master' of git://git.denx.de/u-boot

Signed-off-by: Stefano Babic <sbabic@denx.de>


12