Revert "jtag_scan: Deliver full idcode to the handler."

This reverts commit 1845d71f00.
This commit is contained in:
dragonmux 2022-01-21 20:52:28 -05:00 committed by Piotr Esden-Tempski
parent 02d9a1d3cf
commit 024152b03e
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ int jtag_scan(const uint8_t *irlens)
jtag_devs[i].jd_descr = dev_descr[j].descr;
/* Call handler to initialise/probe device further */
if(dev_descr[j].handler)
dev_descr[j].handler(i, jtag_devs[i].jd_idcode);
dev_descr[j].handler(i, dev_descr[i].idcode);
break;
}