X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftarget%2Farmv7a_cache.h;h=17ec5e6de1fd6c7f9f9a67a9b71aa28133a85125;hb=HEAD;hp=e0ebb618b472fa2e0f092b293d6cd3f605dd2bda;hpb=f24aa404ba14bb048f55752b241a6a8185f77b3f;p=fw%2Fopenocd diff --git a/src/target/armv7a_cache.h b/src/target/armv7a_cache.h index e0ebb618b..17ec5e6de 100644 --- a/src/target/armv7a_cache.h +++ b/src/target/armv7a_cache.h @@ -1,20 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /*************************************************************************** * Copyright (C) 2015 Oleksij Rempel * * linux@rempel-privat.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. * ***************************************************************************/ -#ifndef ARM7A_CACHE_H -#define ARM7A_CACHE_H +#ifndef OPENOCD_TARGET_ARM7A_CACHE_H +#define OPENOCD_TARGET_ARM7A_CACHE_H #include "arm_jtag.h" #include "armv7a_cache_l2x.h" @@ -22,7 +14,7 @@ int armv7a_l1_d_cache_clean_virt(struct target *target, uint32_t virt, unsigned int size); int armv7a_l1_d_cache_inval_virt(struct target *target, uint32_t virt, - unsigned int size); + uint32_t size); int armv7a_l1_d_cache_flush_virt(struct target *target, uint32_t virt, unsigned int size); int armv7a_l1_i_cache_inval_all(struct target *target); @@ -40,4 +32,4 @@ extern const struct command_registration arm7a_cache_command_handlers[]; #define CACHE_LEVEL_HAS_D_CACHE 0x2 #define CACHE_LEVEL_HAS_I_CACHE 0x1 -#endif +#endif /* OPENOCD_TARGET_ARM7A_CACHE_H */