diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2024-04-09 01:29:34 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2024-05-26 09:57:51 +0000 |
commit | fbea7d5d38d0dcbdd71cb574da9bd12c78b568cf (patch) | |
tree | 5abcd2a0804e27e19d754853f82abf5c1b835f02 /src/flash | |
parent | ccc5c1642b32ab79d5ab315e4b308e53392a77c4 (diff) | |
download | riscv-openocd-fbea7d5d38d0dcbdd71cb574da9bd12c78b568cf.zip riscv-openocd-fbea7d5d38d0dcbdd71cb574da9bd12c78b568cf.tar.gz riscv-openocd-fbea7d5d38d0dcbdd71cb574da9bd12c78b568cf.tar.bz2 |
openocd: drop include of target_type.h
Few files include target_type.h even if it is not needed.
Drop the include.
Other files access directly to target type's name instead of using
the proper API target_type_name().
Use the API and drop the include.
Change-Id: I86c0e0bbad51db93500c0efa27b7d6f1a67a02c2
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8260
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/psoc6.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/flash/nor/psoc6.c b/src/flash/nor/psoc6.c index b7ba102..859b3e9 100644 --- a/src/flash/nor/psoc6.c +++ b/src/flash/nor/psoc6.c @@ -18,7 +18,6 @@ #include "target/target.h" #include "target/cortex_m.h" #include "target/breakpoints.h" -#include "target/target_type.h" #include "target/algorithm.h" /************************************************************************************************** |