mmc: core: Report firmware version for eMMC 5.0 devices.
authorGwendal Grignou <gwendal@chromium.org>
Thu, 16 Oct 2014 18:27:16 +0000 (11:27 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:36 +0000 (12:40 +0100)
commit0f762426769a517d5b278e4e5d579fcea6801734
tree8d3377adab4f8360e559f9b090f2fa32967a61c4
parente7791079ae89d91024019e11a1f430d38c491246
mmc: core: Report firmware version for eMMC 5.0 devices.

For eMMC 5.0 compliant device, firmware version is stored in ext_csd.
Report firmware as a 64bit hexa decimal. Vendor can use hexa or ascii
string to report firmware version.
Also add FFU related EXT_CSD register and note if the device is FFU capable.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c
include/linux/mmc/card.h
include/linux/mmc/mmc.h