at91samd: Add additional "B Variant" parts from SAMD21 family
authorPeter D. Gray <peter@conalgo.com>
Thu, 21 Apr 2016 13:10:44 +0000 (09:10 -0400)
committerFreddie Chopin <freddie.chopin@gmail.com>
Thu, 5 May 2016 06:59:14 +0000 (07:59 +0100)
The parts are listed in Rev I of the Datasheet

Change-Id: Icdd9108a0f1f19f666fce79de7f25df9f46de866
Signed-off-by: Peter D. Gray <peter@conalgo.com>
Reviewed-on: http://openocd.zylin.com/3424
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Tested-by: jenkins
src/flash/nor/at91samd.c

index 2cf577805937a87aebb826d02ffc798d457fda4c..62b3542cbb714f963b823807b69fc9d8dd0f2f72 100644 (file)
@@ -152,7 +152,13 @@ static const struct samd_part samd21_parts[] = {
        { 0xC, "SAMD21E16A", 64, 8 },
        { 0xD, "SAMD21E15A", 32, 4 },
        { 0xE, "SAMD21E14A", 16, 2 },
+    /* Below are B Variants (Table 3-7 from rev I of datasheet) */
+       { 0x20, "SAMD21J16B", 64, 8 },
+       { 0x21, "SAMD21J15B", 32, 4 },
+       { 0x23, "SAMD21G16B", 64, 8 },
+       { 0x24, "SAMD21G15B", 32, 4 },
        { 0x26, "SAMD21E16B", 64, 8 },
+       { 0x27, "SAMD21E15B", 32, 4 },
 };
 
 /* Known SAMR21 parts. */