diff options
author | Brian Salcedo <bsalcedo@gmx.us> | 2013-01-03 20:44:30 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-01-03 20:44:30 +0000 |
commit | 30dfdbaf3ab30974a6d76e085525d52c033e4215 (patch) | |
tree | 05451bdc93ffcab3935c6ac35f5f0dd480c9f012 /linux_spi.c | |
parent | e34e3e8a49172ba09eb058c9a028706647dca165 (diff) | |
download | flashrom-30dfdbaf3ab30974a6d76e085525d52c033e4215.tar.gz flashrom-30dfdbaf3ab30974a6d76e085525d52c033e4215.tar.bz2 flashrom-30dfdbaf3ab30974a6d76e085525d52c033e4215.zip |
Add user interface to activate the Bus Pirate pull-up resistors
When working with some flash chips using the Bus Pirate programmer, the
use of the Bus Pirate's on-board pull-up resistors is sometimes
necessary.
On v3 hardware the use of said pull-up resistors requires the user to apply a
voltage to the VPU pin of the Bus Pirate, and then command it to use them.
For v4 hardware which supports also fixed internal 3.3V and 5V sources no
documentation could be found.
Here is a link to information pertaining to what this patch does:
http://dangerousprototypes.com/docs/SPI_(binary)#0100wxyz_-_Configure_peripherals_w.3Dpower.2C_x.3Dpull-ups.2C_y.3DAUX.2C_z.3DCS
Bonus: small cleanup of superfluous stack variables.
Corresponding to flashrom svn r1641.
Signed-off-by: Brian Salcedo <bsalcedo@gmx.us>
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Tested-by: Brian Salcedo <bsalcedo@gmx.us>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'linux_spi.c')
0 files changed, 0 insertions, 0 deletions