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
This commit is contained in:
Tomas Vanek 2024-01-21 18:08:33 +01:00 committed by Antonio Borneo
parent 85bc328969
commit 42e4f26a3d
1 changed files with 4 additions and 0 deletions

View File

@ -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;