]> git.sur5r.net Git - openocd/commit
tcl/interface/ftdi/sheevaplug: Fix FTDI channel configuration
authorJonathan McDowell <noodles@earth.li>
Sun, 27 Aug 2017 18:12:21 +0000 (19:12 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 3 Oct 2017 10:20:18 +0000 (11:20 +0100)
commitf95f8b70fbd0f7e9c91a2d9006b1abb2dd07ebf2
treef459c087ec0f0bb713cc81920ef7cd7b1d45d887
parente8b6aaa8e59208aea6cead31760895d67c1226ee
tcl/interface/ftdi/sheevaplug: Fix FTDI channel configuration

The migration from the old ft2232 driver to the new generic ftdi driver
ended up breaking support for the SheevaPlug device. The old driver
defaulted to channel 1, but numbered the channels 1 to 4. The new driver
starts at 0. The SheevaPlug JTAG is on interface A (interface B is the
serial console), so it should be using channel 0. Fix this. Confirmed
as working; serial console remains available and a new u-boot image can
be transferred across using the JTAG link.

See also Debian Bug#837989; https://bugs.debian.org/837989

Change-Id: I4ac2bfeb0d1e7e99d70fa47dc55f186e6af2c542
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Reviewed-on: http://openocd.zylin.com/4206
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: jenkins
tcl/interface/ftdi/sheevaplug.cfg