diff options
Diffstat (limited to 'Documentation/mmc')
-rw-r--r-- | Documentation/mmc/mmc-dev-attrs.txt | 17 | ||||
-rw-r--r-- | Documentation/mmc/mmc-dev-parts.txt | 13 |
2 files changed, 0 insertions, 30 deletions
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt index 0d98fac8893..8898a95b41e 100644 --- a/Documentation/mmc/mmc-dev-attrs.txt +++ b/Documentation/mmc/mmc-dev-attrs.txt | |||
@@ -25,8 +25,6 @@ All attributes are read-only. | |||
25 | serial Product Serial Number (from CID Register) | 25 | serial Product Serial Number (from CID Register) |
26 | erase_size Erase group size | 26 | erase_size Erase group size |
27 | preferred_erase_size Preferred erase size | 27 | preferred_erase_size Preferred erase size |
28 | raw_rpmb_size_mult RPMB partition size | ||
29 | rel_sectors Reliable write sector count | ||
30 | 28 | ||
31 | Note on Erase Size and Preferred Erase Size: | 29 | Note on Erase Size and Preferred Erase Size: |
32 | 30 | ||
@@ -66,18 +64,3 @@ Note on Erase Size and Preferred Erase Size: | |||
66 | size specified by the card. | 64 | size specified by the card. |
67 | 65 | ||
68 | "preferred_erase_size" is in bytes. | 66 | "preferred_erase_size" is in bytes. |
69 | |||
70 | Note on raw_rpmb_size_mult: | ||
71 | "raw_rpmb_size_mult" is a mutliple of 128kB block. | ||
72 | RPMB size in byte is calculated by using the following equation: | ||
73 | RPMB partition size = 128kB x raw_rpmb_size_mult | ||
74 | |||
75 | SD/MMC/SDIO Clock Gating Attribute | ||
76 | ================================== | ||
77 | |||
78 | Read and write access is provided to following attribute. | ||
79 | This attribute appears only if CONFIG_MMC_CLKGATE is enabled. | ||
80 | |||
81 | clkgate_delay Tune the clock gating delay with desired value in milliseconds. | ||
82 | |||
83 | echo <desired delay> > /sys/class/mmc_host/mmcX/clkgate_delay | ||
diff --git a/Documentation/mmc/mmc-dev-parts.txt b/Documentation/mmc/mmc-dev-parts.txt index f08d078d43c..2db28b8e662 100644 --- a/Documentation/mmc/mmc-dev-parts.txt +++ b/Documentation/mmc/mmc-dev-parts.txt | |||
@@ -25,16 +25,3 @@ echo 0 > /sys/block/mmcblkXbootY/force_ro | |||
25 | To re-enable read-only access: | 25 | To re-enable read-only access: |
26 | 26 | ||
27 | echo 1 > /sys/block/mmcblkXbootY/force_ro | 27 | echo 1 > /sys/block/mmcblkXbootY/force_ro |
28 | |||
29 | The boot partitions can also be locked read only until the next power on, | ||
30 | with: | ||
31 | |||
32 | echo 1 > /sys/block/mmcblkXbootY/ro_lock_until_next_power_on | ||
33 | |||
34 | This is a feature of the card and not of the kernel. If the card does | ||
35 | not support boot partition locking, the file will not exist. If the | ||
36 | feature has been disabled on the card, the file will be read-only. | ||
37 | |||
38 | The boot partitions can also be locked permanently, but this feature is | ||
39 | not accessible through sysfs in order to avoid accidental or malicious | ||
40 | bricking. | ||