aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2024-01-21 18:08:33 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2024-03-09 11:01:20 +0000
commit42e4f26a3da8203d8f28c3edc490968273b1d904 (patch)
tree9864afc008a8d96d5b338cea400488fa3816cfca
parent85bc3289699a23dfb66bd10927aa1a6330e3668c (diff)
downloadriscv-openocd-42e4f26a3da8203d8f28c3edc490968273b1d904.zip
riscv-openocd-42e4f26a3da8203d8f28c3edc490968273b1d904.tar.gz
riscv-openocd-42e4f26a3da8203d8f28c3edc490968273b1d904.tar.bz2
flash/nor/nrf5: add missing device types
from nRF52 family. Change-Id: I6d2b4586700bb4014c0b77dbf4ea26d1b5dc9715 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/8106 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
-rw-r--r--src/flash/nor/nrf5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/nrf5.c b/src/flash/nor/nrf5.c
index b6d712d..4446b30 100644
--- a/src/flash/nor/nrf5.c
+++ b/src/flash/nor/nrf5.c
@@ -665,11 +665,15 @@ static int nrf5_read_ficr_info(struct nrf5_info *chip)
chip->features = NRF5_FEATURE_SERIES_52;
switch (chip->ficr_info.part) {
+ case 0x52805:
case 0x52810:
+ case 0x52811:
case 0x52832:
chip->features |= NRF5_FEATURE_BPROT;
break;
+ case 0x52820:
+ case 0x52833:
case 0x52840:
chip->features |= NRF5_FEATURE_ACL_PROT;
break;