mmc: Resolve BKOPS compatability issue
authorAlexey Skidanov <alexey.skidanov@sandisk.com>
Thu, 29 Jan 2015 08:49:43 +0000 (10:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Jan 2015 10:15:12 +0000 (11:15 +0100)
commit0501be6429e4eb02f417ad83eacd84b8c57b0283
treec56a75eb3b4c00bdab0925cb6e72e15e592684d4
parent14460dbaf7a5a0488963fdb8232ad5c8a8cca7b7
mmc: Resolve BKOPS compatability issue

This patch is coming to fix compatibility issue of BKOPS_EN  field of EXT_CSD.
In eMMC-5.1, BKOPS_EN was changed, and now it has two operational bits:
Bit 0 - MANUAL_EN
Bit 1 - AUTO_EN
In previous eMMC revisions, only Bit 0 was supported.

Signed-off-by: Alexey Skidanov <alexey.skidanov@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
include/linux/mmc/card.h
include/linux/mmc/mmc.h