mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
serprog: Add support for multiple SPI chip selects
Tested with an EliteBook 8560w, Pi Pico, and my serprog firmware: https://codeberg.org/Riku_V/pico-serprog/ As seen on Flashprog: https://review.sourcearcade.org/c/flashprog/+/51 Change-Id: If8052bc6f5c314dcc493bc083bb8270723efaae7 Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/80498 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
6d128a4fff
commit
e8c350f55e
@ -741,6 +741,14 @@ Example that sets the frequency to 2 MHz::
|
||||
|
||||
flashrom -p serprog:dev=/dev/device:baud,spispeed=2M
|
||||
|
||||
Optional ``cs`` parameter can be used to switch which chip select number is used. This allows connecting multiple
|
||||
chips at once and selecting which one to flash by software means (rather than rewiring)::
|
||||
|
||||
flashrom -p serprog:dev=/dev/device:baud,cs=0
|
||||
|
||||
The particular programmer implementation needs to support this feature, for it to work. If the requested chip
|
||||
select isn't available, flashrom will fail safely.
|
||||
|
||||
More information about serprog is available in **serprog-protocol.txt** in the source distribution.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user