diff options
author | Tim Newsome <tim@sifive.com> | 2019-01-01 12:37:34 -0800 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-01-11 19:50:09 +0000 |
commit | 31ea7037b3df7e567a9eb34d28947d118c4cada1 (patch) | |
tree | 5230e15a186f1915f3e1d5dd729c11b8c3f3c519 /src/flash/nor/drivers.c | |
parent | 42d8fa899c6a6f136daa761e7718003f08f723e7 (diff) | |
download | riscv-openocd-31ea7037b3df7e567a9eb34d28947d118c4cada1.zip riscv-openocd-31ea7037b3df7e567a9eb34d28947d118c4cada1.tar.gz riscv-openocd-31ea7037b3df7e567a9eb34d28947d118c4cada1.tar.bz2 |
Add flash support for SiFive's Freedom E platforms
Valgrind and Clang Static Analyzer have no complaints about this change.
Change-Id: I7757615ec52448372bdc57729cdf97c7016d97e8
Signed-off-by: Tim Newsome <tim@sifive.com>
Reviewed-on: http://openocd.zylin.com/4656
Tested-by: jenkins
Reviewed-by: Philipp Guehring <pg@futureware.at>
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 1c456ad..d1bbb27 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -42,6 +42,7 @@ extern struct flash_driver esirisc_flash; extern struct flash_driver faux_flash; extern struct flash_driver fm3_flash; extern struct flash_driver fm4_flash; +extern struct flash_driver fespi_flash; extern struct flash_driver jtagspi_flash; extern struct flash_driver kinetis_flash; extern struct flash_driver kinetis_ke_flash; @@ -109,6 +110,7 @@ static struct flash_driver *flash_drivers[] = { &faux_flash, &fm3_flash, &fm4_flash, + &fespi_flash, &jtagspi_flash, &kinetis_flash, &kinetis_ke_flash, |