Commit 20427e5d authored by Wolfram Sang's avatar Wolfram Sang Committed by Ulf Hansson

mmc: document 'Reliable Write' bit in uapi header

If we use it this way, people should know about it. Also, replace
true/false with nonzero/zero because the flag is not strictly a bool
anymore.
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1970701f
...@@ -5,7 +5,10 @@ ...@@ -5,7 +5,10 @@
#include <linux/types.h> #include <linux/types.h>
struct mmc_ioc_cmd { struct mmc_ioc_cmd {
/* Implies direction of data. true = write, false = read */ /*
* Direction of data: nonzero = write, zero = read.
* Bit 31 selects 'Reliable Write' for RPMB.
*/
int write_flag; int write_flag;
/* Application-specific command. true = precede with CMD55 */ /* Application-specific command. true = precede with CMD55 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment