summaryrefslogtreecommitdiff
path: root/drivers/console
diff options
context:
space:
mode:
authorDavid B. Kinder <david.b.kinder@intel.com>2017-01-18 17:01:01 -0800
committerKumar Gala <kumar.gala@linaro.org>2017-01-19 03:50:58 +0000
commitac74d8b652f602198fbcc9425029fd09caf73052 (patch)
treeb4116314ec004c89307974e781ed8ae65db5757a /drivers/console
parent811b3710ba493f018c29af1280b3d877c05483c4 (diff)
license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <david.b.kinder@intel.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'drivers/console')
-rw-r--r--drivers/console/Kconfig12
-rw-r--r--drivers/console/ipm_console_receiver.c12
-rw-r--r--drivers/console/ipm_console_sender.c12
-rw-r--r--drivers/console/ram_console.c12
-rw-r--r--drivers/console/rtt_console.c12
-rw-r--r--drivers/console/uart_console.c12
-rw-r--r--drivers/console/uart_pipe.c12
7 files changed, 7 insertions, 77 deletions
diff --git a/drivers/console/Kconfig b/drivers/console/Kconfig
index 637e13d5e..750712a52 100644
--- a/drivers/console/Kconfig
+++ b/drivers/console/Kconfig
@@ -3,17 +3,7 @@
#
# Copyright (c) 2014-2015 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
#
menuconfig CONSOLE
diff --git a/drivers/console/ipm_console_receiver.c b/drivers/console/ipm_console_receiver.c
index 2601e19b0..1a43008d3 100644
--- a/drivers/console/ipm_console_receiver.c
+++ b/drivers/console/ipm_console_receiver.c
@@ -3,17 +3,7 @@
/*
* Copyright (c) 2015 Intel Corporation
*
- * 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 <errno.h>
diff --git a/drivers/console/ipm_console_sender.c b/drivers/console/ipm_console_sender.c
index cc1559882..b12493ff8 100644
--- a/drivers/console/ipm_console_sender.c
+++ b/drivers/console/ipm_console_sender.c
@@ -3,17 +3,7 @@
/*
* Copyright (c) 2015 Intel Corporation
*
- * 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 <errno.h>
diff --git a/drivers/console/ram_console.c b/drivers/console/ram_console.c
index 83db8d1a2..308df468b 100644
--- a/drivers/console/ram_console.c
+++ b/drivers/console/ram_console.c
@@ -3,17 +3,7 @@
/*
* Copyright (c) 2015 Intel Corporation
*
- * 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/console/rtt_console.c b/drivers/console/rtt_console.c
index c2656ec07..beed41580 100644
--- a/drivers/console/rtt_console.c
+++ b/drivers/console/rtt_console.c
@@ -5,17 +5,7 @@
/*
* Copyright (c) 2016 Nordic Semiconductor ASA
*
- * 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/console/uart_console.c b/drivers/console/uart_console.c
index 85523c5a2..40bb42551 100644
--- a/drivers/console/uart_console.c
+++ b/drivers/console/uart_console.c
@@ -1,17 +1,7 @@
/*
* Copyright (c) 2011-2012, 2014-2015 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
*/
/**
diff --git a/drivers/console/uart_pipe.c b/drivers/console/uart_pipe.c
index d8a48b647..44f711e14 100644
--- a/drivers/console/uart_pipe.c
+++ b/drivers/console/uart_pipe.c
@@ -8,17 +8,7 @@
/*
* Copyright (c) 2015 Intel Corporation
*
- * 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 <kernel.h>