summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-09-03 18:37:52 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-09-03 18:37:52 +0000
commit5ce5f70ed3cf5a973c0c4055c91219d6199c15fe (patch)
tree8e0e42a7177fb3a56c5d269c42b9034a92b82793 /flash.h
parentad470347fdf7da1da2b690c4ae0579b09b879bfa (diff)
downloadast2050-flashrom-5ce5f70ed3cf5a973c0c4055c91219d6199c15fe.zip
ast2050-flashrom-5ce5f70ed3cf5a973c0c4055c91219d6199c15fe.tar.gz
Add support for the Linux SPI subsystem (spidev)
See http://www.kernel.org/doc/Documentation/spi/spidev for an introduction. Usage is as follows: flashrom -p linux_spi:dev=/dev/spidevX.Y where X is the bus number, and Y device. It accepts an optional parameter 'speed' which allows to set the SPI clock speed in kHz. Tested on an Atmel AVR32AP7000 board (NGW100 Network Gateway Kit), see below, which was used to program a ThinkPad X60, but it should work on every other Linux system, too. http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4102) Corresponding to flashrom svn r1427. Signed-off-by: Sven Schnelle <svens@stackframe.org> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud