mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mmc: core: Extend sysfs to ext_csd parameters for RPMB support
Extend current sysfs access to ext_csd rpmb parameters (RPMB partition size) and rel_sector information. Signed-off-by: Loic Pallardy <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Johan Rudholm <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
53d8f97462
commit
188cc0424e
2 changed files with 11 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ All attributes are read-only.
|
|||
serial Product Serial Number (from CID Register)
|
||||
erase_size Erase group size
|
||||
preferred_erase_size Preferred erase size
|
||||
raw_rpmb_size_mult RPMB partition size
|
||||
rel_sectors Reliable write sector count
|
||||
|
||||
Note on Erase Size and Preferred Erase Size:
|
||||
|
||||
|
|
@ -65,6 +67,11 @@ Note on Erase Size and Preferred Erase Size:
|
|||
|
||||
"preferred_erase_size" is in bytes.
|
||||
|
||||
Note on raw_rpmb_size_mult:
|
||||
"raw_rpmb_size_mult" is a mutliple of 128kB block.
|
||||
RPMB size in byte is calculated by using the following equation:
|
||||
RPMB partition size = 128kB x raw_rpmb_size_mult
|
||||
|
||||
SD/MMC/SDIO Clock Gating Attribute
|
||||
==================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue