flash/nor/rp2040: make SPI flash ID detection optional
commit0979cbc5bcf0688d10815aaa1b938a6086e75f0e
authorTomas Vanek <vanekt@fbl.cz>
Sun, 2 Oct 2022 09:21:42 +0000 (2 11:21 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 15 Jan 2023 14:55:25 +0000 (15 14:55 +0000)
treef8020ddf59893be536fa5114cfd97938e560272a
parent59763653c631625f195bf652f226f8537fe66832
flash/nor/rp2040: make SPI flash ID detection optional

Do not read ID from SPI flash and suppress autodetection
if non-zero flash bank size is configured.

Change-Id: Idcf9ee6ca17f9fa89964a60da7bf11e47b4af5e7
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7241
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/rp2040.c