1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

buspirate: Add option for setting the aux pin

This adds a parameter to drive the aux pin low (or high if you
explicitly want the previous behavior). Some boards need to have a reset
pin driven low before the firmware can be safely flashed. With the Bus
Pirate, this is most easily done with the auxiliary pin.

Change-Id: Ieeecfdf1afc06dadda9b8f99547cd74854ca6775
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/43608
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:
Sean Anderson
2020-07-20 08:27:45 -04:00
committed by Anastasia Klimchuk
parent 5b2716d99c
commit 6537d40e31
2 changed files with 28 additions and 2 deletions

View File

@ -780,6 +780,14 @@ where ``state`` can be ``on`` or ``off``.
This allows the bus pirate to power the ROM chip directly. This may also be used to provide the required pullup voltage
(when using the **pullups** option), by connecting the Bus Pirate's Vpu input to the appropriate Vcc pin.
An optional aux parameter specifies the state of the Bus Pirate auxiliary pin.
This may be used to drive the auxiliary pin high or low before a transfer.
Syntax is::
flashrom -p buspirate_spi:aux=state
where ``state`` can be ``high`` or ``low``. The default ``state`` is ``high``.
pickit2_spi programmer
^^^^^^^^^^^^^^^^^^^^^^