android: persistent_ram: Allow specifying ecc parameters in platform data

Change-Id: If5aaa968f6ce85ac8e18f07cca286f20f0aa6e58
Signed-off-by: Arve Hjønnevåg <arve@android.com>
This commit is contained in:
Arve Hjønnevåg
2012-05-22 16:33:23 -07:00
parent 6ce7d7aa4b
commit 6411d5781d
2 changed files with 17 additions and 9 deletions

View File

@@ -31,6 +31,11 @@ struct persistent_ram {
phys_addr_t start;
phys_addr_t size;
int ecc_block_size;
int ecc_size;
int ecc_symsize;
int ecc_poly;
int num_descs;
struct persistent_ram_descriptor *descs;