diff options
author | Morgan Quigley <morgan@osrfoundation.org> | 2015-09-06 11:31:09 -0700 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2015-11-10 20:27:09 +0000 |
commit | 42c24acebd23d758c543c9bf2c2b97bdbd083c35 (patch) | |
tree | 30dccab39bf298080a5de74fc973b22eae02e494 /src/flash/nor/drivers.c | |
parent | d85207c8e536bcf1e2a6f9396f3813f4ee3a867a (diff) | |
download | riscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.zip riscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.tar.gz riscv-openocd-42c24acebd23d758c543c9bf2c2b97bdbd083c35.tar.bz2 |
flash: driver for Atmel SAMV, SAMS, and SAME
This is a driver for the Atmel Cortex-M7 SAMV, SAMS, and SAME.
I started with the at91sam4.c driver and then restructured it
significantly to try to simplify it and limit the functionality
to just a flash driver, as well as to comply with the style guide.
Change-Id: I5340bf61f067265b8ebabd3adad45be45324b707
Signed-off-by: Morgan Quigley <morgan@osrfoundation.org>
Reviewed-on: http://openocd.zylin.com/2952
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r-- | src/flash/nor/drivers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index 8c761cd..4723cff 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -32,6 +32,7 @@ extern struct flash_driver at91sam4_flash; extern struct flash_driver at91sam4l_flash; extern struct flash_driver at91samd_flash; extern struct flash_driver at91sam7_flash; +extern struct flash_driver atsamv_flash; extern struct flash_driver str7x_flash; extern struct flash_driver str9x_flash; extern struct flash_driver aduc702x_flash; @@ -77,6 +78,7 @@ static struct flash_driver *flash_drivers[] = { &at91sam4_flash, &at91sam4l_flash, &at91samd_flash, + &atsamv_flash, &str7x_flash, &str9x_flash, &aduc702x_flash, |