X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fflash.h;h=8cd50f68253cade7cd92c5afa336ebb2d9a963d6;hp=5e31c48bcecb5775a35b5e193360db463f8b0fb2;hb=d9dc604a4d790f557a7ba502babdabffa27eaa17;hpb=c6dd6a576d0b680f67ad9fd8af12fb342b26c83d diff --git a/src/flash/flash.h b/src/flash/flash.h index 5e31c48bce..8cd50f6825 100644 --- a/src/flash/flash.h +++ b/src/flash/flash.h @@ -26,8 +26,7 @@ #ifndef FLASH_H #define FLASH_H -#include -#include +#include struct image; @@ -349,13 +348,4 @@ struct flash_bank *get_flash_bank_by_num_noprobe(int num); */ struct flash_bank *get_flash_bank_by_addr(struct target *target, uint32_t addr); -#define ERROR_FLASH_BANK_INVALID (-900) -#define ERROR_FLASH_SECTOR_INVALID (-901) -#define ERROR_FLASH_OPERATION_FAILED (-902) -#define ERROR_FLASH_DST_OUT_OF_BANK (-903) -#define ERROR_FLASH_DST_BREAKS_ALIGNMENT (-904) -#define ERROR_FLASH_BUSY (-905) -#define ERROR_FLASH_SECTOR_NOT_ERASED (-906) -#define ERROR_FLASH_BANK_NOT_PROBED (-907) - #endif /* FLASH_H */