openocd: fix SPDX tag format for files .c
[fw/openocd] / src / jtag / aice / aice_port.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 /***************************************************************************
4  *   Copyright (C) 2013 by Andes Technology                                *
5  *   Hsiangkai Wang <hkwang@andestech.com>                                 *
6  ***************************************************************************/
7 #ifdef HAVE_CONFIG_H
8 #include "config.h"
9 #endif
10
11 #include <helper/log.h>
12 #include "aice_usb.h"
13 #include "aice_pipe.h"
14 #include "aice_port.h"
15
16 static const struct aice_port aice_ports[] = {
17         {
18                 .name = "aice_usb",
19                 .type = AICE_PORT_AICE_USB,
20                 .api = &aice_usb_api,
21         },
22         {
23                 .name = "aice_pipe",
24                 .type = AICE_PORT_AICE_PIPE,
25                 .api = &aice_pipe,
26         },
27         {.name = NULL, /* END OF TABLE */ },
28 };
29
30 /** */
31 const struct aice_port *aice_port_get_list(void)
32 {
33         return aice_ports;
34 }