mmc: add prv , sec_count and rev attr for firmware version, revision and capacity check
can be reached via cat /sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/prv /sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/rev /sys/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/sec_count Change-Id: Ia16ad160ea469a637a1167baef6dcdfc67c8d902 Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/63303 Reviewed-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com> Tested-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com> Reviewed-by: Sam hblee <Sam_hblee@asus.com> Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/67879
This commit is contained in:
committed by
Iliyan Malchev
parent
a1c8bbd881
commit
ad83fbde85
@@ -23,6 +23,7 @@ struct mmc_cid {
|
||||
unsigned char hwrev;
|
||||
unsigned char fwrev;
|
||||
unsigned char month;
|
||||
unsigned int prv;
|
||||
};
|
||||
|
||||
struct mmc_csd {
|
||||
|
||||
Reference in New Issue
Block a user