diff options
author | Balaji T K <balajitk@ti.com> | 2013-01-25 17:00:30 +0530 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 14:37:05 -0500 |
commit | d0123ccac55088811bde4f76c4a3fdbd39c3cfba (patch) | |
tree | 00b6a7c84b7f47fbfbc0c1578c1b428cb4418a51 /lib/irq_regs.c | |
parent | 85c34d2e7b0e0425cd3efc243ffc4e3631daa0b5 (diff) | |
download | op-kernel-dev-d0123ccac55088811bde4f76c4a3fdbd39c3cfba.zip op-kernel-dev-d0123ccac55088811bde4f76c4a3fdbd39c3cfba.tar.gz |
mmc: core: expose RPMB partition only for CMD23 capable hosts
SET_BLOCK_COUNT CMD23 is needed for all access to RPMB partition. If
block count is not set by CMD23, all subsequent read/write commands fail
as per eMMC specification. So, If the host does not support CMD23, do not
expose RPMB partition.
Accessing RPMB partition can cause hang / huge delay for hosts which do
not support CMD23.
Signed-off-by: Balaji T K <balajitk@ti.com>
Reported-and-Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'lib/irq_regs.c')
0 files changed, 0 insertions, 0 deletions