summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-03-03 18:09:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-03-03 18:09:33 +0000
commitce147339a86c9f5e857dee2f7dba0b2b00f3677c (patch)
tree3460628ca2658848c6e213b80684aa44fb70e2d4 /programmer.h
parent10c8ce7b45ce8c941f4b568f116758fafd17ea9c (diff)
downloadflashrom-ce147339a86c9f5e857dee2f7dba0b2b00f3677c.zip
flashrom-ce147339a86c9f5e857dee2f7dba0b2b00f3677c.tar.gz
linux_spi.c: set SPI mode, bit order and bits per word on init
Previously we relied on a correctly set up state. Also, we start to rely on the shutdown function for cleanup after registering it, i.e. we no longer explicitly call close(fd) after register_shutdown(). Tested-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Corresponding to flashrom svn r1512. 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 'programmer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud