diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-08-15 17:17:59 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2014-08-15 17:17:59 +0000 |
commit | fa6fc8bf35fb077c2bf35790cd1df1e04544ffef (patch) | |
tree | 409e4bf78b9d726f6aa413933987055b6a1c0439 /ft2232_spi.c | |
parent | e8c4e720a2ff9e97fde3dde8a6767a17cd52e96c (diff) | |
download | flashrom-fa6fc8bf35fb077c2bf35790cd1df1e04544ffef.zip flashrom-fa6fc8bf35fb077c2bf35790cd1df1e04544ffef.tar.gz |
Refine handling chips that exceed maximum programmer sizes
- Change check_max_decode() to return the number of (common) busses
where the flash chip exceeds the supported size of the programmer.
- Refine its signature to use a flashctx pointer only.
- Move CLI-related bits to cli_classic.c.
- Rename check_max_decode() to count_max_decode_exceedings() to
better reflect what it (now) really does.
- Refine the messages printed by the caller to better integrate with the new
setup, and simplify them.
Corresponding to flashrom svn r1842.
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 'ft2232_spi.c')
0 files changed, 0 insertions, 0 deletions