[U-Boot] [PATCH 1/2] eMMC: add support for operations in RPMB partition

2014-04-11 Thread Pierre Aubert
This patch adds functions for read, write and authentication key programming for the Replay Protected Memory Block partition in the eMMC. Signed-off-by: Pierre Aubert CC: Pantelis Antoniou --- drivers/mmc/Makefile |1 + drivers/mmc/rpmb.c | 317 +++

Re: [U-Boot] [PATCH 1/2] eMMC: add support for operations in RPMB partition

2014-12-22 Thread Roman Peniaev
Hello, Pierre. Could you please help me to understand why you used R1b with MMC_CMD_WRITE_MULTIPLE_BLOCK in mmc_rpmb_request: + cmd.cmdidx = MMC_CMD_WRITE_MULTIPLE_BLOCK; + cmd.cmdarg = 0; + cmd.resp_type = MMC_RSP_R1b; Because according to the spec CMD25 has R1 response, als