diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-03 22:47:03 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-19 21:40:47 +0200 |
commit | 262e1eaafabf32d33a9fa0b03b3c8ea426c5ae1b (patch) | |
tree | 4b98711fad6ae90c9666f35b0deb104c0287e165 /cris-dis.c | |
parent | d104bebd073cc05a1a572529a060857a377be6aa (diff) |
pflash_cfi01: fix vendor specific extended query
pflash_cfi01 announces a version number of 1.1, which implies
"Protection Register Information" and "Burst Read information"
sections, which are not provided.
Decrease the version number to 1.0 so that only the "Protection
Register Information" section is needed.
Set the number of protection fields (0x3f) to 0x01, as 0x00 means 256
protections field, which makes the CFI table bigger than the current
implementation, causing some kernels to fail to read it.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'cris-dis.c')
0 files changed, 0 insertions, 0 deletions