History log of /rk3399_rockchip-uboot/drivers/mmc/rpmb.c (Results 1 – 12 of 12)
Revision Date Author Comments
# ea6a84b6 19-Jun-2025 Ziyuan Xu <xzy.xu@rock-chips.com>

mmc: Fixes block read prepare flow for eMMC

In order to start a multiple block read with pre-defined block count the
host must use the SET_BLOCK_COUNT command (CMD23) immediately preceding
the READ_

mmc: Fixes block read prepare flow for eMMC

In order to start a multiple block read with pre-defined block count the
host must use the SET_BLOCK_COUNT command (CMD23) immediately preceding
the READ_MULTIPLE_BLOCK (CMD18) command. Otherwise the Device will start
an open-ended multiple block read that can be stopped using the
STOP_TRANSMISSION command.

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

show more ...


# a0bf35b5 28-Feb-2019 Jason Zhu <jason.zhu@rock-chips.com>

mmc: rpmb: correct MMC_RSP_R1b to MMC_RSP_R1

According to eMMC spec, the resp_type of MMC_CMD_WRITE_MULTIPLE_BLOCK
is MMC_RSP_R1 but not MMC_RSP_R1b.

If use MMC_RSP_R1b, this causes rpmb can not wo

mmc: rpmb: correct MMC_RSP_R1b to MMC_RSP_R1

According to eMMC spec, the resp_type of MMC_CMD_WRITE_MULTIPLE_BLOCK
is MMC_RSP_R1 but not MMC_RSP_R1b.

If use MMC_RSP_R1b, this causes rpmb can not work with sdhci drive.

Change-Id: I02ab825a4a526646079be6a7ae27326d1a3b7acf
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 ...


# 97a8a900 24-Aug-2017 hisping <hisping.lin@rock-chips.com>

rockchip: rpmb: add support for multi block

add support for uboot read Multi block data from
rpmb partition and write Multi block data to rpmb partition.
The previous patch can only read or write on

rockchip: rpmb: add support for multi block

add support for uboot read Multi block data from
rpmb partition and write Multi block data to rpmb partition.
The previous patch can only read or write one block one time,
and it affect reading and writing efficiency.

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

show more ...


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

mmc: rpmb: update size format for write_counter

According to MMC spec, the write_counter is 4-byte length,
use 'int' instead of 'long' type for the 'long' is not 4-byte
in 64 bit CPU.

Signed-off-by

mmc: rpmb: update size format for write_counter

According to MMC spec, the write_counter is 4-byte length,
use 'int' instead of 'long' type for the 'long' is not 4-byte
in 64 bit CPU.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
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 ...


# 13a39725 14-Oct-2015 Albert ARIBAUD <albert.u.boot@aribaud.net>

Merge remote-tracking branch 'u-boot/master'


# cf92e05c 02-Sep-2015 Simon Glass <sjg@chromium.org>

Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header

Now that we have a new header file for cache-aligned allocation, we should
move the stack-based allocation macro there also.

Signed-off-

Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header

Now that we have a new header file for cache-aligned allocation, we should
move the stack-based allocation macro there also.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...


# dab5e346 16-Jul-2014 Stefano Babic <sbabic@denx.de>

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

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

Conflicts:
boards.cfg


# ed1d98d8 25-Jun-2014 Albert ARIBAUD <albert.u.boot@aribaud.net>

Merge branch 'u-boot/master' into 'u-boot-arm/master'


# 2b9912e6 12-Jun-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

includes: move openssl headers to include/u-boot

commit 18b06652cd "tools: include u-boot version of sha256.h"
unconditionally forced the sha256.h from u-boot to be used
for tools instead of the hos

includes: move openssl headers to include/u-boot

commit 18b06652cd "tools: include u-boot version of sha256.h"
unconditionally forced the sha256.h from u-boot to be used
for tools instead of the host version. This is fragile though
as it will also include the host version. Therefore move it
to include/u-boot to join u-boot/md5.h etc which were renamed
for the same reason.

cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

show more ...


# 638b3e83 23-May-2014 Tom Rini <trini@ti.com>

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


# 91fdabc6 24-Apr-2014 Pierre Aubert <p.aubert@staubli.com>

eMMC: add support for operations in RPMB partition

This patch adds functions for read, write and authentication
key programming for the Replay Protected Memory Block partition
in the eMMC.

Acked-by

eMMC: add support for operations in RPMB partition

This patch adds functions for read, write and authentication
key programming for the Replay Protected Memory Block partition
in the eMMC.

Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Pierre Aubert <p.aubert@staubli.com>

show more ...