diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 19:55:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 19:55:55 -0400 |
commit | 8c1c77ff9be27137fa7cbbf51efedef1a2ae915b (patch) | |
tree | cdbd09cac5f5d1c6eb5ec4257dc478c6acca70c5 /Documentation | |
parent | f3ae1c75203535f65448517e46c8dd70a56b6c71 (diff) | |
parent | 08ee80cc397ac1a306ca689a22ede954d92d0db1 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (75 commits)
mmc: core: eMMC bus width may not work on all platforms
mmc: sdhci: Auto-CMD23 fixes.
mmc: sdhci: Auto-CMD23 support.
mmc: core: Block CMD23 support for UHS104/SDXC cards.
mmc: sdhci: Implement MMC_CAP_CMD23 for SDHCI.
mmc: core: Use CMD23 for multiblock transfers when we can.
mmc: quirks: Add/remove quirks conditional support.
mmc: Add new VUB300 USB-to-SD/SDIO/MMC driver
mmc: sdhci-pxa: Add quirks for DMA/ADMA to match h/w
mmc: core: duplicated trial with same freq in mmc_rescan_try_freq()
mmc: core: add support for eMMC Dual Data Rate
mmc: core: eMMC signal voltage does not use CMD11
mmc: sdhci-pxa: add platform code for UHS signaling
mmc: sdhci: add hooks for setting UHS in platform specific code
mmc: core: clear MMC_PM_KEEP_POWER flag on resume
mmc: dw_mmc: fixed wrong regulator_enable in suspend/resume
mmc: sdhi: allow powering down controller with no card inserted
mmc: tmio: runtime suspend the controller, where possible
mmc: sdhi: support up to 3 interrupt sources
mmc: sdhi: print physical base address and clock rate
...
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ioctl/ioctl-number.txt | 1 | ||||
-rw-r--r-- | Documentation/mmc/00-INDEX | 2 | ||||
-rw-r--r-- | Documentation/mmc/mmc-dev-attrs.txt | 10 | ||||
-rw-r--r-- | Documentation/mmc/mmc-dev-parts.txt | 27 |
4 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt index 2d1ad12e2b3e..3a46e360496d 100644 --- a/Documentation/ioctl/ioctl-number.txt +++ b/Documentation/ioctl/ioctl-number.txt | |||
@@ -304,6 +304,7 @@ Code Seq#(hex) Include File Comments | |||
304 | 0xB0 all RATIO devices in development: | 304 | 0xB0 all RATIO devices in development: |
305 | <mailto:vgo@ratio.de> | 305 | <mailto:vgo@ratio.de> |
306 | 0xB1 00-1F PPPoX <mailto:mostrows@styx.uwaterloo.ca> | 306 | 0xB1 00-1F PPPoX <mailto:mostrows@styx.uwaterloo.ca> |
307 | 0xB3 00 linux/mmc/ioctl.h | ||
307 | 0xC0 00-0F linux/usb/iowarrior.h | 308 | 0xC0 00-0F linux/usb/iowarrior.h |
308 | 0xCB 00-1F CBM serial IEC bus in development: | 309 | 0xCB 00-1F CBM serial IEC bus in development: |
309 | <mailto:michael.klein@puffin.lb.shuttle.de> | 310 | <mailto:michael.klein@puffin.lb.shuttle.de> |
diff --git a/Documentation/mmc/00-INDEX b/Documentation/mmc/00-INDEX index fca586f5b853..93dd7a714075 100644 --- a/Documentation/mmc/00-INDEX +++ b/Documentation/mmc/00-INDEX | |||
@@ -2,3 +2,5 @@ | |||
2 | - this file | 2 | - this file |
3 | mmc-dev-attrs.txt | 3 | mmc-dev-attrs.txt |
4 | - info on SD and MMC device attributes | 4 | - info on SD and MMC device attributes |
5 | mmc-dev-parts.txt | ||
6 | - info on SD and MMC device partitions | ||
diff --git a/Documentation/mmc/mmc-dev-attrs.txt b/Documentation/mmc/mmc-dev-attrs.txt index ff2bd685bced..8898a95b41e5 100644 --- a/Documentation/mmc/mmc-dev-attrs.txt +++ b/Documentation/mmc/mmc-dev-attrs.txt | |||
@@ -1,3 +1,13 @@ | |||
1 | SD and MMC Block Device Attributes | ||
2 | ================================== | ||
3 | |||
4 | These attributes are defined for the block devices associated with the | ||
5 | SD or MMC device. | ||
6 | |||
7 | The following attributes are read/write. | ||
8 | |||
9 | force_ro Enforce read-only access even if write protect switch is off. | ||
10 | |||
1 | SD and MMC Device Attributes | 11 | SD and MMC Device Attributes |
2 | ============================ | 12 | ============================ |
3 | 13 | ||
diff --git a/Documentation/mmc/mmc-dev-parts.txt b/Documentation/mmc/mmc-dev-parts.txt new file mode 100644 index 000000000000..2db28b8e662f --- /dev/null +++ b/Documentation/mmc/mmc-dev-parts.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | SD and MMC Device Partitions | ||
2 | ============================ | ||
3 | |||
4 | Device partitions are additional logical block devices present on the | ||
5 | SD/MMC device. | ||
6 | |||
7 | As of this writing, MMC boot partitions as supported and exposed as | ||
8 | /dev/mmcblkXboot0 and /dev/mmcblkXboot1, where X is the index of the | ||
9 | parent /dev/mmcblkX. | ||
10 | |||
11 | MMC Boot Partitions | ||
12 | =================== | ||
13 | |||
14 | Read and write access is provided to the two MMC boot partitions. Due to | ||
15 | the sensitive nature of the boot partition contents, which often store | ||
16 | a bootloader or bootloader configuration tables crucial to booting the | ||
17 | platform, write access is disabled by default to reduce the chance of | ||
18 | accidental bricking. | ||
19 | |||
20 | To enable write access to /dev/mmcblkXbootY, disable the forced read-only | ||
21 | access with: | ||
22 | |||
23 | echo 0 > /sys/block/mmcblkXbootY/force_ro | ||
24 | |||
25 | To re-enable read-only access: | ||
26 | |||
27 | echo 1 > /sys/block/mmcblkXbootY/force_ro | ||