X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fnon_cfi.h;h=c411cb885253691c1b81ea054e47fd0a67a64388;hp=021933356d294186f9b3cb844328ec09490eafc2;hb=b9ee6dd4655310c0553f4eef853213b11c1df28f;hpb=f3e6f584f12dbde9ba9806ed4a412db0524d438c diff --git a/src/flash/nor/non_cfi.h b/src/flash/nor/non_cfi.h index 021933356d..c411cb8852 100644 --- a/src/flash/nor/non_cfi.h +++ b/src/flash/nor/non_cfi.h @@ -13,15 +13,13 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef NON_CFI_H -#define NON_CFI_H -struct non_cfi -{ +#ifndef OPENOCD_FLASH_NOR_NON_CFI_H +#define OPENOCD_FLASH_NOR_NON_CFI_H + +struct non_cfi { uint16_t mfr; uint16_t id; uint16_t pri_id; @@ -35,4 +33,4 @@ struct non_cfi void cfi_fixup_non_cfi(struct flash_bank *bank); -#endif /* NON_CFI_H */ +#endif /* OPENOCD_FLASH_NOR_NON_CFI_H */