X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftransport%2Ftransport.h;h=140ef503d7e0f2e3e6ec0b98fed62ef6ae9e23ec;hb=HEAD;hp=4effca5d5e2f1254d08076ef2d7de9d6dad93e29;hpb=a61ec3c1d73dc0c9915662f7b9383b6f786a5fea;p=openocd.git diff --git a/src/transport/transport.h b/src/transport/transport.h index 4effca5d5e..00d8b07e11 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -1,19 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /* * Copyright (c) 2010 by David Brownell * Copyright (C) 2011 Tomasz Boleslaw CEDRO (http://www.tomek.cedro.info) - * - * 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 OPENOCD_TRANSPORT_TRANSPORT_H @@ -92,12 +81,11 @@ COMMAND_HELPER(transport_list_parse, char ***vector); int allow_transports(struct command_context *ctx, const char * const *vector); -bool transports_are_declared(void); - bool transport_is_jtag(void); bool transport_is_swd(void); bool transport_is_dapdirect_jtag(void); bool transport_is_dapdirect_swd(void); +bool transport_is_swim(void); #if BUILD_HLADAPTER bool transport_is_hla(void);