diff options
author | Tim Newsome <tim@sifive.com> | 2018-07-12 16:59:01 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2018-07-12 16:59:01 -0700 |
commit | 29eaa1fac18cf32ef35bdbf63ac5f10b4482a888 (patch) | |
tree | e86586354ca90ef2767d7aa1c3b3db885da64524 | |
parent | 5d9f48640461fbac5c30958f63a01e666ee64dd4 (diff) | |
download | riscv-openocd-29eaa1fac18cf32ef35bdbf63ac5f10b4482a888.zip riscv-openocd-29eaa1fac18cf32ef35bdbf63ac5f10b4482a888.tar.gz riscv-openocd-29eaa1fac18cf32ef35bdbf63ac5f10b4482a888.tar.bz2 |
Define free_driver_priv for fespi flash driver
Fixes #276.
Change-Id: I42baabfef3e29d7d92de4f1c9211f9c567bcbd34
-rw-r--r-- | src/flash/nor/fespi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nor/fespi.c b/src/flash/nor/fespi.c index 6df0d38..6667d36 100644 --- a/src/flash/nor/fespi.c +++ b/src/flash/nor/fespi.c @@ -1179,5 +1179,6 @@ struct flash_driver fespi_flash = { .auto_probe = fespi_auto_probe, .erase_check = default_flash_blank_check, .protect_check = fespi_protect_check, - .info = get_fespi_info + .info = get_fespi_info, + .free_driver_priv = default_flash_free_driver_priv }; |