From 8890b73b6ec4987e8fd918be345dd5e3821cc54a Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Thu, 19 Jan 2017 16:38:51 +0100 Subject: [PATCH] license: Replace Apache boilerplate with SPDX tag Apply JIRA: ZEP-1457 to STM32F3X family porting patchset. Change-Id: I352267a47847143e557a4016de12bb9a14a20067 Signed-off-by: Erwan Gouriou Signed-off-by: Kumar Gala --- .../soc/st_stm32/stm32f3/Kconfig.defconfig.series | 12 +----------- .../st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc | 12 +----------- .../st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 | 12 +----------- .../st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc | 12 +----------- arch/arm/soc/st_stm32/stm32f3/Kconfig.series | 12 +----------- arch/arm/soc/st_stm32/stm32f3/Kconfig.soc | 12 +----------- arch/arm/soc/st_stm32/stm32f3/Makefile | 14 ++------------ arch/arm/soc/st_stm32/stm32f3/flash_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f3/gpio_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f3/linker.ld | 12 +----------- arch/arm/soc/st_stm32/stm32f3/rcc_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc.c | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc.h | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc_config.c | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc_gpio.c | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc_irq.h | 12 +----------- arch/arm/soc/st_stm32/stm32f3/soc_registers.h | 12 +----------- boards/arm/nucleo_f334r8/Kconfig.board | 12 +----------- boards/arm/nucleo_f334r8/Kconfig.defconfig | 12 +----------- boards/arm/nucleo_f334r8/board.h | 12 +----------- boards/arm/stm32373c_eval/Kconfig.board | 12 +----------- boards/arm/stm32373c_eval/Kconfig.defconfig | 12 +----------- boards/arm/stm32373c_eval/board.h | 12 +----------- drivers/clock_control/Kconfig.stm32f3x | 12 +----------- drivers/clock_control/stm32f3x_clock.c | 12 +----------- drivers/flash/Kconfig.stm32f3x | 12 +----------- drivers/flash/flash_stm32f3x.c | 12 +----------- drivers/flash/flash_stm32f3x.h | 12 +----------- drivers/flash/flash_stm32f3x_priv.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c | 12 +----------- drivers/pinmux/stm32/pinmux_stm32f3.h | 12 +----------- .../drivers/clock_control/stm32f3_clock_control.h | 12 +----------- 34 files changed, 35 insertions(+), 375 deletions(-) diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series index 2aae657a2e9..8cecc5e8983 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if SOC_SERIES_STM32F3X diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc index 59d9271f72a..674a4a49d93 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if SOC_STM32F303XC diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 index ab0ac442ae3..aa248104492 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f334x8 @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if SOC_STM32F334X8 diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc index e6dcf95f6ea..64aa9472d1a 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if SOC_STM32F373XC diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.series b/arch/arm/soc/st_stm32/stm32f3/Kconfig.series index 5159aa09588..0754ea46be8 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.series +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # config SOC_SERIES_STM32F3X diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.soc b/arch/arm/soc/st_stm32/stm32f3/Kconfig.soc index d1ce7465566..2ec8d603cf4 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32f3/Kconfig.soc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # choice diff --git a/arch/arm/soc/st_stm32/stm32f3/Makefile b/arch/arm/soc/st_stm32/stm32f3/Makefile index 00e22c015a1..e146adf86b0 100644 --- a/arch/arm/soc/st_stm32/stm32f3/Makefile +++ b/arch/arm/soc/st_stm32/stm32f3/Makefile @@ -2,20 +2,10 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # obj-y += soc.o obj-$(CONFIG_PINMUX) += soc_config.o -obj-$(CONFIG_GPIO) += soc_gpio.o \ No newline at end of file +obj-$(CONFIG_GPIO) += soc_gpio.o diff --git a/arch/arm/soc/st_stm32/stm32f3/flash_registers.h b/arch/arm/soc/st_stm32/stm32f3/flash_registers.h index e8d294381d3..b61502fb4b0 100644 --- a/arch/arm/soc/st_stm32/stm32f3/flash_registers.h +++ b/arch/arm/soc/st_stm32/stm32f3/flash_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3X_FLASH_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f3/gpio_registers.h b/arch/arm/soc/st_stm32/stm32f3/gpio_registers.h index dfeaf41ea84..38c07cb68cd 100644 --- a/arch/arm/soc/st_stm32/stm32f3/gpio_registers.h +++ b/arch/arm/soc/st_stm32/stm32f3/gpio_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3X_GPIO_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f3/linker.ld b/arch/arm/soc/st_stm32/stm32f3/linker.ld index 220d80cc101..ba0abaf5051 100644 --- a/arch/arm/soc/st_stm32/stm32f3/linker.ld +++ b/arch/arm/soc/st_stm32/stm32f3/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014-2016 Wind River Systems, Inc. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include diff --git a/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h b/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h index 808a724abf9..ddaf629a7ed 100644 --- a/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3X_CLOCK_H_ diff --git a/arch/arm/soc/st_stm32/stm32f3/soc.c b/arch/arm/soc/st_stm32/stm32f3/soc.c index 936d441d257..eefb6827ca3 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc.c +++ b/arch/arm/soc/st_stm32/stm32f3/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f3/soc.h b/arch/arm/soc/st_stm32/stm32f3/soc.h index ed4227bf446..e6474735fbc 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc.h +++ b/arch/arm/soc/st_stm32/stm32f3/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f3/soc_config.c b/arch/arm/soc/st_stm32/stm32f3/soc_config.c index d22b3f9fd4d..60b0dae286d 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc_config.c +++ b/arch/arm/soc/st_stm32/stm32f3/soc_config.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include "soc.h" diff --git a/arch/arm/soc/st_stm32/stm32f3/soc_gpio.c b/arch/arm/soc/st_stm32/stm32f3/soc_gpio.c index 3d57542c3dc..2c9cbde175b 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc_gpio.c +++ b/arch/arm/soc/st_stm32/stm32f3/soc_gpio.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f3/soc_irq.h b/arch/arm/soc/st_stm32/stm32f3/soc_irq.h index 8e9c7286402..2ea24f97071 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc_irq.h +++ b/arch/arm/soc/st_stm32/stm32f3/soc_irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f3/soc_registers.h b/arch/arm/soc/st_stm32/stm32f3/soc_registers.h index 55ba8b21f6e..5c68c6cf397 100644 --- a/arch/arm/soc/st_stm32/stm32f3/soc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f3/soc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3X_SOC_REGISTERS_H_ diff --git a/boards/arm/nucleo_f334r8/Kconfig.board b/boards/arm/nucleo_f334r8/Kconfig.board index 3e785d63eb7..6c793657a45 100644 --- a/boards/arm/nucleo_f334r8/Kconfig.board +++ b/boards/arm/nucleo_f334r8/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # config BOARD_NUCLEO_F334R8 diff --git a/boards/arm/nucleo_f334r8/Kconfig.defconfig b/boards/arm/nucleo_f334r8/Kconfig.defconfig index ad66e68bb67..8eb43a58af0 100644 --- a/boards/arm/nucleo_f334r8/Kconfig.defconfig +++ b/boards/arm/nucleo_f334r8/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if BOARD_NUCLEO_F334R8 diff --git a/boards/arm/nucleo_f334r8/board.h b/boards/arm/nucleo_f334r8/board.h index 5cda560f5ac..97aa61ebbba 100644 --- a/boards/arm/nucleo_f334r8/board.h +++ b/boards/arm/nucleo_f334r8/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/stm32373c_eval/Kconfig.board b/boards/arm/stm32373c_eval/Kconfig.board index 99255be5bf1..7f4279415b7 100644 --- a/boards/arm/stm32373c_eval/Kconfig.board +++ b/boards/arm/stm32373c_eval/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Open-RnD Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # config BOARD_STM32373C_EVAL diff --git a/boards/arm/stm32373c_eval/Kconfig.defconfig b/boards/arm/stm32373c_eval/Kconfig.defconfig index 83a5e0c589e..64b4f02dc99 100644 --- a/boards/arm/stm32373c_eval/Kconfig.defconfig +++ b/boards/arm/stm32373c_eval/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Open-RnD Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if BOARD_STM32373C_EVAL diff --git a/boards/arm/stm32373c_eval/board.h b/boards/arm/stm32373c_eval/board.h index 69accaf85e4..c34998598ef 100644 --- a/boards/arm/stm32373c_eval/board.h +++ b/boards/arm/stm32373c_eval/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef __INC_BOARD_H diff --git a/drivers/clock_control/Kconfig.stm32f3x b/drivers/clock_control/Kconfig.stm32f3x index 3ca11c66cfb..e8fde609f11 100644 --- a/drivers/clock_control/Kconfig.stm32f3x +++ b/drivers/clock_control/Kconfig.stm32f3x @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if SOC_SERIES_STM32F3X diff --git a/drivers/clock_control/stm32f3x_clock.c b/drivers/clock_control/stm32f3x_clock.c index 8c21e850a3d..5b5221e5e15 100644 --- a/drivers/clock_control/stm32f3x_clock.c +++ b/drivers/clock_control/stm32f3x_clock.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/drivers/flash/Kconfig.stm32f3x b/drivers/flash/Kconfig.stm32f3x index 6b740019aad..6e5e375a060 100644 --- a/drivers/flash/Kconfig.stm32f3x +++ b/drivers/flash/Kconfig.stm32f3x @@ -2,17 +2,7 @@ # # Copyright (c) 2016 RnDity Sp. z o.o. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # if FLASH && SOC_SERIES_STM32F3X diff --git a/drivers/flash/flash_stm32f3x.c b/drivers/flash/flash_stm32f3x.c index 8ad980bbfc8..0b041c84b1d 100644 --- a/drivers/flash/flash_stm32f3x.c +++ b/drivers/flash/flash_stm32f3x.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include "flash_stm32f3x.h" diff --git a/drivers/flash/flash_stm32f3x.h b/drivers/flash/flash_stm32f3x.h index 7762bec61b7..e215332d725 100644 --- a/drivers/flash/flash_stm32f3x.h +++ b/drivers/flash/flash_stm32f3x.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef DRIVERS_FLASH_FLASH_STM32_H_ diff --git a/drivers/flash/flash_stm32f3x_priv.c b/drivers/flash/flash_stm32f3x_priv.c index 0434b15bea6..c11d54397c1 100644 --- a/drivers/flash/flash_stm32f3x_priv.c +++ b/drivers/flash/flash_stm32f3x_priv.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include "flash_stm32f3x.h" diff --git a/drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c b/drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c index 969dd50802f..59feda59dcf 100644 --- a/drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c +++ b/drivers/pinmux/stm32/pinmux_board_nucleo_f334r8.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include diff --git a/drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c b/drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c index ccf2688afdf..367bee696b9 100644 --- a/drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c +++ b/drivers/pinmux/stm32/pinmux_board_stm3210c_eval.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include diff --git a/drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c b/drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c index dd95f880c12..da6488f1d14 100644 --- a/drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c +++ b/drivers/pinmux/stm32/pinmux_board_stm32373c_eval.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #include diff --git a/drivers/pinmux/stm32/pinmux_stm32f3.h b/drivers/pinmux/stm32/pinmux_stm32f3.h index aecc1f1c0ec..b80d3b1a042 100644 --- a/drivers/pinmux/stm32/pinmux_stm32f3.h +++ b/drivers/pinmux/stm32/pinmux_stm32f3.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3_PINMUX_H_ diff --git a/include/drivers/clock_control/stm32f3_clock_control.h b/include/drivers/clock_control/stm32f3_clock_control.h index 31f7eaf9988..91103cc55c0 100644 --- a/include/drivers/clock_control/stm32f3_clock_control.h +++ b/include/drivers/clock_control/stm32f3_clock_control.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 RnDity Sp. z o.o. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F3_CLOCK_CONTROL_H_ #define _STM32F3_CLOCK_CONTROL_H_