X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpld%2Fxilinx_bit.h;h=e30ed23377f21272470013340d30478b62f892ca;hb=97f47e8c9486377affac7af3c3d260613c6d06f2;hp=bb94bd7e0cc6f1d9d1919e55665742b0938e48f5;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;p=fw%2Fopenocd diff --git a/src/pld/xilinx_bit.h b/src/pld/xilinx_bit.h index bb94bd7e0..e30ed2337 100644 --- a/src/pld/xilinx_bit.h +++ b/src/pld/xilinx_bit.h @@ -1,23 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /*************************************************************************** * Copyright (C) 2006 by Dominic Rath * * Dominic.Rath@gmx.de * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * 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, see . * ***************************************************************************/ -#ifndef XILINX_BIT_H -#define XILINX_BIT_H +#ifndef OPENOCD_PLD_XILINX_BIT_H +#define OPENOCD_PLD_XILINX_BIT_H + +#include "helper/types.h" struct xilinx_bit_file { uint8_t unknown_header[13]; @@ -31,4 +22,4 @@ struct xilinx_bit_file { int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename); -#endif /* XILINX_BIT_H */ +#endif /* OPENOCD_PLD_XILINX_BIT_H */