openocd/src/pld/xilinx_bit.h
Antonio Borneo b86f296ac6 openocd: src: replace the GPL-2.0-or-later license tag
Replace the FSF boilerplate with the SPDX tag.

The SPDX tag on files *.c is incorrect, as it should use the C99
single line comment using '//'. But current checkpatch doesn't
allow C99 comments, so keep using standard C comments, by now.

Change-Id: I30cd66ac7d737f1973c68fdbb841ffcf00e917c4
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7072
Tested-by: jenkins
2022-07-23 13:59:13 +00:00

26 lines
742 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2006 by Dominic Rath *
* Dominic.Rath@gmx.de *
***************************************************************************/
#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];
uint8_t *source_file;
uint8_t *part_name;
uint8_t *date;
uint8_t *time;
uint32_t length;
uint8_t *data;
};
int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename);
#endif /* OPENOCD_PLD_XILINX_BIT_H */