aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabrielle Trotter <gtrotter@bulogics.com>2016-10-21 15:35:08 -0400
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-10-30 20:21:53 +0000
commitb9ee6dd4655310c0553f4eef853213b11c1df28f (patch)
tree422ae7d58e7802342df0b8d675f4bb762f4f6307
parent674141e8a7a6413cb803d90c2a20150260015f81 (diff)
atsamv: Support for ATSAMS70N19 Memory Configuration
Change-Id: I3c17fcb7ee053f92aa583149bea7b8e33b3b86f7 Signed-off-by: gtrotter@bulogics.com Reviewed-on: http://openocd.zylin.com/3834 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
-rw-r--r--src/flash/nor/atsamv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/atsamv.c b/src/flash/nor/atsamv.c
index d21419d0..73f02389 100644
--- a/src/flash/nor/atsamv.c
+++ b/src/flash/nor/atsamv.c
@@ -363,6 +363,9 @@ static int samv_probe(struct flash_bank *bank)
uint8_t nvm_size_code = (device_id >> 8) & 0xf;
switch (nvm_size_code) {
+ case 10:
+ bank->size = 512 * 1024;
+ break;
case 12:
bank->size = 1024 * 1024;
break;