]> git.sur5r.net Git - openocd/commitdiff
nrf51: Add HWID 0x008F again
authorTomas Vanek <vanekt@fbl.cz>
Tue, 27 Feb 2018 16:51:49 +0000 (17:51 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 4 Apr 2018 20:27:33 +0000 (21:27 +0100)
HWID originally added in commit 7829f31a6dd61297e97d8e94fe98a1658eac833e
was accidentally omited during refactoring in commit
52885d2b538dcd4184aae14cf2706fb97acccbd9

While on it move old ingeneering sample of 51822 to block of 51822 rev 1

Change-Id: Ie9f15563792a27a72e71df6edbcc6b04490370ed
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4437
Tested-by: jenkins
src/flash/nor/nrf5.c

index 4fa62e30ad421aa816b7a480ba70c811e0d1ddf4..31dd5aae5f2701d804f758ea6a6237004aec0f25 100644 (file)
@@ -155,6 +155,11 @@ static const struct nrf5_device_spec nrf5_known_devices_table[] = {
        NRF5_DEVICE_DEF(0x0020, "51822", "CEAA", "BA",    256),
        NRF5_DEVICE_DEF(0x002F, "51822", "CEAA", "B0",    256),
 
+       /* Some early nRF51-DK (PCA10028) & nRF51-Dongle (PCA10031) boards
+          with built-in jlink seem to use engineering samples not listed
+          in the nRF51 Series Compatibility Matrix V1.0. */
+       NRF5_DEVICE_DEF(0x0071, "51822", "QFAC", "AB",    256),
+
        /* nRF51822 Devices (IC rev 2). */
        NRF5_DEVICE_DEF(0x002A, "51822", "QFAA", "FA0",   256),
        NRF5_DEVICE_DEF(0x0044, "51822", "QFAA", "GC0",   256),
@@ -175,6 +180,7 @@ static const struct nrf5_device_spec nrf5_known_devices_table[] = {
        NRF5_DEVICE_DEF(0x007D, "51822", "CDAB", "A0",    128),
        NRF5_DEVICE_DEF(0x0079, "51822", "CEAA", "E0",    256),
        NRF5_DEVICE_DEF(0x0087, "51822", "CFAC", "A0",    256),
+       NRF5_DEVICE_DEF(0x008F, "51822", "QFAA", "H1",    256),
 
        /* nRF51422 Devices (IC rev 1). */
        NRF5_DEVICE_DEF(0x001E, "51422", "QFAA", "CA",    256),
@@ -198,11 +204,6 @@ static const struct nrf5_device_spec nrf5_known_devices_table[] = {
 
        /* nRF52832 Devices */
        NRF5_DEVICE_DEF(0x00C7, "52832", "QFAA", "B0",    512),
-
-       /* Some early nRF51-DK (PCA10028) & nRF51-Dongle (PCA10031) boards
-          with built-in jlink seem to use engineering samples not listed
-          in the nRF51 Series Compatibility Matrix V1.0. */
-       NRF5_DEVICE_DEF(0x0071, "51822", "QFAC", "AB",    256),
 };
 
 static int nrf5_bank_is_probed(struct flash_bank *bank)