Shawn Anastasio uploaded patch set #2 to this change.
buspirate_spi: Add support for variable serial speeds
This patch introduces the ability to set the baud rate for communication
between the host device and the Bus Pirate via the added 'serialspeed'
This is done in two parts. Firstly, the requested serial speed is looked up
in a table to determine the appropriate clock divisor and the divisor is sent
to the bus pirate. Then, the system's baud rate for the selected serial port
is set using serial.c's 'serialport_config'. This function's prototype had to
be added to programmer.h.
In testing, using the 2M baud rate was able to significantly decrease
flash times (down from 20+ minutes to less than 2 minutes for an 8MB flash).
Signed-off-by: Shawn Anastasio <email@example.com>
2 files changed, 89 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/50/23050/2
To view, visit change 23050. To unsubscribe, or for help writing mail filters, visit settings.