]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00268442 mmc: remove the boot partition access codes on 3.0.35
authorRichard Zhu <r65037@freescale.com>
Mon, 24 Jun 2013 04:51:41 +0000 (12:51 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:07 +0000 (14:14 +0200)
commit526f35a4241b4d6de1254893dbde0601eb157032
treee5c721b46229690abdb2bc2004206b98a127a045
parent20d523b43dccca72f834e9fff17cd037fd770bbe
ENGR00268442 mmc: remove the boot partition access codes on 3.0.35

Regarding to the following community commit, remove all the boot
partition access codes added before.
-
371a689f64b0da140c3bcd3f55305ffa1c3a58ef
mmc: MMC boot partitions support.

Allows device MMC boot partitions to be accessed. MMC partitions are
treated effectively as separate block devices on the same MMC card.
-

Boot partition access howto:
-
To enable write access to /dev/mmcblkXbootY, disable the forced
read-only access with:

echo 0 > /sys/block/mmcblkXbootY/force_ro

To re-enable read-only access:

echo 1 > /sys/block/mmcblkXbootY/force_ro
-

Signed-off-by: Richard Zhu <r65037@freescale.com>
drivers/mmc/core/mmc.c