openocd: src/jtag: replace the GPL-2.0-or-later license tag
[openocd.git] / src / jtag / aice / aice_port.c
blob29188d84391cda88677fd22cfde23773849c1016
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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
11 #include <helper/log.h>
12 #include "aice_usb.h"
13 #include "aice_pipe.h"
14 #include "aice_port.h"
16 static const struct aice_port aice_ports[] = {
18 .name = "aice_usb",
19 .type = AICE_PORT_AICE_USB,
20 .api = &aice_usb_api,
23 .name = "aice_pipe",
24 .type = AICE_PORT_AICE_PIPE,
25 .api = &aice_pipe,
27 {.name = NULL, /* END OF TABLE */ },
30 /** */
31 const struct aice_port *aice_port_get_list(void)
33 return aice_ports;