commit | 1bfd6c9524e630337ea2770b78be409b0338b6be | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed May 06 13:59:44 2009 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed May 06 13:59:44 2009 +0000 |
tree | eb3fdc3ebc52614bcaf043e349ff7f78a1043cc8 | |
parent | 9bb88acc5ed11dba09848198f0a884320bf1b0b0 [diff] |
Improve SST25 status register routines - Using a 4-bit index into an array with 8 elements leads to out-of-bounds accesses. Use proper bit masking to fix this. - Factor out common SST25 status register printing. - Use the common SST25 status register printing for SST25VF080B. Corresponding to flashrom svn r468. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Peter Stuge <peter@stuge.se>