diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2019-06-19 10:31:05 +0200 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2019-07-28 21:17:47 +0100 |
commit | 7a93c9e087b7cb0444068a3deb506eb127f758f0 (patch) | |
tree | 8fe9884c6a0949650cdbf2792570fc55184ad656 /src/openocd.c | |
parent | 263deb3802a515ba8155b6c59146f0f539de4e43 (diff) | |
download | riscv-openocd-7a93c9e087b7cb0444068a3deb506eb127f758f0.zip riscv-openocd-7a93c9e087b7cb0444068a3deb506eb127f758f0.tar.gz riscv-openocd-7a93c9e087b7cb0444068a3deb506eb127f758f0.tar.bz2 |
mflash: Remove this broken flash driver
This is causing repeated build failures. Its design is so fundamentally
broken that if someone actually wants to use it, a full rewrite is the
only option. So it's not even worth deprecating in the hope that someone
will notice and fix it, just get rid of it.
Change-Id: I513069919a3873bd69253110f7fb6f622ee7d061
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/5243
Tested-by: jenkins
Reviewed-by: Jeffrey Booher-Kaeding <Jeff.Booher-Kaeding@arm.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/openocd.c b/src/openocd.c index f084dd4..2a9a0b3 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -36,7 +36,6 @@ #include <flash/nor/core.h> #include <flash/nand/core.h> #include <pld/pld.h> -#include <flash/mflash.h> #include <target/arm_cti.h> #include <target/arm_adi_v5.h> @@ -165,9 +164,6 @@ COMMAND_HANDLER(handle_init_command) if (command_run_line(CMD_CTX, "flash init") != ERROR_OK) return ERROR_FAIL; - if (command_run_line(CMD_CTX, "mflash init") != ERROR_OK) - return ERROR_FAIL; - if (command_run_line(CMD_CTX, "nand init") != ERROR_OK) return ERROR_FAIL; @@ -257,7 +253,6 @@ struct command_context *setup_command_handler(Jim_Interp *interp) &flash_register_commands, &nand_register_commands, &pld_register_commands, - &mflash_register_commands, &cti_register_commands, &dap_register_commands, NULL |