summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorErwan Gouriou <erwan.gouriou@linaro.org>2017-01-19 16:38:51 +0100
committerKumar Gala <kumar.gala@linaro.org>2017-01-23 15:15:53 -0600
commit8890b73b6ec4987e8fd918be345dd5e3821cc54a (patch)
tree9217dcc5f73daf23c96c585e366545390f5cbeb6 /arch
parenta0dcfcce9778abb6d2beb58d31e2a966c0bdd31b (diff)
license: Replace Apache boilerplate with SPDX tag
Apply JIRA: ZEP-1457 to STM32F3X family porting patchset. Change-Id: I352267a47847143e557a4016de12bb9a14a20067 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f303xc12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f334x812
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.stm32f373xc12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.series12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Kconfig.soc12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/Makefile14
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/flash_registers.h12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/gpio_registers.h12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/linker.ld12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/rcc_registers.h12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc.c12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc.h12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc_config.c12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc_gpio.c12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc_irq.h12
-rw-r--r--arch/arm/soc/st_stm32/stm32f3/soc_registers.h12
17 files changed, 18 insertions, 188 deletions
diff --git a/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f3/Kconfig.defconfig.series
index 2aae657a2..8cecc5e89 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 59d9271f7..674a4a49d 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 ab0ac442a..aa2481044 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 e6dcf95f6..64aa9472d 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 5159aa095..0754ea46b 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 d1ce74655..2ec8d603c 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 00e22c015..e146adf86 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 e8d294381..b61502fb4 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 dfeaf41ea..38c07cb68 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 220d80cc1..ba0abaf50 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 <arch/arm/cortex_m/scripts/linker.ld>
diff --git a/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h b/arch/arm/soc/st_stm32/stm32f3/rcc_registers.h
index 808a724ab..ddaf629a7 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 936d441d2..eefb6827c 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 ed4227bf4..e6474735f 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 d22b3f9fd..60b0dae28 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 3d57542c3..2c9cbde17 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 8e9c72864..2ea24f970 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 55ba8b21f..5c68c6cf3 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_