Skip to content
Snippets Groups Projects
Commit a7a1b930 authored by Andreas Färber's avatar Andreas Färber Committed by Freddie Chopin
Browse files

lpcspifi: Fix SWD support for LPC43xx


When using SWD rather than JTAG transport, the lpcspifi driver complains:

  Error: Device ID 0x0 is not known as SPIFI capable
  Error: auto_probe failed

This is because target's JTAG tap->idcode is zero for SWD.

Drop this check completely and hardcode the addresses for now. Neither
the JTAG TAPID nor the SWD IDCODE are unique enough to detect the exact
chip model and thereby its memory map.

Change-Id: Ic230e3e989a3e1f1a5b3bae68bdb34e5ef55d392
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/3089


Tested-by: jenkins
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 679ae2a9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment