[U-Boot] [PATCH V5 0/3] eMMC: support for Read Protected Memory Block (RPMB)
Pierre Aubert
p.aubert at staubli.com
Thu Apr 24 10:30:05 CEST 2014
This serie of patches adds some functions and a sub-command of 'mmc' for programming the authentication key and for reading and writing the RPMB partition of an eMMC according to the JEDEC standard No. 64-A441
The sub-command rpmb is enabled by the flag CONFIG_SUPPORT_EMMC_RPMB defined
in the board configuration file.
It has been tested on a SabreSDP iMX6 board.
Changes in V5:
- move changelog to the right place for each patches
- add empty changelog for patches with no change
- change lib/Makefile for adding sha256 when CONFIG_SUPPORT_EMMC_RPMB is
defined
Changes in V4:
- use subcommand tables for 'mmc' command and 'mmc rpmb' subcommand.
- add 'mmc info' subcommand, which is the same as mmcinfo.
mmcinfo is kept for compatibility.
- add changelog in commit comments.
Changes in V3:
- add entries in README for configuration options related to eMMC.
- new patch for adding the 'confirm_yesno' function as suggested by W.Denk
- improved test for existence of RPMB partition.
- fix of coding issues.
Changes in V2:
- use ALLOC_CACHE_ALIGN_BUFFER in rpmb.c instead of a static buffer for the
RPMB frames.
Pierre Aubert (3):
eMMC: add support for operations in RPMB partition
Add the function 'confirm_yesno' for interactive
eMMC: cmd_mmc.c adds the 'rpmb' sub-command for the 'mmc' command
README | 10 +
common/cmd_fuse.c | 11 +-
common/cmd_mmc.c | 806 +++++++++++++++++++++++++++++++------------------
common/cmd_nand.c | 16 +-
common/cmd_otp.c | 18 +-
common/console.c | 28 ++-
drivers/mmc/Makefile | 1 +
drivers/mmc/rpmb.c | 323 ++++++++++++++++++++
include/common.h | 2 +-
include/mmc.h | 10 +-
lib/Makefile | 1 +
11 files changed, 892 insertions(+), 334 deletions(-)
create mode 100644 drivers/mmc/rpmb.c
--
1.7.6.5
More information about the U-Boot
mailing list