diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-08-30 23:39:51 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-08-30 23:39:51 +0000 |
commit | 4e32ec19b124a7431d1e3fd9f7e75196b7495a7e (patch) | |
tree | 5ca7051747f8161639957c37d984cbe8f878271a /util/getrevision.sh | |
parent | 583ea32911f67641daef9d05b3e65176b6923f94 (diff) | |
download | flashrom-4e32ec19b124a7431d1e3fd9f7e75196b7495a7e.tar.gz flashrom-4e32ec19b124a7431d1e3fd9f7e75196b7495a7e.tar.bz2 flashrom-4e32ec19b124a7431d1e3fd9f7e75196b7495a7e.zip |
Refine physical address mapping of flash chips
- Create distinct functions for mapping and unmapping for flash chips.
- Map only when needed: map before probing and unmap immediately
after it. Map again when a single chip was probed successfully before
taking any actual actions and clean up afterwards.
- Map special function chip registers centrally together with flash space
instead of within (some) probing methods after successful probes.
- Save the used base addresses of the mappings in struct flashctx as well.
- Do not try to (un)map the zero-sized chip definitions that are merely hacks.
This also fixes the printing of wrong warnings for these chip definitions
introduced in r1765.
Corresponding to flashrom svn r1847.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'util/getrevision.sh')
0 files changed, 0 insertions, 0 deletions