diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-05-05 22:50:07 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2009-05-05 22:50:07 +0000 |
commit | 41d6bd918f0d7216cf6aa95d60225307e2a4595d (patch) | |
tree | 4a74f7dab6cdfada51d50c4b68cbdd8bcffa9c0b /am29f040b.c | |
parent | b452a913d67c131c3a3ec6e29623d0ca4c14df82 (diff) | |
download | flashrom-41d6bd918f0d7216cf6aa95d60225307e2a4595d.tar.gz flashrom-41d6bd918f0d7216cf6aa95d60225307e2a4595d.tar.bz2 flashrom-41d6bd918f0d7216cf6aa95d60225307e2a4595d.zip |
Rewrite the SB600 chipset enable function
- Check for read/write protected regions first.
- Region protection is write-once according to the data sheets. Check if
the write succeeded. Don't write if the region is not protected.
- Verbose region protection dumping.
- Improve readability of BAR mapping code.
- Align BAR mapping to a page boundary (4k) instead of a 16k boundary.
This patch prepares the code for a SPI detection heuristic.
Corresponding to flashrom svn r463.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'am29f040b.c')
0 files changed, 0 insertions, 0 deletions