X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fspi.h;h=a1849983f26db9e16603cb22dfdfc2ad6d3a7a0b;hp=73ec17e506384fdb3492f60bc243365e7b26a451;hb=refs%2Fchanges%2F56%2F2956%2F5;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69 diff --git a/src/flash/nor/spi.h b/src/flash/nor/spi.h index 73ec17e506..a1849983f2 100644 --- a/src/flash/nor/spi.h +++ b/src/flash/nor/spi.h @@ -19,6 +19,9 @@ * along with this program. If not, see . * ***************************************************************************/ +#ifndef OPENOCD_FLASH_NOR_SPI_H +#define OPENOCD_FLASH_NOR_SPI_H + /* data structure to maintain flash ids from different vendors */ struct flash_device { char *name; @@ -54,3 +57,5 @@ extern const struct flash_device flash_devices[]; #define SPIFLASH_PAGE_PROGRAM 0x02 /* Page Program */ #define SPIFLASH_FAST_READ 0x0B /* Fast Read */ #define SPIFLASH_READ 0x03 /* Normal Read */ + +#endif /* OPENOCD_FLASH_NOR_SPI_H */