From: Balaji T K Date: Fri, 25 Jan 2013 11:30:30 +0000 (+0530) Subject: mmc: core: expose RPMB partition only for CMD23 capable hosts X-Git-Tag: v3.9-rc1~78^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0123ccac55088811bde4f76c4a3fdbd39c3cfba;p=pandora-kernel.git 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 Reported-and-Tested-by: Peter Ujfalusi Cc: stable Signed-off-by: Chris Ball --- Reading git-diff-tree failed