Re: [PATCH] MMC: MMC boot partitions support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 4, 2011 at 7:22 AM, Andrei Warkentin <andreiw@xxxxxxxxxxxx> wrote:
> Allows device MMC boot partitions to be accessed. MMC partitions
> are treated effectively as separate block devices on the same
> MMC card.
>
> Signed-off-by: Andrei Warkentin <andreiw@xxxxxxxxxxxx>

+Chris
+Arnd

This version is different from the previous one in the following ways:
- Rebased on top reliable writes support (because it's in to make
merging easier) + modified MMC: enable TRIM/ERASE caps for SDHCI host
patch that I sent out earlier today
  (because I need to be able to set timeout appropriately for CMD6 and
have it honored by SDHCI)
- Fixes compile error with block support built as module (mmc_switch
wasn't exported)
- Let's mmc_switch be supplied a timeout value. Default of 0 does a
max timeout which is the only valid thing to do for register
modifications where the timeout is not specified by the JEDEC spec or
EXT_CSD values.
- Switching partition timeout is now honored (byte 199 of EXT_CSD)
- Fixes compile error with getting built on architectures where
SZ_128K isn't defined (most of them)
- Fixes naming as discussed - boot partitions are called mmcblkXbootY
- Fixes device parent/child relationship - added disks for boot
partitions are children of main mmc block disk
- Adds "force_ro" block device attribute, which is set by default to
"1" for boot partitions/
- Adds documentation.

Thanks,
A
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux