From ac74d8b652f602198fbcc9425029fd09caf73052 Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Wed, 18 Jan 2017 17:01:01 -0800 Subject: [PATCH] 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 Signed-off-by: Kumar Gala --- Kconfig | 12 +----------- Kconfig.zephyr | 12 +----------- arch/Kconfig | 12 +----------- arch/arc/Kconfig | 12 +----------- arch/arc/core/atomic.S | 12 +----------- arch/arc/core/cache.c | 12 +----------- arch/arc/core/cpu_idle.S | 12 +----------- arch/arc/core/fast_irq.S | 12 +----------- arch/arc/core/fatal.c | 12 +----------- arch/arc/core/fault.c | 12 +----------- arch/arc/core/fault_s.S | 12 +----------- arch/arc/core/irq_manage.c | 12 +----------- arch/arc/core/irq_offload.c | 12 +----------- arch/arc/core/irq_vector_table.c | 12 +----------- arch/arc/core/isr_wrapper.S | 12 +----------- arch/arc/core/offsets/offsets.c | 12 +----------- arch/arc/core/prep_c.c | 12 +----------- arch/arc/core/regular_irq.S | 12 +----------- arch/arc/core/reset.S | 12 +----------- arch/arc/core/sw_isr_table.S | 12 +----------- arch/arc/core/swap.S | 12 +----------- arch/arc/core/sys_fatal_error_handler.c | 12 +----------- arch/arc/core/thread.c | 12 +----------- arch/arc/core/thread_entry_wrapper.S | 12 +----------- arch/arc/core/vector_table.c | 12 +----------- arch/arc/include/kernel_arch_data.h | 12 +----------- arch/arc/include/kernel_arch_func.h | 12 +----------- arch/arc/include/kernel_event_logger_arch.h | 12 +----------- arch/arc/include/offsets_short_arch.h | 12 +----------- arch/arc/include/swap_macros.h | 12 +----------- arch/arc/include/v2/cache.h | 12 +----------- arch/arc/include/v2/irq.h | 12 +----------- arch/arc/include/vector_table.h | 12 +----------- arch/arc/soc/em11d/Kconfig.defconfig | 12 +----------- arch/arc/soc/em11d/linker.ld | 12 +----------- arch/arc/soc/em11d/soc.c | 12 +----------- arch/arc/soc/em11d/soc.h | 12 +----------- arch/arc/soc/em11d/soc_config.c | 12 +----------- arch/arc/soc/em7d/Kconfig.defconfig | 12 +----------- arch/arc/soc/em7d/linker.ld | 12 +----------- arch/arc/soc/em7d/soc.c | 12 +----------- arch/arc/soc/em7d/soc.h | 12 +----------- arch/arc/soc/em7d/soc_config.c | 12 +----------- arch/arc/soc/em9d/Kconfig.defconfig | 12 +----------- arch/arc/soc/em9d/linker.ld | 12 +----------- arch/arc/soc/em9d/soc.c | 12 +----------- arch/arc/soc/em9d/soc.h | 12 +----------- arch/arc/soc/em9d/soc_config.c | 12 +----------- arch/arc/soc/quark_se_c1000_ss/Kconfig | 12 +----------- arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig | 12 +----------- arch/arc/soc/quark_se_c1000_ss/linker.ld | 12 +----------- arch/arc/soc/quark_se_c1000_ss/power.c | 12 +----------- arch/arc/soc/quark_se_c1000_ss/soc.c | 12 +----------- arch/arc/soc/quark_se_c1000_ss/soc.h | 12 +----------- arch/arc/soc/quark_se_c1000_ss/soc_config.c | 12 +----------- arch/arc/soc/quark_se_c1000_ss/soc_power.S | 12 +----------- arch/arc/soc/quark_se_c1000_ss/soc_power.h | 12 +----------- arch/arm/Kconfig | 12 +----------- arch/arm/core/Kconfig | 12 +----------- arch/arm/core/__aeabi_atexit.c | 12 +----------- arch/arm/core/cortex_m/Kconfig | 12 +----------- arch/arm/core/cortex_m/exc_manage.c | 12 +----------- arch/arm/core/cortex_m/irq_vector_table.c | 12 +----------- arch/arm/core/cortex_m/nmi.c | 12 +----------- arch/arm/core/cortex_m/nmi_on_reset.S | 12 +----------- arch/arm/core/cortex_m/prep_c.c | 12 +----------- arch/arm/core/cortex_m/reset.S | 12 +----------- arch/arm/core/cortex_m/scb.c | 12 +----------- arch/arm/core/cortex_m/scs.c | 12 +----------- arch/arm/core/cortex_m/sw_isr_table.S | 12 +----------- arch/arm/core/cortex_m/vector_table.S | 12 +----------- arch/arm/core/cortex_m/vector_table.h | 12 +----------- arch/arm/core/cpu_idle.S | 12 +----------- arch/arm/core/exc_exit.S | 12 +----------- arch/arm/core/fatal.c | 12 +----------- arch/arm/core/fault.c | 12 +----------- arch/arm/core/fault_s.S | 12 +----------- arch/arm/core/irq_init.c | 12 +----------- arch/arm/core/irq_manage.c | 12 +----------- arch/arm/core/irq_offload.c | 12 +----------- arch/arm/core/isr_wrapper.S | 12 +----------- arch/arm/core/offsets/offsets.c | 12 +----------- arch/arm/core/swap.S | 12 +----------- arch/arm/core/sys_fatal_error_handler.c | 12 +----------- arch/arm/core/thread.c | 12 +----------- arch/arm/core/thread_abort.c | 12 +----------- arch/arm/include/asm_inline.h | 12 +----------- arch/arm/include/cortex_m/asm_inline_gcc.h | 12 +----------- arch/arm/include/cortex_m/exc.h | 12 +----------- arch/arm/include/cortex_m/stack.h | 12 +----------- arch/arm/include/kernel_arch_data.h | 12 +----------- arch/arm/include/kernel_arch_func.h | 12 +----------- arch/arm/include/kernel_event_logger_arch.h | 12 +----------- arch/arm/include/offsets_short_arch.h | 12 +----------- arch/arm/soc/arm/Kbuild | 12 +----------- arch/arm/soc/arm/Kconfig | 12 +----------- arch/arm/soc/arm/Kconfig.defconfig | 12 +----------- arch/arm/soc/arm/Kconfig.soc | 12 +----------- arch/arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 | 12 +----------- arch/arm/soc/arm/beetle/Kconfig.defconfig.series | 12 +----------- arch/arm/soc/arm/beetle/Kconfig.series | 12 +----------- arch/arm/soc/arm/beetle/Kconfig.soc | 12 +----------- arch/arm/soc/arm/beetle/Makefile | 12 +----------- arch/arm/soc/arm/beetle/linker.ld | 12 +----------- arch/arm/soc/arm/beetle/power.c | 12 +----------- arch/arm/soc/arm/beetle/soc.c | 12 +----------- arch/arm/soc/arm/beetle/soc.h | 12 +----------- arch/arm/soc/arm/beetle/soc_irq.h | 12 +----------- arch/arm/soc/arm/beetle/soc_pins.h | 12 +----------- arch/arm/soc/arm/beetle/soc_pll.h | 12 +----------- arch/arm/soc/arm/beetle/soc_power.h | 12 +----------- arch/arm/soc/arm/beetle/soc_registers.h | 12 +----------- arch/arm/soc/atmel_sam3/Kconfig | 12 +----------- arch/arm/soc/atmel_sam3/Kconfig.defconfig | 12 +----------- arch/arm/soc/atmel_sam3/linker.ld | 12 +----------- arch/arm/soc/atmel_sam3/soc.c | 12 +----------- arch/arm/soc/atmel_sam3/soc.h | 12 +----------- arch/arm/soc/atmel_sam3/soc_registers.h | 12 +----------- arch/arm/soc/nordic_nrf5/Kconfig | 12 +----------- arch/arm/soc/nordic_nrf5/Kconfig.defconfig | 12 +----------- arch/arm/soc/nordic_nrf5/Kconfig.soc | 12 +----------- arch/arm/soc/nordic_nrf5/include/nrf5_common.h | 12 +----------- .../nrf51/Kconfig.defconfig.nrf51822_QFAA | 12 +----------- .../nrf51/Kconfig.defconfig.nrf51822_QFAB | 12 +----------- .../nrf51/Kconfig.defconfig.nrf51822_QFAC | 12 +----------- .../soc/nordic_nrf5/nrf51/Kconfig.defconfig.series | 12 +----------- arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series | 12 +----------- arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc | 12 +----------- arch/arm/soc/nordic_nrf5/nrf51/linker.ld | 12 +----------- arch/arm/soc/nordic_nrf5/nrf51/soc.c | 12 +----------- arch/arm/soc/nordic_nrf5/nrf51/soc.h | 12 +----------- .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 | 12 +----------- .../nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 | 12 +----------- .../soc/nordic_nrf5/nrf52/Kconfig.defconfig.series | 12 +----------- arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series | 12 +----------- arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc | 12 +----------- arch/arm/soc/nordic_nrf5/nrf52/linker.ld | 12 +----------- arch/arm/soc/nordic_nrf5/nrf52/soc.c | 12 +----------- arch/arm/soc/nordic_nrf5/nrf52/soc.h | 12 +----------- arch/arm/soc/nxp_kinetis/Kconfig | 12 +----------- arch/arm/soc/nxp_kinetis/Kconfig.soc | 12 +----------- .../soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 | 12 +----------- .../soc/nxp_kinetis/k6x/Kconfig.defconfig.series | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/Kconfig.series | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/linker.ld | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/soc.c | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/soc.h | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/soc_config.c | 12 +----------- arch/arm/soc/nxp_kinetis/k6x/wdog.S | 12 +----------- arch/arm/soc/st_stm32/Kconfig | 12 +----------- arch/arm/soc/st_stm32/Kconfig.soc | 12 +----------- .../soc/st_stm32/stm32f1/Kconfig.defconfig.series | 12 +----------- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb | 12 +----------- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe | 12 +----------- .../st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc | 12 +----------- arch/arm/soc/st_stm32/stm32f1/Kconfig.series | 12 +----------- arch/arm/soc/st_stm32/stm32f1/Kconfig.soc | 12 +----------- arch/arm/soc/st_stm32/stm32f1/flash_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f1/gpio_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f1/linker.ld | 12 +----------- arch/arm/soc/st_stm32/stm32f1/rcc_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc.c | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc.h | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc_config.c | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc_gpio.c | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc_irq.h | 12 +----------- arch/arm/soc/st_stm32/stm32f1/soc_registers.h | 12 +----------- .../soc/st_stm32/stm32f4/Kconfig.defconfig.series | 12 +----------- .../st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe | 12 +----------- .../st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe | 12 +----------- arch/arm/soc/st_stm32/stm32f4/Kconfig.series | 12 +----------- arch/arm/soc/st_stm32/stm32f4/Kconfig.soc | 12 +----------- arch/arm/soc/st_stm32/stm32f4/flash_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f4/gpio_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f4/linker.ld | 12 +----------- arch/arm/soc/st_stm32/stm32f4/rcc_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc.c | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc.h | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc_gpio.c | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc_irq.h | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc_pinmux.c | 12 +----------- arch/arm/soc/st_stm32/stm32f4/soc_registers.h | 12 +----------- .../soc/st_stm32/stm32l4/Kconfig.defconfig.series | 12 +----------- .../st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx | 12 +----------- arch/arm/soc/st_stm32/stm32l4/Kconfig.series | 12 +----------- arch/arm/soc/st_stm32/stm32l4/Kconfig.soc | 12 +----------- arch/arm/soc/st_stm32/stm32l4/flash_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/linker.ld | 12 +----------- arch/arm/soc/st_stm32/stm32l4/rcc_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc.c | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc_gpio.c | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc_irq.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc_pinmux.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/soc_registers.h | 12 +----------- arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h | 12 +----------- arch/arm/soc/ti_lm3s6965/Kconfig | 12 +----------- arch/arm/soc/ti_lm3s6965/Kconfig.defconfig | 12 +----------- arch/arm/soc/ti_lm3s6965/linker.ld | 12 +----------- arch/arm/soc/ti_lm3s6965/scp.c | 12 +----------- arch/arm/soc/ti_lm3s6965/scp.h | 12 +----------- arch/arm/soc/ti_lm3s6965/soc.c | 12 +----------- arch/arm/soc/ti_lm3s6965/soc.h | 12 +----------- arch/arm/soc/ti_lm3s6965/soc_config.c | 12 +----------- arch/arm/soc/ti_simplelink/cc32xx/soc.c | 12 +----------- arch/arm/soc/ti_simplelink/cc32xx/soc.h | 12 +----------- arch/nios2/Kconfig | 12 +----------- arch/nios2/core/cache.c | 12 +----------- arch/nios2/core/cpu_idle.c | 12 +----------- arch/nios2/core/crt0.S | 12 +----------- arch/nios2/core/exception.S | 12 +----------- arch/nios2/core/fatal.c | 12 +----------- arch/nios2/core/irq_manage.c | 12 +----------- arch/nios2/core/irq_offload.c | 12 +----------- arch/nios2/core/offsets/offsets.c | 12 +----------- arch/nios2/core/prep_c.c | 12 +----------- arch/nios2/core/reset.S | 12 +----------- arch/nios2/core/sw_isr_table.S | 12 +----------- arch/nios2/core/swap.S | 12 +----------- arch/nios2/core/thread.c | 12 +----------- arch/nios2/include/kernel_arch_data.h | 12 +----------- arch/nios2/include/kernel_arch_func.h | 12 +----------- arch/nios2/include/kernel_event_logger_arch.h | 12 +----------- arch/nios2/include/offsets_short_arch.h | 12 +----------- arch/nios2/soc/nios2-qemu/include/layout.h | 12 +----------- arch/nios2/soc/nios2-qemu/linker.ld | 12 +----------- arch/nios2/soc/nios2f-zephyr/include/layout.h | 12 +----------- arch/nios2/soc/nios2f-zephyr/linker.ld | 12 +----------- arch/nios2/soc/nios2f-zephyr/soc.h | 12 +----------- arch/riscv32/Kconfig | 12 +----------- arch/riscv32/core/cpu_idle.c | 12 +----------- arch/riscv32/core/fatal.c | 12 +----------- arch/riscv32/core/irq_manage.c | 12 +----------- arch/riscv32/core/irq_offload.c | 12 +----------- arch/riscv32/core/isr.S | 12 +----------- arch/riscv32/core/offsets/offsets.c | 12 +----------- arch/riscv32/core/prep_c.c | 12 +----------- arch/riscv32/core/reset.S | 12 +----------- arch/riscv32/core/sw_isr_table.S | 12 +----------- arch/riscv32/core/swap.S | 12 +----------- arch/riscv32/core/thread.c | 12 +----------- arch/riscv32/include/kernel_arch_data.h | 12 +----------- arch/riscv32/include/kernel_arch_func.h | 12 +----------- arch/riscv32/include/kernel_event_logger_arch.h | 12 +----------- arch/riscv32/include/offsets_short_arch.h | 12 +----------- arch/riscv32/soc/pulpino/linker.ld | 12 +----------- arch/riscv32/soc/pulpino/pulpino_idle.c | 12 +----------- arch/riscv32/soc/pulpino/pulpino_irq.c | 12 +----------- arch/riscv32/soc/pulpino/soc.h | 12 +----------- arch/riscv32/soc/pulpino/soc_irq.S | 12 +----------- arch/riscv32/soc/pulpino/vector.S | 12 +----------- arch/riscv32/soc/riscv32-qemu/linker.ld | 12 +----------- arch/riscv32/soc/riscv32-qemu/qemu_irq.c | 12 +----------- arch/riscv32/soc/riscv32-qemu/soc.h | 12 +----------- arch/riscv32/soc/riscv32-qemu/soc_irq.S | 12 +----------- arch/riscv32/soc/riscv32-qemu/vector.S | 12 +----------- arch/x86/Kconfig | 12 +----------- arch/x86/core/Kconfig | 12 +----------- arch/x86/core/cache.c | 12 +----------- arch/x86/core/cache_s.S | 12 +----------- arch/x86/core/cpuhalt.c | 12 +----------- arch/x86/core/crt0.S | 12 +----------- arch/x86/core/debug/debug_frames.c | 12 +----------- arch/x86/core/excstub.S | 12 +----------- arch/x86/core/fatal.c | 12 +----------- arch/x86/core/float.c | 12 +----------- arch/x86/core/gdt.c | 12 +----------- arch/x86/core/intstub.S | 12 +----------- arch/x86/core/irq_manage.c | 12 +----------- arch/x86/core/irq_offload.c | 12 +----------- arch/x86/core/msr.c | 12 +----------- arch/x86/core/offsets/offsets.c | 12 +----------- arch/x86/core/reboot_rst_cnt.c | 12 +----------- arch/x86/core/swap.S | 12 +----------- arch/x86/core/sys_fatal_error_handler.c | 12 +----------- arch/x86/core/thread.c | 12 +----------- arch/x86/debug/gdb_arch.c | 12 +----------- arch/x86/debug/gdb_dbg_regs.S | 12 +----------- arch/x86/include/asm_inline.h | 12 +----------- arch/x86/include/asm_inline_gcc.h | 12 +----------- arch/x86/include/cache_private.h | 12 +----------- arch/x86/include/debug/gdb_arch.h | 12 +----------- arch/x86/include/exception.h | 12 +----------- arch/x86/include/kernel_arch_data.h | 12 +----------- arch/x86/include/kernel_arch_func.h | 12 +----------- arch/x86/include/kernel_event_logger_arch.h | 12 +----------- arch/x86/include/offsets_short_arch.h | 12 +----------- arch/x86/include/swapstk.h | 12 +----------- arch/x86/soc/atom/Kconfig.defconfig | 12 +----------- arch/x86/soc/atom/linker.ld | 12 +----------- arch/x86/soc/atom/soc.c | 12 +----------- arch/x86/soc/atom/soc.h | 12 +----------- arch/x86/soc/ia32/Kconfig.defconfig | 12 +----------- arch/x86/soc/ia32/linker.ld | 12 +----------- arch/x86/soc/ia32/soc.c | 12 +----------- arch/x86/soc/ia32/soc.h | 12 +----------- arch/x86/soc/intel_quark/Kconfig | 12 +----------- arch/x86/soc/intel_quark/Kconfig.soc | 12 +----------- .../quark_d2000/Kconfig.defconfig.quark_d2000 | 12 +----------- .../quark_d2000/Kconfig.defconfig.series | 12 +----------- arch/x86/soc/intel_quark/quark_d2000/Kconfig.series | 12 +----------- arch/x86/soc/intel_quark/quark_d2000/linker.ld | 12 +----------- arch/x86/soc/intel_quark/quark_d2000/soc.h | 12 +----------- arch/x86/soc/intel_quark/quark_se/Kconfig | 12 +----------- .../intel_quark/quark_se/Kconfig.defconfig.curie | 12 +----------- .../quark_se/Kconfig.defconfig.quark_se_c1000 | 12 +----------- .../intel_quark/quark_se/Kconfig.defconfig.series | 12 +----------- arch/x86/soc/intel_quark/quark_se/Kconfig.series | 12 +----------- arch/x86/soc/intel_quark/quark_se/Kconfig.soc | 12 +----------- arch/x86/soc/intel_quark/quark_se/eoi.c | 12 +----------- arch/x86/soc/intel_quark/quark_se/linker.ld | 12 +----------- arch/x86/soc/intel_quark/quark_se/power.c | 12 +----------- arch/x86/soc/intel_quark/quark_se/shared_mem.h | 12 +----------- arch/x86/soc/intel_quark/quark_se/soc.c | 12 +----------- arch/x86/soc/intel_quark/quark_se/soc.h | 12 +----------- arch/x86/soc/intel_quark/quark_se/soc_config.c | 12 +----------- arch/x86/soc/intel_quark/quark_se/soc_power.S | 12 +----------- arch/x86/soc/intel_quark/quark_se/soc_power.h | 12 +----------- .../quark_x1000/Kconfig.defconfig.quark_x1000 | 12 +----------- .../quark_x1000/Kconfig.defconfig.series | 12 +----------- arch/x86/soc/intel_quark/quark_x1000/linker.ld | 12 +----------- arch/x86/soc/intel_quark/quark_x1000/soc.c | 12 +----------- arch/x86/soc/intel_quark/quark_x1000/soc.h | 12 +----------- boards/arc/arduino_101_sss/board.h | 12 +----------- boards/arc/em_starterkit/Kconfig.board | 12 +----------- boards/arc/em_starterkit/board.h | 12 +----------- boards/arc/quark_se_c1000_ss_devboard/board.h | 12 +----------- boards/arm/96b_carbon/Kconfig.board | 12 +----------- boards/arm/96b_carbon/Kconfig.defconfig | 12 +----------- boards/arm/96b_carbon/board.h | 12 +----------- boards/arm/96b_nitrogen/Kconfig | 12 +----------- boards/arm/96b_nitrogen/Kconfig.board | 12 +----------- boards/arm/96b_nitrogen/Kconfig.defconfig | 12 +----------- boards/arm/96b_nitrogen/board.h | 12 +----------- boards/arm/arduino_101_ble/Kconfig.board | 12 +----------- boards/arm/arduino_101_ble/Kconfig.defconfig | 12 +----------- boards/arm/arduino_101_ble/board.h | 12 +----------- boards/arm/arduino_due/board.h | 12 +----------- boards/arm/arduino_due/pinmux.c | 12 +----------- boards/arm/bbc_microbit/Kconfig.board | 12 +----------- boards/arm/bbc_microbit/Kconfig.defconfig | 12 +----------- boards/arm/bbc_microbit/board.h | 12 +----------- boards/arm/cc3200_launchxl/board.h | 12 +----------- boards/arm/frdm_k64f/Kconfig.defconfig | 12 +----------- boards/arm/frdm_k64f/board.h | 12 +----------- boards/arm/frdm_k64f/pinmux.c | 12 +----------- boards/arm/hexiwear_k64/Kconfig.board | 12 +----------- boards/arm/hexiwear_k64/Kconfig.defconfig | 12 +----------- boards/arm/hexiwear_k64/Makefile | 12 +----------- boards/arm/hexiwear_k64/board.h | 12 +----------- boards/arm/hexiwear_k64/pinmux.c | 12 +----------- boards/arm/nrf51_blenano/Kconfig.board | 12 +----------- boards/arm/nrf51_blenano/Kconfig.defconfig | 12 +----------- boards/arm/nrf51_blenano/board.h | 12 +----------- boards/arm/nrf51_pca10028/Kconfig.board | 12 +----------- boards/arm/nrf51_pca10028/Kconfig.defconfig | 12 +----------- boards/arm/nrf51_pca10028/board.h | 12 +----------- boards/arm/nrf52840_pca10056/Kconfig | 12 +----------- boards/arm/nrf52840_pca10056/Kconfig.board | 12 +----------- boards/arm/nrf52840_pca10056/Kconfig.defconfig | 12 +----------- boards/arm/nrf52840_pca10056/board.h | 12 +----------- boards/arm/nrf52_pca10040/Kconfig | 12 +----------- boards/arm/nrf52_pca10040/Kconfig.board | 12 +----------- boards/arm/nrf52_pca10040/Kconfig.defconfig | 12 +----------- boards/arm/nrf52_pca10040/board.h | 12 +----------- boards/arm/nucleo_f103rb/Kconfig.board | 12 +----------- boards/arm/nucleo_f103rb/Kconfig.defconfig | 12 +----------- boards/arm/nucleo_f103rb/board.h | 12 +----------- boards/arm/nucleo_f401re/Kconfig.board | 12 +----------- boards/arm/nucleo_f401re/Kconfig.defconfig | 12 +----------- boards/arm/nucleo_f401re/board.h | 12 +----------- boards/arm/nucleo_f411re/Kconfig.board | 12 +----------- boards/arm/nucleo_f411re/Kconfig.defconfig | 12 +----------- boards/arm/nucleo_f411re/board.h | 12 +----------- boards/arm/nucleo_l476rg/Kconfig.board | 12 +----------- boards/arm/nucleo_l476rg/Kconfig.defconfig | 12 +----------- boards/arm/nucleo_l476rg/board.h | 12 +----------- boards/arm/olimexino_stm32/Kconfig.board | 12 +----------- boards/arm/olimexino_stm32/Kconfig.defconfig | 12 +----------- boards/arm/olimexino_stm32/board.h | 12 +----------- boards/arm/qemu_cortex_m3/board.h | 12 +----------- boards/arm/quark_se_c1000_ble/Kconfig.board | 12 +----------- boards/arm/quark_se_c1000_ble/Kconfig.defconfig | 12 +----------- boards/arm/quark_se_c1000_ble/board.h | 12 +----------- boards/arm/stm3210c_eval/Kconfig.board | 12 +----------- boards/arm/stm3210c_eval/Kconfig.defconfig | 12 +----------- boards/arm/stm3210c_eval/board.h | 12 +----------- boards/arm/stm32_mini_a15/Kconfig.board | 12 +----------- boards/arm/stm32_mini_a15/Kconfig.defconfig | 12 +----------- boards/arm/stm32_mini_a15/board.h | 12 +----------- boards/arm/v2m_beetle/Kconfig.board | 12 +----------- boards/arm/v2m_beetle/Kconfig.defconfig | 12 +----------- boards/arm/v2m_beetle/Makefile | 12 +----------- boards/arm/v2m_beetle/board.h | 12 +----------- boards/arm/v2m_beetle/v2m_beetle_defconfig | 12 +----------- boards/nios2/altera_max10/board.h | 12 +----------- boards/nios2/qemu_nios2/board.h | 12 +----------- boards/riscv32/qemu_riscv32/board.h | 12 +----------- boards/riscv32/zedboard_pulpino/board.h | 12 +----------- boards/x86/arduino_101/board.h | 12 +----------- boards/x86/arduino_101/pinmux.c | 12 +----------- boards/x86/galileo/Kconfig | 12 +----------- boards/x86/galileo/board.h | 12 +----------- boards/x86/galileo/pinmux.c | 12 +----------- boards/x86/galileo/pinmux_dev.c | 12 +----------- boards/x86/galileo/pinmux_galileo.h | 12 +----------- boards/x86/minnowboard/board.h | 12 +----------- boards/x86/qemu_x86/board.h | 12 +----------- boards/x86/quark_d2000_crb/board.h | 12 +----------- boards/x86/quark_d2000_crb/pinmux.c | 12 +----------- boards/x86/quark_se_c1000_devboard/board.c | 12 +----------- boards/x86/quark_se_c1000_devboard/board.h | 12 +----------- boards/x86/quark_se_c1000_devboard/pinmux.c | 12 +----------- doc/porting/application.rst | 12 ++++++------ doc/porting/sync_v1.c | 12 +----------- doc/porting/sync_v1_nano.c | 12 +----------- doc/porting/sync_v2.c | 12 +----------- doc/scripts/extract_content.py | 12 +----------- drivers/Kconfig | 12 +----------- drivers/adc/Kconfig | 12 +----------- drivers/adc/adc_dw.c | 12 +----------- drivers/adc/adc_qmsi.c | 12 +----------- drivers/adc/adc_qmsi_ss.c | 12 +----------- drivers/adc/adc_ti_adc108s102.c | 12 +----------- drivers/adc/adc_ti_adc108s102.h | 12 +----------- drivers/aio/Kconfig | 12 +----------- drivers/aio/aio_comparator_qmsi.c | 12 +----------- drivers/bluetooth/Kconfig | 12 +----------- drivers/bluetooth/hci/Kconfig | 12 +----------- drivers/bluetooth/hci/h4.c | 12 +----------- drivers/bluetooth/hci/h5.c | 12 +----------- drivers/bluetooth/nble/Kconfig | 12 +----------- drivers/bluetooth/nble/conn.c | 12 +----------- drivers/bluetooth/nble/conn.h | 12 +----------- drivers/bluetooth/nble/conn_internal.h | 12 +----------- drivers/bluetooth/nble/gap.c | 12 +----------- drivers/bluetooth/nble/gap_internal.h | 12 +----------- drivers/bluetooth/nble/gatt.c | 12 +----------- drivers/bluetooth/nble/gatt_internal.h | 12 +----------- drivers/bluetooth/nble/rpc.h | 12 +----------- drivers/bluetooth/nble/rpc_deserialize.c | 12 +----------- drivers/bluetooth/nble/rpc_functions_to_ble_core.h | 12 +----------- drivers/bluetooth/nble/rpc_functions_to_quark.h | 12 +----------- drivers/bluetooth/nble/rpc_serialize.c | 12 +----------- drivers/bluetooth/nble/smp.c | 12 +----------- drivers/bluetooth/nble/smp.h | 12 +----------- drivers/bluetooth/nble/stubs.c | 12 +----------- drivers/bluetooth/nble/uart.c | 12 +----------- drivers/bluetooth/nble/uart.h | 12 +----------- drivers/bluetooth/nrf51_pm.c | 12 +----------- drivers/bluetooth/nrf51_pm.h | 12 +----------- drivers/bluetooth/util.h | 12 +----------- drivers/clock_control/Kconfig | 12 +----------- drivers/clock_control/Kconfig.beetle | 12 +----------- drivers/clock_control/Kconfig.nrf5 | 12 +----------- drivers/clock_control/Kconfig.quark_se | 12 +----------- drivers/clock_control/Kconfig.stm32f107xx | 12 +----------- drivers/clock_control/Kconfig.stm32f10x | 12 +----------- drivers/clock_control/Kconfig.stm32f4x | 12 +----------- drivers/clock_control/Kconfig.stm32l4x | 12 +----------- drivers/clock_control/beetle_clock_control.c | 12 +----------- drivers/clock_control/nrf5_power_clock.c | 12 +----------- drivers/clock_control/quark_se_clock_control.c | 12 +----------- drivers/clock_control/stm32f107xx_clock.c | 12 +----------- drivers/clock_control/stm32f10x_clock.c | 12 +----------- drivers/clock_control/stm32f4x_clock.c | 12 +----------- drivers/clock_control/stm32l4x_clock.c | 12 +----------- drivers/console/Kconfig | 12 +----------- drivers/console/ipm_console_receiver.c | 12 +----------- drivers/console/ipm_console_sender.c | 12 +----------- drivers/console/ram_console.c | 12 +----------- drivers/console/rtt_console.c | 12 +----------- drivers/console/uart_console.c | 12 +----------- drivers/console/uart_pipe.c | 12 +----------- drivers/counter/Kconfig | 12 +----------- drivers/counter/Kconfig.qmsi | 12 +----------- drivers/counter/Kconfig.tmr_cmsdk_apb | 12 +----------- drivers/counter/counter_qmsi_aon.c | 12 +----------- drivers/counter/counter_qmsi_aonpt.c | 12 +----------- drivers/counter/counter_tmr_cmsdk_apb.c | 12 +----------- drivers/dma/Kconfig | 12 +----------- drivers/dma/dma_qmsi.c | 12 +----------- drivers/ethernet/Kconfig | 12 +----------- drivers/ethernet/Kconfig.dw | 12 +----------- drivers/ethernet/Kconfig.enc28j60 | 12 +----------- drivers/ethernet/Kconfig.mcux | 12 +----------- drivers/ethernet/eth_dw.c | 12 +----------- drivers/ethernet/eth_dw_priv.h | 12 +----------- drivers/ethernet/eth_enc28j60.c | 12 +----------- drivers/ethernet/eth_enc28j60_priv.h | 12 +----------- drivers/ethernet/eth_mcux.c | 12 +----------- drivers/flash/Kconfig | 12 +----------- drivers/flash/soc_flash_mcux.c | 12 +----------- drivers/flash/soc_flash_nrf5.c | 12 +----------- drivers/flash/soc_flash_qmsi.c | 12 +----------- drivers/flash/spi_flash_w25qxxdv.c | 12 +----------- drivers/flash/spi_flash_w25qxxdv.h | 12 +----------- drivers/flash/spi_flash_w25qxxdv_defs.h | 12 +----------- drivers/gpio/Kconfig | 12 +----------- drivers/gpio/Kconfig.atmel_sam3 | 12 +----------- drivers/gpio/Kconfig.cmsdk_ahb | 12 +----------- drivers/gpio/Kconfig.dw | 12 +----------- drivers/gpio/Kconfig.mcux | 12 +----------- drivers/gpio/Kconfig.nrf5 | 12 +----------- drivers/gpio/Kconfig.pcal9535a | 12 +----------- drivers/gpio/Kconfig.pulpino | 12 +----------- drivers/gpio/Kconfig.qmsi | 12 +----------- drivers/gpio/Kconfig.sch | 12 +----------- drivers/gpio/Kconfig.stm32 | 12 +----------- drivers/gpio/gpio_atmel_sam3.c | 12 +----------- drivers/gpio/gpio_cc32xx.c | 12 +----------- drivers/gpio/gpio_cmsdk_ahb.c | 12 +----------- drivers/gpio/gpio_cmsdk_ahb.h | 12 +----------- drivers/gpio/gpio_dw.c | 12 +----------- drivers/gpio/gpio_dw.h | 12 +----------- drivers/gpio/gpio_dw_registers.h | 12 +----------- drivers/gpio/gpio_mcux.c | 12 +----------- drivers/gpio/gpio_nrf5.c | 12 +----------- drivers/gpio/gpio_pcal9535a.c | 12 +----------- drivers/gpio/gpio_pcal9535a.h | 12 +----------- drivers/gpio/gpio_pulpino.c | 12 +----------- drivers/gpio/gpio_qmsi.c | 12 +----------- drivers/gpio/gpio_qmsi_ss.c | 12 +----------- drivers/gpio/gpio_sch.c | 12 +----------- drivers/gpio/gpio_sch.h | 12 +----------- drivers/gpio/gpio_stm32.c | 12 +----------- drivers/gpio/gpio_stm32.h | 12 +----------- drivers/gpio/gpio_utils.h | 12 +----------- drivers/grove/Kconfig | 12 +----------- drivers/grove/lcd_rgb.c | 12 +----------- drivers/grove/light_sensor.c | 12 +----------- drivers/grove/temperature_sensor.c | 12 +----------- drivers/i2c/Kconfig | 12 +----------- drivers/i2c/i2c_atmel_sam3.c | 12 +----------- drivers/i2c/i2c_atmel_sam3.h | 12 +----------- drivers/i2c/i2c_dw.c | 12 +----------- drivers/i2c/i2c_dw.h | 12 +----------- drivers/i2c/i2c_dw_registers.h | 12 +----------- drivers/i2c/i2c_mcux.c | 12 +----------- drivers/i2c/i2c_qmsi.c | 12 +----------- drivers/i2c/i2c_qmsi_ss.c | 12 +----------- drivers/i2c/i2c_stm32lx.c | 12 +----------- drivers/i2c/i2c_stm32lx.h | 12 +----------- drivers/ieee802154/ieee802154_cc2520.c | 12 +----------- drivers/ieee802154/ieee802154_cc2520.h | 12 +----------- drivers/ieee802154/ieee802154_cc2520_regs.h | 12 +----------- drivers/ieee802154/ieee802154_uart_pipe.c | 12 +----------- drivers/ieee802154/ieee802154_uart_pipe.h | 12 +----------- drivers/interrupt_controller/Kconfig | 12 +----------- drivers/interrupt_controller/Kconfig.stm32 | 12 +----------- drivers/interrupt_controller/arcv2_irq_unit.c | 12 +----------- drivers/interrupt_controller/exti_stm32.c | 12 +----------- drivers/interrupt_controller/exti_stm32.h | 12 +----------- drivers/interrupt_controller/i8259.c | 12 +----------- drivers/interrupt_controller/ioapic_intr.c | 12 +----------- drivers/interrupt_controller/ioapic_priv.h | 12 +----------- drivers/interrupt_controller/loapic_intr.c | 12 +----------- drivers/interrupt_controller/loapic_spurious.S | 12 +----------- drivers/interrupt_controller/mvic.c | 12 +----------- drivers/interrupt_controller/system_apic.c | 12 +----------- drivers/ipm/ipm_quark_se.c | 12 +----------- drivers/ipm/ipm_quark_se.h | 12 +----------- drivers/pci/Kconfig | 12 +----------- drivers/pci/pci.c | 12 +----------- drivers/pci/pci_config.c | 12 +----------- drivers/pci/pci_interface.c | 12 +----------- drivers/pci/pci_legacy_bridge.c | 12 +----------- drivers/pinmux/Kconfig | 12 +----------- drivers/pinmux/Kconfig.beetle | 12 +----------- drivers/pinmux/Kconfig.mcux | 12 +----------- drivers/pinmux/Kconfig.stm32 | 12 +----------- drivers/pinmux/beetle/pinmux_board_v2m_beetle.c | 12 +----------- drivers/pinmux/dev/Kconfig | 12 +----------- drivers/pinmux/dev/pinmux_dev_arm_beetle.c | 12 +----------- drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c | 12 +----------- drivers/pinmux/dev/pinmux_dev_k64.c | 12 +----------- drivers/pinmux/dev/pinmux_dev_qmsi.c | 12 +----------- drivers/pinmux/dev/pinmux_dev_stm32.c | 12 +----------- drivers/pinmux/pinmux.h | 12 +----------- drivers/pinmux/pinmux_mcux.c | 12 +----------- drivers/pinmux/pinmux_quark_mcu.h | 12 +----------- drivers/pinmux/stm32/pinmux_board_carbon.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_nucleo_f103rb.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_nucleo_l476rg.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_olimexino_stm32.c | 12 +----------- drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c | 12 +----------- drivers/pinmux/stm32/pinmux_stm32.c | 12 +----------- drivers/pinmux/stm32/pinmux_stm32.h | 12 +----------- drivers/pinmux/stm32/pinmux_stm32f1.h | 12 +----------- drivers/pinmux/stm32/pinmux_stm32f4.h | 12 +----------- drivers/pinmux/stm32/pinmux_stm32l4x.h | 12 +----------- drivers/pwm/Kconfig | 12 +----------- drivers/pwm/Kconfig.dw | 12 +----------- drivers/pwm/Kconfig.k64 | 12 +----------- drivers/pwm/Kconfig.pca9685 | 12 +----------- drivers/pwm/Kconfig.qmsi | 12 +----------- drivers/pwm/Kconfig.stm32 | 12 +----------- drivers/pwm/pwm_dw.c | 12 +----------- drivers/pwm/pwm_k64_ftm.c | 12 +----------- drivers/pwm/pwm_k64_ftm.h | 12 +----------- drivers/pwm/pwm_pca9685.c | 12 +----------- drivers/pwm/pwm_pca9685.h | 12 +----------- drivers/pwm/pwm_qmsi.c | 12 +----------- drivers/pwm/pwm_stm32.c | 12 +----------- drivers/pwm/pwm_stm32.h | 12 +----------- drivers/random/Kconfig | 12 +----------- drivers/random/Kconfig.mcux | 12 +----------- drivers/random/rand32_timer.c | 12 +----------- drivers/random/rand32_timestamp.c | 12 +----------- drivers/random/random_mcux.c | 11 ----------- drivers/rtc/Kconfig | 12 +----------- drivers/rtc/rtc_qmsi.c | 12 +----------- drivers/sensor/Kconfig | 12 +----------- drivers/sensor/ak8975/Kconfig | 12 +----------- drivers/sensor/ak8975/ak8975.c | 12 +----------- drivers/sensor/ak8975/ak8975.h | 12 +----------- drivers/sensor/bma280/Kconfig | 12 +----------- drivers/sensor/bma280/bma280.c | 12 +----------- drivers/sensor/bma280/bma280.h | 12 +----------- drivers/sensor/bma280/bma280_trigger.c | 12 +----------- drivers/sensor/bmc150_magn/Kconfig | 12 +----------- drivers/sensor/bmc150_magn/bmc150_magn.c | 12 +----------- drivers/sensor/bmc150_magn/bmc150_magn.h | 12 +----------- drivers/sensor/bmc150_magn/bmc150_magn_trigger.c | 12 +----------- drivers/sensor/bme280/Kconfig | 12 +----------- drivers/sensor/bme280/bme280.c | 12 +----------- drivers/sensor/bme280/bme280.h | 12 +----------- drivers/sensor/bmg160/Kconfig | 12 +----------- drivers/sensor/bmg160/bmg160.c | 12 +----------- drivers/sensor/bmg160/bmg160.h | 12 +----------- drivers/sensor/bmg160/bmg160_trigger.c | 12 +----------- drivers/sensor/bmi160/Kconfig | 12 +----------- drivers/sensor/bmi160/bmi160.c | 12 +----------- drivers/sensor/bmi160/bmi160.h | 12 +----------- drivers/sensor/bmi160/bmi160_trigger.c | 12 +----------- drivers/sensor/dht/Kconfig | 12 +----------- drivers/sensor/dht/dht.c | 12 +----------- drivers/sensor/dht/dht.h | 12 +----------- drivers/sensor/fxos8700/Kconfig | 12 +----------- drivers/sensor/fxos8700/Makefile | 12 +----------- drivers/sensor/fxos8700/fxos8700.c | 12 +----------- drivers/sensor/fxos8700/fxos8700.h | 12 +----------- drivers/sensor/fxos8700/fxos8700_trigger.c | 12 +----------- drivers/sensor/hdc1008/Kconfig | 12 +----------- drivers/sensor/hdc1008/hdc1008.c | 12 +----------- drivers/sensor/hdc1008/hdc1008.h | 12 +----------- drivers/sensor/hmc5883l/Kconfig | 12 +----------- drivers/sensor/hmc5883l/hmc5883l.c | 12 +----------- drivers/sensor/hmc5883l/hmc5883l.h | 12 +----------- drivers/sensor/hmc5883l/hmc5883l_trigger.c | 12 +----------- drivers/sensor/hp206c/Kconfig | 12 +----------- drivers/sensor/hp206c/hp206c.c | 12 +----------- drivers/sensor/hp206c/hp206c.h | 12 +----------- drivers/sensor/hts221/Kconfig | 12 +----------- drivers/sensor/hts221/hts221.c | 12 +----------- drivers/sensor/hts221/hts221.h | 12 +----------- drivers/sensor/hts221/hts221_trigger.c | 12 +----------- drivers/sensor/isl29035/Kconfig | 12 +----------- drivers/sensor/isl29035/isl29035.c | 12 +----------- drivers/sensor/isl29035/isl29035.h | 12 +----------- drivers/sensor/isl29035/isl29035_trigger.c | 12 +----------- drivers/sensor/lis3dh/Kconfig | 12 +----------- drivers/sensor/lis3dh/lis3dh.c | 12 +----------- drivers/sensor/lis3dh/lis3dh.h | 12 +----------- drivers/sensor/lis3dh/lis3dh_trigger.c | 12 +----------- drivers/sensor/lis3mdl/Kconfig | 12 +----------- drivers/sensor/lis3mdl/lis3mdl.c | 12 +----------- drivers/sensor/lis3mdl/lis3mdl.h | 12 +----------- drivers/sensor/lis3mdl/lis3mdl_trigger.c | 12 +----------- drivers/sensor/lps25hb/Kconfig | 12 +----------- drivers/sensor/lps25hb/lps25hb.c | 12 +----------- drivers/sensor/lps25hb/lps25hb.h | 12 +----------- drivers/sensor/lsm6ds0/Kconfig | 12 +----------- drivers/sensor/lsm6ds0/lsm6ds0.c | 12 +----------- drivers/sensor/lsm6ds0/lsm6ds0.h | 12 +----------- drivers/sensor/lsm9ds0_gyro/Kconfig | 12 +----------- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c | 12 +----------- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h | 12 +----------- drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c | 12 +----------- drivers/sensor/lsm9ds0_mfd/Kconfig | 12 +----------- drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c | 12 +----------- drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h | 12 +----------- drivers/sensor/max44009/Kconfig | 12 +----------- drivers/sensor/max44009/max44009.c | 12 +----------- drivers/sensor/max44009/max44009.h | 12 +----------- drivers/sensor/mcp9808/Kconfig | 12 +----------- drivers/sensor/mcp9808/mcp9808.c | 12 +----------- drivers/sensor/mcp9808/mcp9808.h | 12 +----------- drivers/sensor/mcp9808/mcp9808_trigger.c | 12 +----------- drivers/sensor/mpu6050/Kconfig | 12 +----------- drivers/sensor/mpu6050/mpu6050.c | 12 +----------- drivers/sensor/mpu6050/mpu6050.h | 12 +----------- drivers/sensor/mpu6050/mpu6050_trigger.c | 12 +----------- drivers/sensor/nrf5/Kconfig | 12 +----------- drivers/sensor/nrf5/temp_nrf5.c | 12 +----------- drivers/sensor/sht3xd/Kconfig | 12 +----------- drivers/sensor/sht3xd/sht3xd.c | 12 +----------- drivers/sensor/sht3xd/sht3xd.h | 12 +----------- drivers/sensor/sht3xd/sht3xd_trigger.c | 12 +----------- drivers/sensor/sx9500/Kconfig | 12 +----------- drivers/sensor/sx9500/sx9500.c | 12 +----------- drivers/sensor/sx9500/sx9500.h | 12 +----------- drivers/sensor/sx9500/sx9500_trigger.c | 12 +----------- drivers/sensor/th02/Kconfig | 12 +----------- drivers/sensor/th02/th02.c | 12 +----------- drivers/sensor/th02/th02.h | 12 +----------- drivers/sensor/tmp007/Kconfig | 12 +----------- drivers/sensor/tmp007/tmp007.c | 12 +----------- drivers/sensor/tmp007/tmp007.h | 12 +----------- drivers/sensor/tmp007/tmp007_trigger.c | 12 +----------- drivers/sensor/tmp112/Kconfig | 12 +----------- drivers/sensor/tmp112/tmp112.c | 12 +----------- drivers/serial/Kconfig | 12 +----------- drivers/serial/Kconfig.cmsdk_apb | 12 +----------- drivers/serial/Kconfig.nrf5 | 12 +----------- drivers/serial/Kconfig.riscv_qemu | 12 +----------- drivers/serial/Kconfig.stm32 | 12 +----------- drivers/serial/uart_altera_jtag.c | 12 +----------- drivers/serial/uart_atmel_sam3.c | 12 +----------- drivers/serial/uart_cc32xx.c | 12 +----------- drivers/serial/uart_cmsdk_apb.c | 12 +----------- drivers/serial/uart_k20.c | 12 +----------- drivers/serial/uart_k20.h | 12 +----------- drivers/serial/uart_k20_priv.h | 12 +----------- drivers/serial/uart_nrf5.c | 12 +----------- drivers/serial/uart_ns16550.c | 12 +----------- drivers/serial/uart_ns16550.h | 12 +----------- drivers/serial/uart_nsim.c | 12 +----------- drivers/serial/uart_qmsi.c | 12 +----------- drivers/serial/uart_riscv_qemu.c | 12 +----------- drivers/serial/uart_stellaris.c | 12 +----------- drivers/serial/uart_stellaris.h | 12 +----------- drivers/serial/uart_stm32.c | 12 +----------- drivers/serial/uart_stm32.h | 12 +----------- drivers/shared_irq/Kconfig | 12 +----------- drivers/shared_irq/shared_irq.c | 12 +----------- drivers/slip/slip.c | 12 +----------- drivers/spi/Kconfig | 12 +----------- drivers/spi/Kconfig.dw | 12 +----------- drivers/spi/spi_dw.c | 12 +----------- drivers/spi/spi_dw.h | 12 +----------- drivers/spi/spi_dw_quark_se_ss_regs.h | 12 +----------- drivers/spi/spi_dw_regs.h | 12 +----------- drivers/spi/spi_intel.c | 12 +----------- drivers/spi/spi_intel.h | 12 +----------- drivers/spi/spi_k64.c | 12 +----------- drivers/spi/spi_k64_priv.h | 12 +----------- drivers/spi/spi_qmsi.c | 12 +----------- drivers/spi/spi_qmsi_ss.c | 12 +----------- drivers/timer/Kconfig | 12 +----------- drivers/timer/altera_avalon_timer.c | 12 +----------- drivers/timer/arcv2_timer0.c | 12 +----------- drivers/timer/cortex_m_systick.c | 12 +----------- drivers/timer/hpet.c | 12 +----------- drivers/timer/loapic_timer.c | 12 +----------- drivers/timer/nrf_rtc_timer.c | 12 +----------- drivers/timer/pulpino_timer.c | 12 +----------- drivers/timer/riscv_qemu_timer.c | 12 +----------- drivers/timer/sys_clock_init.c | 12 +----------- drivers/usb/Kconfig | 12 +----------- drivers/usb/device/Kconfig | 12 +----------- drivers/usb/device/usb_dc_dw.c | 12 +----------- drivers/usb/device/usb_dw_registers.h | 12 +----------- drivers/watchdog/Kconfig | 12 +----------- drivers/watchdog/Kconfig.cmsdk_apb | 12 +----------- drivers/watchdog/Kconfig.qmsi | 12 +----------- drivers/watchdog/Kconfig.stm32 | 12 +----------- drivers/watchdog/iwdg_stm32.c | 12 +----------- drivers/watchdog/iwdg_stm32.h | 12 +----------- drivers/watchdog/wdog_cmsdk_apb.c | 12 +----------- drivers/watchdog/wdt_qmsi.c | 12 +----------- include/adc.h | 12 +----------- include/aio_comparator.h | 12 +----------- include/arch/arc/arch.h | 12 +----------- include/arch/arc/v2/addr_types.h | 12 +----------- include/arch/arc/v2/arcv2_irq_unit.h | 12 +----------- include/arch/arc/v2/asm_inline.h | 12 +----------- include/arch/arc/v2/asm_inline_gcc.h | 12 +----------- include/arch/arc/v2/aux_regs.h | 12 +----------- include/arch/arc/v2/error.h | 12 +----------- include/arch/arc/v2/exc.h | 12 +----------- include/arch/arc/v2/ffs.h | 12 +----------- include/arch/arc/v2/irq.h | 12 +----------- include/arch/arc/v2/linker.ld | 12 +----------- include/arch/arc/v2/misc.h | 12 +----------- include/arch/arm/arch.h | 12 +----------- include/arch/arm/cortex_m/addr_types.h | 12 +----------- include/arch/arm/cortex_m/asm_inline.h | 12 +----------- include/arch/arm/cortex_m/asm_inline_gcc.h | 12 +----------- include/arch/arm/cortex_m/error.h | 12 +----------- include/arch/arm/cortex_m/exc.h | 12 +----------- include/arch/arm/cortex_m/irq.h | 12 +----------- include/arch/arm/cortex_m/memory_map.h | 12 +----------- include/arch/arm/cortex_m/misc.h | 12 +----------- include/arch/arm/cortex_m/nmi.h | 12 +----------- include/arch/arm/cortex_m/nvic.h | 12 +----------- include/arch/arm/cortex_m/scb.h | 12 +----------- include/arch/arm/cortex_m/scripts/linker.ld | 12 +----------- include/arch/arm/cortex_m/scs.h | 12 +----------- include/arch/arm/cortex_m/sys_io.h | 12 +----------- include/arch/cpu.h | 12 +----------- include/arch/nios2/arch.h | 12 +----------- include/arch/nios2/asm.h | 12 +----------- include/arch/nios2/asm_inline.h | 12 +----------- include/arch/nios2/asm_inline_gcc.h | 12 +----------- include/arch/nios2/linker.ld | 12 +----------- include/arch/riscv32/arch.h | 12 +----------- include/arch/riscv32/exp.h | 12 +----------- include/arch/riscv32/pulpino/asm_inline.h | 12 +----------- include/arch/riscv32/pulpino/asm_inline_gcc.h | 12 +----------- include/arch/riscv32/pulpino/linker.ld | 12 +----------- include/arch/riscv32/riscv32-qemu/asm_inline.h | 12 +----------- include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h | 12 +----------- include/arch/riscv32/riscv32-qemu/linker.ld | 12 +----------- include/arch/riscv32/sys_io.h | 12 +----------- include/arch/x86/addr_types.h | 12 +----------- include/arch/x86/arch.h | 12 +----------- include/arch/x86/asm.h | 12 +----------- include/arch/x86/asm_inline.h | 12 +----------- include/arch/x86/asm_inline_gcc.h | 12 +----------- include/arch/x86/irq_controller.h | 12 +----------- include/arch/x86/linker.ld | 12 +----------- include/arch/x86/segmentation.h | 12 +----------- include/atomic.h | 12 +----------- include/bluetooth/a2dp.h | 12 +----------- include/bluetooth/att.h | 12 +----------- include/bluetooth/avdtp.h | 12 +----------- include/bluetooth/bluetooth.h | 12 +----------- include/bluetooth/buf.h | 12 +----------- include/bluetooth/conn.h | 12 +----------- include/bluetooth/gatt.h | 12 +----------- include/bluetooth/hci.h | 12 +----------- include/bluetooth/hci_raw.h | 12 +----------- include/bluetooth/hfp_hf.h | 12 +----------- include/bluetooth/l2cap.h | 12 +----------- include/bluetooth/log.h | 12 +----------- include/bluetooth/rfcomm.h | 12 +----------- include/bluetooth/sdp.h | 12 +----------- include/bluetooth/storage.h | 12 +----------- include/bluetooth/uuid.h | 12 +----------- include/cache.h | 12 +----------- include/clock_control.h | 12 +----------- include/counter.h | 12 +----------- include/debug/debug_info.h | 12 +----------- include/debug/gdb_server.h | 12 +----------- include/debug/mem_safe.h | 12 +----------- include/debug/object_tracing.h | 12 +----------- include/debug/object_tracing_common.h | 12 +----------- include/device.h | 12 +----------- include/disk_access.h | 12 +----------- include/display/grove_lcd.h | 12 +----------- include/dma.h | 12 +----------- include/drivers/bluetooth/hci_driver.h | 12 +----------- include/drivers/clock_control/arm_clock_control.h | 12 +----------- include/drivers/clock_control/nrf5_clock_control.h | 12 +----------- .../drivers/clock_control/quark_se_clock_control.h | 12 +----------- include/drivers/clock_control/stm32_clock_control.h | 12 +----------- .../drivers/clock_control/stm32f1_clock_control.h | 12 +----------- .../drivers/clock_control/stm32f4_clock_control.h | 12 +----------- .../drivers/clock_control/stm32l4x_clock_control.h | 12 +----------- include/drivers/console/ipm_console.h | 12 +----------- include/drivers/console/uart_console.h | 12 +----------- include/drivers/console/uart_pipe.h | 12 +----------- include/drivers/ieee802154/cc2520.h | 12 +----------- include/drivers/ioapic.h | 12 +----------- include/drivers/k20_mcg.h | 12 +----------- include/drivers/k20_pcr.h | 12 +----------- include/drivers/k20_sim.h | 12 +----------- include/drivers/k20_watchdog.h | 12 +----------- include/drivers/k6x_mpu.h | 12 +----------- include/drivers/k6x_pmc.h | 12 +----------- include/drivers/loapic.h | 12 +----------- include/drivers/mvic.h | 12 +----------- include/drivers/pci/pci.h | 12 +----------- include/drivers/pci/pci_mgr.h | 12 +----------- include/drivers/rand32.h | 12 +----------- include/drivers/serial/uart_nsim.h | 12 +----------- include/drivers/spi/spi_intel.h | 12 +----------- include/drivers/spi/spi_k64.h | 12 +----------- include/drivers/sysapic.h | 12 +----------- include/drivers/system_timer.h | 12 +----------- include/drivers/usb/usb_dc.h | 12 +----------- include/eth.h | 12 +----------- include/flash.h | 12 +----------- include/fs.h | 12 +----------- include/fs/fat_fs.h | 12 +----------- include/fs/fs_interface.h | 12 +----------- include/gpio.h | 12 +----------- include/i2c.h | 12 +----------- include/init.h | 12 +----------- include/ipm.h | 12 +----------- include/irq.h | 12 +----------- include/irq_offload.h | 12 +----------- include/kernel.h | 12 +----------- include/kernel_version.h | 12 +----------- include/legacy.h | 12 +----------- include/linker-defs.h | 12 +----------- include/linker-tool-gcc.h | 12 +----------- include/linker-tool.h | 12 +----------- include/logging/event_logger.h | 12 +----------- include/logging/kernel_event_logger.h | 12 +----------- include/logging/sys_log.h | 12 +----------- include/microkernel.h | 12 +----------- include/misc/__assert.h | 12 +----------- include/misc/byteorder.h | 12 +----------- include/misc/dlist.h | 12 +----------- include/misc/nano_work.h | 12 +----------- include/misc/printk.h | 12 +----------- include/misc/reboot.h | 12 +----------- include/misc/ring_buffer.h | 12 +----------- include/misc/slist.h | 12 +----------- include/misc/stack.h | 12 +----------- include/misc/util.h | 12 +----------- include/nanokernel.h | 12 +----------- include/net/arp.h | 12 +----------- include/net/bt.h | 12 +----------- include/net/buf.h | 12 +----------- include/net/dhcpv4.h | 12 +----------- include/net/dns_client.h | 12 +----------- include/net/ethernet.h | 12 +----------- include/net/ieee802154.h | 12 +----------- include/net/ieee802154_radio.h | 12 +----------- include/net/mii.h | 12 +----------- include/net/mqtt.h | 12 +----------- include/net/mqtt_types.h | 12 +----------- include/net/nbuf.h | 12 +----------- include/net/net_context.h | 12 +----------- include/net/net_core.h | 12 +----------- include/net/net_event.h | 12 +----------- include/net/net_if.h | 12 +----------- include/net/net_ip.h | 12 +----------- include/net/net_l2.h | 12 +----------- include/net/net_linkaddr.h | 12 +----------- include/net/net_mgmt.h | 12 +----------- include/net/net_stats.h | 12 +----------- include/net/offload_ip.h | 12 +----------- include/net/trickle.h | 12 +----------- include/net/zoap.h | 12 +----------- include/net/zoap_link_format.h | 12 +----------- include/pinmux.h | 12 +----------- include/power.h | 12 +----------- include/pwm.h | 12 +----------- include/random.h | 12 +----------- include/rtc.h | 12 +----------- include/section_tags.h | 12 +----------- include/sections.h | 12 +----------- include/sensor.h | 12 +----------- include/shared_irq.h | 12 +----------- include/shell/shell.h | 12 +----------- include/spi.h | 12 +----------- include/sw_isr_table.h | 12 +----------- include/sys_clock.h | 12 +----------- include/sys_io.h | 12 +----------- include/toolchain.h | 12 +----------- include/toolchain/common.h | 12 +----------- include/toolchain/gcc.h | 12 +----------- include/uart.h | 12 +----------- include/watchdog.h | 12 +----------- include/zephyr.h | 12 +----------- kernel/Kconfig | 12 +----------- kernel/Kconfig.event_logger | 12 +----------- kernel/Kconfig.power_mgmt | 12 +----------- kernel/alert.c | 12 +----------- kernel/atomic_c.c | 12 +----------- kernel/compiler_stack_protect.c | 12 +----------- kernel/device.c | 12 +----------- kernel/errno.c | 12 +----------- kernel/fifo.c | 12 +----------- kernel/idle.c | 12 +----------- kernel/include/gen_offset.h | 12 +----------- kernel/include/kernel_offsets.h | 12 +----------- kernel/include/kernel_structs.h | 12 +----------- kernel/include/ksched.h | 12 +----------- kernel/include/nano_internal.h | 12 +----------- kernel/include/offsets_short.h | 12 +----------- kernel/include/timeout_q.h | 12 +----------- kernel/include/wait_q.h | 12 +----------- kernel/init.c | 12 +----------- kernel/int_latency_bench.c | 12 +----------- kernel/legacy_offload.c | 12 +----------- kernel/legacy_timer.c | 12 +----------- kernel/lifo.c | 12 +----------- kernel/mailbox.c | 12 +----------- kernel/mem_pool.c | 12 +----------- kernel/mem_slab.c | 12 +----------- kernel/msg_q.c | 12 +----------- kernel/mutex.c | 12 +----------- kernel/pipes.c | 12 +----------- kernel/sched.c | 12 +----------- kernel/sem.c | 12 +----------- kernel/stack.c | 12 +----------- kernel/sys_clock.c | 12 +----------- kernel/system_work_q.c | 12 +----------- kernel/thread.c | 12 +----------- kernel/thread_abort.c | 12 +----------- kernel/timer.c | 12 +----------- kernel/version.c | 12 +----------- kernel/work_q.c | 12 +----------- lib/Kconfig | 12 +----------- lib/libc/Kconfig | 12 +----------- lib/libc/minimal/include/assert.h | 12 +----------- lib/libc/minimal/include/bits/restrict.h | 12 +----------- lib/libc/minimal/include/ctype.h | 12 +----------- lib/libc/minimal/include/errno.h | 12 +----------- lib/libc/minimal/include/inttypes.h | 12 +----------- lib/libc/minimal/include/limits.h | 12 +----------- lib/libc/minimal/include/stdbool.h | 12 +----------- lib/libc/minimal/include/stdint.h | 12 +----------- lib/libc/minimal/include/stdio.h | 12 +----------- lib/libc/minimal/include/stdlib.h | 12 +----------- lib/libc/minimal/include/string.h | 12 +----------- lib/libc/minimal/include/strings.h | 12 +----------- lib/libc/minimal/include/sys/types.h | 12 +----------- lib/libc/minimal/source/stdout/fprintf.c | 12 +----------- lib/libc/minimal/source/stdout/prf.c | 12 +----------- lib/libc/minimal/source/stdout/sprintf.c | 12 +----------- lib/libc/minimal/source/stdout/stdout_console.c | 12 +----------- lib/libc/minimal/source/string/string.c | 12 +----------- lib/libc/newlib/libc-hooks.c | 12 +----------- misc/Kconfig | 12 +----------- misc/cpp_ctors.c | 12 +----------- misc/cpp_dtors.c | 12 +----------- misc/cpp_init_array.c | 12 +----------- misc/cpp_virtual.c | 12 +----------- misc/cpp_vtable.cpp | 12 +----------- misc/printk.c | 12 +----------- misc/reboot.c | 12 +----------- misc/ring_buffer.c | 12 +----------- samples/basic/blink_led/src/main.c | 12 +----------- samples/basic/blinky/src/main.c | 12 +----------- samples/basic/button/src/main.c | 12 +----------- samples/basic/disco/src/main.c | 12 +----------- samples/basic/fade_led/src/main.c | 12 +----------- samples/basic/rgb_led/src/main.c | 12 +----------- samples/basic/servo_motor/src/main.c | 12 +----------- samples/bluetooth/beacon/src/main.c | 12 +----------- samples/bluetooth/central/Makefile | 12 +----------- samples/bluetooth/central/src/main.c | 12 +----------- samples/bluetooth/central_hr/Makefile | 12 +----------- samples/bluetooth/central_hr/src/main.c | 12 +----------- samples/bluetooth/eddystone/src/main.c | 12 +----------- samples/bluetooth/gatt/bas.c | 12 +----------- samples/bluetooth/gatt/bas.h | 12 +----------- samples/bluetooth/gatt/cts.c | 12 +----------- samples/bluetooth/gatt/cts.h | 12 +----------- samples/bluetooth/gatt/dis.c | 12 +----------- samples/bluetooth/gatt/dis.h | 12 +----------- samples/bluetooth/gatt/gap.c | 12 +----------- samples/bluetooth/gatt/gap.h | 12 +----------- samples/bluetooth/gatt/hog.c | 12 +----------- samples/bluetooth/gatt/hog.h | 12 +----------- samples/bluetooth/gatt/hrs.c | 12 +----------- samples/bluetooth/gatt/hrs.h | 12 +----------- samples/bluetooth/gatt/ipss.c | 12 +----------- samples/bluetooth/gatt/ipss.h | 12 +----------- samples/bluetooth/handsfree/Makefile | 12 +----------- samples/bluetooth/handsfree/src/main.c | 12 +----------- samples/bluetooth/hci_uart/src/main.c | 12 +----------- samples/bluetooth/hci_usb/src/main.c | 12 +----------- samples/bluetooth/ipsp/src/main.c | 12 +----------- samples/bluetooth/peripheral/src/main.c | 12 +----------- samples/bluetooth/peripheral_csc/src/main.c | 12 +----------- samples/bluetooth/peripheral_dis/src/main.c | 12 +----------- samples/bluetooth/peripheral_esp/src/main.c | 12 +----------- samples/bluetooth/peripheral_hids/src/main.c | 12 +----------- samples/bluetooth/peripheral_hr/src/main.c | 12 +----------- samples/bluetooth/peripheral_sc_only/src/main.c | 12 +----------- samples/drivers/aio_comparator/src/main.c | 12 +----------- samples/drivers/current_sensing/src/main.c | 12 +----------- samples/drivers/gpio/src/main.c | 12 +----------- samples/drivers/i2c_fujitsu_fram/src/main.c | 12 +----------- samples/drivers/i2c_lsm9ds0/src/main.c | 12 +----------- samples/drivers/lcd_hd44780/src/main.c | 12 +----------- samples/drivers/led_apa102c/src/main.c | 12 +----------- samples/drivers/random/src/main.c | 12 +----------- samples/drivers/rtc/src/main.c | 12 +----------- samples/drivers/soc_flash_nrf5/src/main.c | 12 +----------- samples/drivers/spi_flash/src/main.c | 12 +----------- samples/drivers/spi_fujitsu_fram/src/main.c | 12 +----------- samples/drivers/spi_lsm9ds0/src/main.c | 12 +----------- samples/drivers/watchdog/src/main.c | 12 +----------- samples/environmental_sensing/ap/src/main.c | 12 +----------- samples/environmental_sensing/sensor/src/main.c | 12 +----------- samples/grove/lcd/src/main.c | 12 +----------- samples/grove/light/src/main.c | 12 +----------- samples/grove/temperature/src/main.c | 12 +----------- samples/hello_world/src/main.c | 12 +----------- samples/ipm/ipm_demo_arc/src/hello.c | 12 +----------- samples/ipm/ipm_demo_lmt/src/hello.c | 12 +----------- .../cpp_synchronization/microkernel/src/main.cpp | 12 +----------- .../cpp_synchronization/nanokernel/src/main.cpp | 12 +----------- .../microkernel/src/kernel_event_collector_sample.c | 12 +----------- samples/legacy/philosophers/microkernel/src/phil.h | 12 +----------- .../philosophers/microkernel/src/phil_fiber.c | 12 +----------- .../legacy/philosophers/microkernel/src/phil_task.c | 12 +----------- .../legacy/synchronization/microkernel/src/main.c | 12 +----------- .../legacy/synchronization/nanokernel/src/main.c | 12 +----------- .../legacy/task_profiler/microkernel/src/hello.c | 12 +----------- samples/legacy/task_profiler/nanokernel/src/hello.c | 12 +----------- .../profiler/scripts/contextswitch_parse.py | 12 +----------- .../profiler/scripts/contextswitch_run.py | 12 +----------- .../profiler/scripts/contextswitch_timeslice.py | 12 +----------- .../profiler/scripts/contextswitch_totals.py | 12 +----------- .../task_profiler/profiler/scripts/profile.sh | 12 +----------- .../profiler/scripts/profile_kernel.py | 12 +----------- .../profiler/scripts/profile_monitor.py | 12 +----------- .../task_profiler/profiler/scripts/term/term.c | 12 +----------- .../legacy/task_profiler/profiler/src/profiler.c | 12 +----------- .../legacy/task_profiler/profiler/src/profiler.h | 12 +----------- samples/logger-hook/src/main.c | 12 +----------- samples/net/common/Makefile.ipstack | 12 +----------- samples/net/common/cc2520_a101.c | 12 +----------- samples/net/common/cc2520_frdm_k64f.c | 12 +----------- samples/net/dhcpv4_client/src/main.c | 12 +----------- samples/net/dns_client/Makefile | 12 +----------- samples/net/dns_client/src/Makefile | 12 +----------- samples/net/dns_client/src/config.h | 12 +----------- samples/net/dns_client/src/main.c | 12 +----------- samples/net/echo_client/Makefile | 12 +----------- samples/net/echo_client/src/echo-client.c | 12 +----------- samples/net/echo_server/Makefile | 12 +----------- samples/net/echo_server/src/echo-server.c | 12 +----------- samples/net/ieee802154/hw/Makefile | 12 +----------- samples/net/ieee802154/hw/src/ieee802154_test.c | 12 +----------- samples/net/ieee802154/qemu/Makefile | 12 +----------- samples/net/ieee802154/qemu/Makefile.qemu | 12 +----------- .../net/ieee802154/qemu/src/ieee802154_qemu_test.c | 12 +----------- samples/net/leds_demo/Makefile | 12 +----------- samples/net/leds_demo/src/leds-demo.c | 12 +----------- samples/net/mbedtls_dtlsclient/Makefile | 12 +----------- samples/net/mbedtls_dtlsclient/src/Makefile | 12 +----------- samples/net/mbedtls_dtlsclient/src/dtls_client.c | 13 +------------ samples/net/mbedtls_dtlsclient/src/udp.c | 12 +----------- samples/net/mbedtls_dtlsclient/src/udp.h | 12 +----------- samples/net/mbedtls_dtlsclient/src/udp_cfg.h | 12 +----------- samples/net/mbedtls_dtlsserver/Makefile | 12 +----------- samples/net/mbedtls_dtlsserver/src/Makefile | 12 +----------- samples/net/mbedtls_dtlsserver/src/dtls_server.c | 13 +------------ samples/net/mbedtls_dtlsserver/src/udp.c | 12 +----------- samples/net/mbedtls_dtlsserver/src/udp.h | 12 +----------- samples/net/mbedtls_dtlsserver/src/udp_cfg.h | 12 +----------- samples/net/mbedtls_sslclient/Makefile | 12 +----------- samples/net/mbedtls_sslclient/src/Makefile | 12 +----------- samples/net/mbedtls_sslclient/src/mini_client.c | 13 +------------ samples/net/mbedtls_sslclient/src/tcp.c | 12 +----------- samples/net/mbedtls_sslclient/src/tcp.h | 12 +----------- samples/net/mbedtls_sslclient/src/tcp_cfg.h | 12 +----------- samples/net/wpan_serial/src/main.c | 12 +----------- samples/net/wpanusb/src/wpanusb.c | 12 +----------- samples/net/wpanusb/src/wpanusb.h | 12 +----------- samples/net/zoap_client/Makefile | 12 +----------- samples/net/zoap_client/src/zoap-client.c | 12 +----------- samples/net/zoap_server/Makefile | 12 +----------- samples/net/zoap_server/src/zoap-server.c | 12 +----------- samples/net/zperf/src/shell_utils.c | 12 +----------- samples/net/zperf/src/shell_utils.h | 12 +----------- samples/net/zperf/src/zperf.h | 12 +----------- samples/net/zperf/src/zperf_internal.h | 12 +----------- samples/net/zperf/src/zperf_session.c | 12 +----------- samples/net/zperf/src/zperf_session.h | 12 +----------- samples/net/zperf/src/zperf_shell.c | 12 +----------- samples/net/zperf/src/zperf_tcp_receiver.c | 12 +----------- samples/net/zperf/src/zperf_tcp_uploader.c | 12 +----------- samples/net/zperf/src/zperf_udp_receiver.c | 12 +----------- samples/net/zperf/src/zperf_udp_uploader.c | 12 +----------- samples/nfc/nfc_hello/src/main.c | 12 +----------- samples/philosophers/src/main.c | 12 +----------- samples/philosophers/src/phil_obj_abstract.h | 12 +----------- samples/power/power_mgr/src/main.c | 12 +----------- samples/sensor/apds9960/src/main.c | 12 +----------- samples/sensor/bme280/src/main.c | 12 +----------- samples/sensor/bmg160/src/arc_bmg160.c | 12 +----------- samples/sensor/bmi160/src/bmi160.c | 12 +----------- samples/sensor/fxos8700/Makefile | 12 +----------- samples/sensor/fxos8700/src/Makefile | 12 +----------- samples/sensor/fxos8700/src/main.c | 12 +----------- samples/sensor/magn_polling/src/main.c | 12 +----------- samples/sensor/max44009/src/main.c | 12 +----------- samples/sensor/mcp9808/src/main.c | 12 +----------- samples/sensor/sx9500/src/main.c | 12 +----------- samples/sensor/th02/src/main.c | 12 +----------- samples/sensor/thermometer/src/main.c | 12 +----------- samples/sensor/tmp112/src/main.c | 12 +----------- samples/shell/src/main.c | 12 +----------- samples/static_lib/Makefile | 12 +----------- samples/static_lib/hello_world/Makefile | 12 +----------- samples/static_lib/hello_world/src/Makefile | 12 +----------- samples/static_lib/hello_world/src/main.c | 12 +----------- samples/static_lib/mylib/Makefile | 12 +----------- samples/static_lib/mylib/include/mylib.h | 12 +----------- samples/static_lib/mylib/src/mylib.c | 12 +----------- samples/synchronization/src/main.c | 12 +----------- samples/testing/integration/src/main.c | 12 +----------- samples/testing/unit/main.c | 12 +----------- samples/usb/cdc_acm/src/main.c | 12 +----------- samples/usb/console/src/main.c | 12 +----------- samples/usb/dfu/src/main.c | 12 +----------- samples/usb/mass/src/main.c | 12 +----------- samples/usb/webusb/src/main.c | 12 +----------- scripts/Makefile.qemu | 12 +----------- scripts/check_known_checkpatch_issues.sh | 12 +----------- scripts/do_checkpatch.sh | 12 +----------- scripts/expr_parser.py | 12 +----------- scripts/gen_idt/gen_idt.c | 12 +----------- scripts/gen_idt/version.c | 12 +----------- scripts/gen_idt/version.h | 12 +----------- scripts/gen_offset_header/elf.h | 12 +----------- scripts/gen_offset_header/gen_offset_header.c | 13 ++----------- scripts/maintainer-checkpatch.bash | 12 +----------- scripts/make-ll | 12 +----------- scripts/size_report | 12 +----------- scripts/sysgen | 12 +----------- scripts/timestamp | 12 +----------- subsys/Kconfig | 12 +----------- subsys/bluetooth/Kconfig | 12 +----------- subsys/bluetooth/controller/hal/ccm.h | 12 +----------- subsys/bluetooth/controller/hal/cntr.h | 12 +----------- subsys/bluetooth/controller/hal/cpu.h | 12 +----------- subsys/bluetooth/controller/hal/debug.h | 12 +----------- subsys/bluetooth/controller/hal/ecb.h | 12 +----------- subsys/bluetooth/controller/hal/nrf5/cntr.c | 12 +----------- subsys/bluetooth/controller/hal/nrf5/ecb.c | 12 +----------- subsys/bluetooth/controller/hal/nrf5/radio.c | 12 +----------- subsys/bluetooth/controller/hal/nrf5/rand.c | 12 +----------- subsys/bluetooth/controller/hal/radio.h | 12 +----------- subsys/bluetooth/controller/hal/rand.h | 12 +----------- subsys/bluetooth/controller/hci/hci.c | 12 +----------- subsys/bluetooth/controller/hci/hci_driver.c | 12 +----------- subsys/bluetooth/controller/hci/hci_internal.h | 12 +----------- subsys/bluetooth/controller/ll/ctrl.c | 12 +----------- subsys/bluetooth/controller/ll/ctrl.h | 12 +----------- subsys/bluetooth/controller/ll/ctrl_internal.h | 12 +----------- subsys/bluetooth/controller/ll/ll.c | 12 +----------- subsys/bluetooth/controller/ll/ll.h | 12 +----------- subsys/bluetooth/controller/ll/pdu.h | 12 +----------- subsys/bluetooth/controller/ticker/ticker.c | 12 +----------- subsys/bluetooth/controller/ticker/ticker.h | 12 +----------- subsys/bluetooth/controller/util/config.h | 12 +----------- subsys/bluetooth/controller/util/mayfly.c | 12 +----------- subsys/bluetooth/controller/util/mayfly.h | 12 +----------- subsys/bluetooth/controller/util/mem.c | 12 +----------- subsys/bluetooth/controller/util/mem.h | 12 +----------- subsys/bluetooth/controller/util/memq.c | 12 +----------- subsys/bluetooth/controller/util/memq.h | 12 +----------- subsys/bluetooth/controller/util/util.c | 12 +----------- subsys/bluetooth/controller/util/util.h | 12 +----------- subsys/bluetooth/host/Kconfig | 12 +----------- subsys/bluetooth/host/a2dp.c | 12 +----------- subsys/bluetooth/host/a2dp_internal.h | 12 +----------- subsys/bluetooth/host/at.c | 12 +----------- subsys/bluetooth/host/at.h | 12 +----------- subsys/bluetooth/host/att.c | 12 +----------- subsys/bluetooth/host/att_internal.h | 12 +----------- subsys/bluetooth/host/avdtp.c | 12 +----------- subsys/bluetooth/host/avdtp_internal.h | 12 +----------- subsys/bluetooth/host/conn.c | 12 +----------- subsys/bluetooth/host/conn_internal.h | 12 +----------- subsys/bluetooth/host/ecc.h | 12 +----------- subsys/bluetooth/host/gatt.c | 12 +----------- subsys/bluetooth/host/gatt_internal.h | 12 +----------- subsys/bluetooth/host/hci_core.c | 12 +----------- subsys/bluetooth/host/hci_core.h | 12 +----------- subsys/bluetooth/host/hci_ecc.c | 12 +----------- subsys/bluetooth/host/hci_ecc.h | 12 +----------- subsys/bluetooth/host/hci_raw.c | 12 +----------- subsys/bluetooth/host/hci_raw_internal.h | 12 +----------- subsys/bluetooth/host/hfp_hf.c | 12 +----------- subsys/bluetooth/host/hfp_internal.h | 12 +----------- subsys/bluetooth/host/keys.c | 12 +----------- subsys/bluetooth/host/keys.h | 12 +----------- subsys/bluetooth/host/keys_br.c | 12 +----------- subsys/bluetooth/host/l2cap.c | 12 +----------- subsys/bluetooth/host/l2cap_br.c | 12 +----------- subsys/bluetooth/host/l2cap_internal.h | 12 +----------- subsys/bluetooth/host/log.c | 12 +----------- subsys/bluetooth/host/monitor.c | 12 +----------- subsys/bluetooth/host/monitor.h | 12 +----------- subsys/bluetooth/host/rfcomm.c | 12 +----------- subsys/bluetooth/host/rfcomm_internal.h | 12 +----------- subsys/bluetooth/host/sdp.c | 12 +----------- subsys/bluetooth/host/sdp_internal.h | 12 +----------- subsys/bluetooth/host/smp.c | 12 +----------- subsys/bluetooth/host/smp.h | 12 +----------- subsys/bluetooth/host/smp_null.c | 12 +----------- subsys/bluetooth/host/storage.c | 12 +----------- subsys/bluetooth/host/uuid.c | 12 +----------- subsys/debug/Kconfig | 12 +----------- subsys/debug/gdb_server.c | 12 +----------- subsys/debug/mem_safe_check_boundaries.c | 12 +----------- subsys/disk/Kconfig | 12 +----------- subsys/disk/disk_access_flash.c | 12 +----------- subsys/disk/disk_access_ram.c | 12 +----------- subsys/fs/Kconfig | 12 +----------- subsys/fs/fat_fs.c | 12 +----------- subsys/fs/shell.c | 12 +----------- subsys/logging/Kconfig | 12 +----------- subsys/logging/event_logger.c | 12 +----------- subsys/logging/kernel_event_logger.c | 12 +----------- subsys/logging/sys_log.c | 13 +------------ subsys/net/Kconfig | 12 +----------- subsys/net/buf.c | 12 +----------- subsys/net/ip/6lo.c | 12 +----------- subsys/net/ip/6lo.h | 12 +----------- subsys/net/ip/6lo_private.h | 12 +----------- subsys/net/ip/Kconfig | 12 +----------- subsys/net/ip/Kconfig.debug | 12 +----------- subsys/net/ip/Kconfig.ipv4 | 12 +----------- subsys/net/ip/Kconfig.ipv6 | 12 +----------- subsys/net/ip/Kconfig.mgmt | 12 +----------- subsys/net/ip/Kconfig.rpl | 12 +----------- subsys/net/ip/Kconfig.samples | 12 +----------- subsys/net/ip/Kconfig.stack | 12 +----------- subsys/net/ip/Kconfig.stats | 12 +----------- subsys/net/ip/connection.c | 12 +----------- subsys/net/ip/connection.h | 12 +----------- subsys/net/ip/dhcpv4.c | 12 +----------- subsys/net/ip/icmpv4.c | 12 +----------- subsys/net/ip/icmpv4.h | 12 +----------- subsys/net/ip/icmpv6.c | 12 +----------- subsys/net/ip/icmpv6.h | 12 +----------- subsys/net/ip/ipv4.c | 12 +----------- subsys/net/ip/ipv4.h | 12 +----------- subsys/net/ip/ipv6.c | 12 +----------- subsys/net/ip/ipv6.h | 12 +----------- subsys/net/ip/l2/Kconfig | 12 +----------- subsys/net/ip/l2/arp.c | 12 +----------- subsys/net/ip/l2/bluetooth.c | 12 +----------- subsys/net/ip/l2/bluetooth_shell.c | 12 +----------- subsys/net/ip/l2/dummy.c | 12 +----------- subsys/net/ip/l2/ethernet.c | 12 +----------- subsys/net/ip/l2/ieee802154/Kconfig | 12 +----------- subsys/net/ip/l2/ieee802154/Kconfig.radio | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154.c | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_fragment.c | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_fragment.h | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_frame.c | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_frame.h | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h | 12 +----------- .../net/ip/l2/ieee802154/ieee802154_radio_aloha.c | 12 +----------- .../net/ip/l2/ieee802154/ieee802154_radio_csma_ca.c | 12 +----------- .../net/ip/l2/ieee802154/ieee802154_radio_utils.h | 12 +----------- subsys/net/ip/l2/ieee802154/ieee802154_shell.c | 12 +----------- subsys/net/ip/nbr.c | 12 +----------- subsys/net/ip/nbr.h | 12 +----------- subsys/net/ip/nbuf.c | 12 +----------- subsys/net/ip/net_context.c | 12 +----------- subsys/net/ip/net_core.c | 12 +----------- subsys/net/ip/net_if.c | 12 +----------- subsys/net/ip/net_mgmt.c | 12 +----------- subsys/net/ip/net_private.h | 12 +----------- subsys/net/ip/net_shell.c | 12 +----------- subsys/net/ip/net_shell.h | 12 +----------- subsys/net/ip/net_stats.c | 12 +----------- subsys/net/ip/net_stats.h | 12 +----------- subsys/net/ip/route.c | 12 +----------- subsys/net/ip/route.h | 12 +----------- subsys/net/ip/rpl-mrhof.c | 12 +----------- subsys/net/ip/rpl-of0.c | 12 +----------- subsys/net/ip/rpl.c | 12 +----------- subsys/net/ip/rpl.h | 12 +----------- subsys/net/ip/tcp.c | 12 +----------- subsys/net/ip/tcp.h | 12 +----------- subsys/net/ip/trickle.c | 12 +----------- subsys/net/ip/udp.h | 12 +----------- subsys/net/ip/utils.c | 12 +----------- subsys/net/lib/Kconfig | 12 +----------- subsys/net/lib/dns/Kconfig | 12 +----------- subsys/net/lib/dns/dns_client.c | 12 +----------- subsys/net/lib/dns/dns_pack.c | 12 +----------- subsys/net/lib/dns/dns_pack.h | 12 +----------- subsys/net/lib/http/Kconfig | 12 +----------- subsys/net/lib/mqtt/Kconfig | 12 +----------- subsys/net/lib/mqtt/mqtt.c | 12 +----------- subsys/net/lib/mqtt/mqtt_pkt.c | 12 +----------- subsys/net/lib/mqtt/mqtt_pkt.h | 12 +----------- subsys/net/lib/zoap/Kconfig | 12 +----------- subsys/net/lib/zoap/zoap.c | 12 +----------- subsys/net/lib/zoap/zoap_link_format.c | 12 +----------- subsys/shell/Kconfig | 12 +----------- subsys/shell/modules/Kconfig | 12 +----------- subsys/shell/modules/kernel_service.c | 12 +----------- subsys/shell/shell.c | 12 +----------- subsys/shell/shell_service.c | 12 +----------- subsys/usb/Kconfig | 12 +----------- subsys/usb/class/Kconfig | 12 +----------- tests/Kconfig | 12 +----------- tests/bluetooth/init/src/main.c | 12 +----------- tests/bluetooth/shell/Makefile | 12 +----------- tests/bluetooth/shell/src/main.c | 12 +----------- tests/bluetooth/test_bluetooth/src/bluetooth.c | 12 +----------- tests/bluetooth/tester/Makefile | 12 +----------- tests/bluetooth/tester/src/bttester.c | 12 +----------- tests/bluetooth/tester/src/bttester.h | 12 +----------- tests/bluetooth/tester/src/gap.c | 12 +----------- tests/bluetooth/tester/src/gatt.c | 12 +----------- tests/bluetooth/tester/src/l2cap.c | 12 +----------- tests/bluetooth/tester/src/main.c | 12 +----------- tests/booting/stub/src/main.c | 12 +----------- tests/crypto/test_mbedtls/src/mbedtls_test.c | 13 +------------ tests/drivers/adc/src/main.c | 12 +----------- tests/drivers/aio/aio_basic_api/src/main.c | 12 +----------- tests/drivers/aio/aio_basic_api/src/test_aio.h | 12 +----------- tests/drivers/aio/aio_basic_api/src/test_callback.c | 12 +----------- tests/drivers/aon_counter/src/main.c | 12 +----------- tests/drivers/build_all/src/main.c | 12 +----------- .../drivers/dma/test_chan_blen_transfer/src/main.c | 12 +----------- .../dma/test_chan_blen_transfer/src/test_dma.c | 12 +----------- tests/drivers/dma/test_loop_transfer/src/dma.c | 12 +----------- tests/drivers/enc28j60/src/main.c | 12 +----------- tests/drivers/gpio/gpio_basic_api/src/main.c | 12 +----------- .../gpio/gpio_basic_api/src/test_callback_manage.c | 12 +----------- .../gpio/gpio_basic_api/src/test_callback_trigger.c | 12 +----------- tests/drivers/gpio/gpio_basic_api/src/test_gpio.h | 12 +----------- tests/drivers/gpio/gpio_basic_api/src/test_pin_rw.c | 12 +----------- tests/drivers/nsim_uart/src/main.c | 12 +----------- tests/drivers/pci_enum/src/pci_enum.c | 12 +----------- tests/drivers/pinmux/src/main.c | 12 +----------- tests/drivers/pwm/pwm_api/src/main.c | 12 +----------- tests/drivers/pwm/pwm_api/src/test_pwm.c | 12 +----------- tests/drivers/quark_clock/src/main.c | 12 +----------- tests/drivers/rtc/rtc_basic_api/src/main.c | 12 +----------- tests/drivers/rtc/rtc_basic_api/src/test_rtc.h | 12 +----------- .../drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c | 12 +----------- .../rtc/rtc_basic_api/src/test_rtc_calendar.c | 12 +----------- tests/drivers/spi_test/src/spi.c | 12 +----------- tests/drivers/uart/src/main.c | 12 +----------- tests/drivers/watchdog/wdt_basic_api/src/main.c | 12 +----------- .../watchdog/wdt_basic_api/src/test_wdt_timeout.c | 12 +----------- tests/fs/fat_fs/src/main.c | 12 +----------- tests/include/tc_nano_timeout_common.h | 12 +----------- tests/include/tc_util.h | 12 +----------- tests/include/util_test_common.h | 12 +----------- tests/kernel/alert/test_alert_api/src/main.c | 12 +----------- .../alert/test_alert_api/src/test_alert_contexts.c | 12 +----------- tests/kernel/arm_irq_vector_table/src/main.c | 12 +----------- tests/kernel/arm_runtime_nmi/src/main.c | 12 +----------- tests/kernel/bitfield/src/bitfield.c | 12 +----------- tests/kernel/common/src/atomic.c | 12 +----------- tests/kernel/common/src/bitfield.c | 12 +----------- tests/kernel/common/src/byteorder.c | 12 +----------- tests/kernel/common/src/intmath.c | 12 +----------- tests/kernel/common/src/main.c | 12 +----------- tests/kernel/common/src/printk.c | 12 +----------- tests/kernel/common/src/rand32.c | 12 +----------- tests/kernel/common/src/ring_buf.c | 12 +----------- tests/kernel/common/src/slist.c | 12 +----------- tests/kernel/context/src/context.c | 12 +----------- tests/kernel/critical/src/critical.c | 12 +----------- tests/kernel/ipm/src/ipm_dummy.c | 12 +----------- tests/kernel/ipm/src/ipm_dummy.h | 12 +----------- tests/kernel/ipm/src/main.c | 12 +----------- tests/kernel/mbox/mbox_api/src/main.c | 12 +----------- tests/kernel/mbox/mbox_api/src/test_mbox_api.c | 13 +------------ tests/kernel/mem_slab/src/slab.c | 12 +----------- tests/kernel/msgq/msgq_api/src/main.c | 12 +----------- tests/kernel/msgq/msgq_api/src/test_msgq.h | 12 +----------- tests/kernel/msgq/msgq_api/src/test_msgq_contexts.c | 12 +----------- tests/kernel/msgq/msgq_api/src/test_msgq_fail.c | 12 +----------- tests/kernel/msgq/msgq_api/src/test_msgq_purge.c | 12 +----------- tests/kernel/multilib/src/test_multilib.c | 12 +----------- tests/kernel/mutex/mutex_api/src/main.c | 12 +----------- tests/kernel/mutex/mutex_api/src/test_mutex_apis.c | 12 +----------- tests/kernel/semaphore/sema_api/src/main.c | 12 +----------- .../semaphore/sema_api/src/test_sema_contexts.c | 12 +----------- tests/kernel/sprintf/src/test_sprintf.c | 12 +----------- tests/kernel/stack/stack_api/src/main.c | 12 +----------- .../stack/stack_api/src/test_stack_contexts.c | 12 +----------- tests/kernel/stack/stack_api/src/test_stack_fail.c | 12 +----------- tests/kernel/stackprot/src/main.c | 12 +----------- .../threads_lifecycle/lifecycle_api/src/main.c | 12 +----------- .../lifecycle_api/src/test_threads_cancel_abort.c | 12 +----------- .../lifecycle_api/src/test_threads_spawn.c | 12 +----------- .../lifecycle_api/src/test_threads_suspend_resume.c | 12 +----------- .../kernel/threads_lifecycle/thread_init/src/main.c | 12 +----------- .../thread_init/src/test_thread_init.c | 12 +----------- .../threads_scheduling/schedule_api/src/main.c | 12 +----------- .../schedule_api/src/test_sched.h | 12 +----------- .../schedule_api/src/test_sched_priority.c | 12 +----------- .../src/test_sched_timeslice_and_lock.c | 12 +----------- tests/kernel/timer/timer_api/src/main.c | 12 +----------- tests/kernel/timer/timer_api/src/test_timer.h | 12 +----------- tests/kernel/timer/timer_api/src/test_timer_api.c | 12 +----------- tests/kernel/workq/workq_api/src/main.c | 12 +----------- tests/kernel/workq/workq_api/src/test_workq_api.c | 13 +------------ tests/kernel/xip/src/test.h | 12 +----------- tests/kernel/xip/src/test_xip.c | 12 +----------- tests/kernel/xip/src/test_xip_helper.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/config.h | 12 +----------- tests/legacy/benchmark/app_kernel/src/event_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/fifo_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/fifo_r.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/mailbox_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/mailbox_r.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/master.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/master.h | 12 +----------- tests/legacy/benchmark/app_kernel/src/memcfg.h | 12 +----------- tests/legacy/benchmark/app_kernel/src/memmap_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/mempool_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/mutex_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/pipe_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/pipe_r.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/receiver.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/receiver.h | 12 +----------- tests/legacy/benchmark/app_kernel/src/sema_b.c | 12 +----------- tests/legacy/benchmark/app_kernel/src/sema_r.c | 12 +----------- .../benchmark/boot_time/microkernel/src/boot_time.c | 12 +----------- .../benchmark/boot_time/nanokernel/src/boot_time.c | 12 +----------- .../microkernel/src/microkernel_footprint.c | 12 +----------- .../footprint/nanokernel/src/nanokernel_footprint.c | 12 +----------- tests/legacy/benchmark/latency_measure/src/main.c | 12 +----------- .../latency_measure/src/micro_int_to_task.c | 12 +----------- .../latency_measure/src/micro_int_to_task_evt.c | 12 +----------- .../latency_measure/src/micro_sema_lock_release.c | 12 +----------- .../latency_measure/src/micro_task_switch_yield.c | 12 +----------- .../benchmark/latency_measure/src/nano_ctx_switch.c | 12 +----------- .../legacy/benchmark/latency_measure/src/nano_int.c | 12 +----------- .../latency_measure/src/nano_int_lock_unlock.c | 12 +----------- .../latency_measure/src/nano_int_to_fiber.c | 12 +----------- .../latency_measure/src/nano_int_to_fiber_sem.c | 12 +----------- .../latency_measure/src/test_asm_inline_gcc.h | 12 +----------- .../benchmark/latency_measure/src/timestamp.h | 12 +----------- tests/legacy/benchmark/latency_measure/src/utils.c | 12 +----------- tests/legacy/benchmark/latency_measure/src/utils.h | 12 +----------- .../object_footprint/src/nanokernel_objects.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/lifo.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/mwfifo.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/sema.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/stack.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/syskernel.c | 12 +----------- tests/legacy/benchmark/sys_kernel/src/syskernel.h | 12 +----------- .../kernel/test_arm_irq_vector_table/src/main.c | 12 +----------- tests/legacy/kernel/test_context/src/context.c | 12 +----------- tests/legacy/kernel/test_critical/src/critical.c | 12 +----------- .../kernel/test_early_sleep/src/early_sleep.c | 12 +----------- tests/legacy/kernel/test_errno/src/main.c | 12 +----------- tests/legacy/kernel/test_events/src/events.c | 12 +----------- tests/legacy/kernel/test_events/src/test_fiber.c | 12 +----------- .../legacy/kernel/test_fifo/microkernel/src/fifo.c | 12 +----------- tests/legacy/kernel/test_fifo/nanokernel/src/fifo.c | 12 +----------- .../kernel/test_fifo/nanokernel/src/fifo_timeout.c | 12 +----------- .../test_fp_sharing/microkernel/src/float_context.h | 12 +----------- .../microkernel/src/float_regs_arm_gcc.h | 12 +----------- .../microkernel/src/float_regs_x86_gcc.h | 12 +----------- .../kernel/test_fp_sharing/microkernel/src/main.c | 12 +----------- .../kernel/test_fp_sharing/microkernel/src/pi.c | 12 +----------- .../test_fp_sharing/nanokernel/src/float_context.h | 12 +----------- .../nanokernel/src/float_regs_arm_gcc.h | 12 +----------- .../nanokernel/src/float_regs_x86_gcc.h | 12 +----------- .../kernel/test_fp_sharing/nanokernel/src/main.c | 12 +----------- .../kernel/test_fp_sharing/nanokernel/src/pi.c | 12 +----------- tests/legacy/kernel/test_irq_offload/src/main.c | 12 +----------- tests/legacy/kernel/test_libs/src/libraries.c | 12 +----------- tests/legacy/kernel/test_libs/src/main.c | 12 +----------- tests/legacy/kernel/test_lifo/src/lifo.c | 12 +----------- tests/legacy/kernel/test_mail/src/mail.c | 12 +----------- tests/legacy/kernel/test_mail/src/main.c | 12 +----------- tests/legacy/kernel/test_map/src/map.c | 12 +----------- tests/legacy/kernel/test_mem_safe/src/asm_x86.S | 12 +----------- tests/legacy/kernel/test_mem_safe/src/main.c | 12 +----------- tests/legacy/kernel/test_mutex/src/mutex.c | 12 +----------- tests/legacy/kernel/test_mutex/src/task12.c | 12 +----------- tests/legacy/kernel/test_nano_work/src/main.c | 12 +----------- .../microkernel/src/object_monitor.c | 12 +----------- .../kernel/test_obj_tracing/microkernel/src/phil.h | 12 +----------- .../test_obj_tracing/microkernel/src/phil_fiber.c | 12 +----------- .../test_obj_tracing/microkernel/src/phil_task.c | 12 +----------- .../nanokernel/src/object_monitor.c | 12 +----------- .../kernel/test_obj_tracing/nanokernel/src/phil.h | 12 +----------- .../test_obj_tracing/nanokernel/src/phil_fiber.c | 12 +----------- .../test_obj_tracing/nanokernel/src/phil_task.c | 12 +----------- tests/legacy/kernel/test_pend/src/pend.c | 12 +----------- tests/legacy/kernel/test_pipe/src/main.c | 12 +----------- tests/legacy/kernel/test_pipe/src/pipe.c | 12 +----------- tests/legacy/kernel/test_pool/src/pool.c | 12 +----------- .../legacy/kernel/test_sema/microkernel/src/main.c | 12 +----------- .../legacy/kernel/test_sema/microkernel/src/sema.c | 12 +----------- .../kernel/test_sema/microkernel/src/test_fiber.c | 12 +----------- tests/legacy/kernel/test_sema/nanokernel/src/sema.c | 12 +----------- tests/legacy/kernel/test_sleep/src/sleep.c | 12 +----------- .../legacy/kernel/test_stack/nanokernel/src/stack.c | 12 +----------- .../test_stackprot/microkernel/src/stackprot.c | 12 +----------- .../test_stackprot/nanokernel/src/stackprot.c | 12 +----------- .../test_static_idt/microkernel/src/static_idt.c | 12 +----------- .../microkernel/src/test_asm_inline_gcc.h | 12 +----------- .../test_static_idt/microkernel/src/test_stubs.S | 12 +----------- .../test_static_idt/nanokernel/src/static_idt.c | 12 +----------- .../nanokernel/src/test_asm_inline_gcc.h | 12 +----------- .../test_static_idt/nanokernel/src/test_stubs.S | 12 +----------- tests/legacy/kernel/test_task/src/task.c | 12 +----------- .../test_tickless/microkernel/src/test_tickless.c | 12 +----------- .../test_tickless/microkernel/src/timestamps.c | 12 +----------- .../kernel/test_timer/microkernel/src/timer.c | 12 +----------- .../legacy/kernel/test_timer/nanokernel/src/timer.c | 12 +----------- tests/net/6lo/src/main.c | 12 +----------- tests/net/arp/src/main.c | 12 +----------- tests/net/buf/src/main.c | 12 +----------- tests/net/context/src/main.c | 12 +----------- tests/net/dhcpv4/src/main.c | 12 +----------- tests/net/icmpv6/src/main.c | 12 +----------- tests/net/ieee802154/fragment/src/main.c | 12 +----------- .../net/ieee802154/l2/src/ieee802154_fake_driver.c | 12 +----------- tests/net/ieee802154/l2/src/ieee802154_test.c | 12 +----------- tests/net/ip-addr/src/main.c | 12 +----------- tests/net/ipv6/src/main.c | 12 +----------- tests/net/lib/http_header_fields/Makefile | 12 +----------- tests/net/lib/http_header_fields/src/Makefile | 12 +----------- tests/net/lib/mqtt_packet/src/mqtt_packet.c | 12 +----------- tests/net/lib/zoap/src/main.c | 12 +----------- tests/net/mgmt/src/mgmt.c | 12 +----------- tests/net/nbuf/src/main.c | 12 +----------- tests/net/neighbor/src/main.c | 12 +----------- tests/net/route/src/main.c | 12 +----------- tests/net/rpl/src/main.c | 12 +----------- tests/net/tcp/src/main.c | 12 +----------- tests/net/trickle/src/main.c | 12 +----------- tests/net/udp/src/main.c | 12 +----------- tests/net/utils/src/main.c | 12 +----------- tests/power/power_states/src/main.c | 12 +----------- tests/power/power_states/src/soc_watch_logger.c | 12 +----------- tests/power/power_states/src/soc_watch_logger.h | 12 +----------- tests/subsys/debug/gdb_server/src/main.c | 12 +----------- tests/unit/net/buf/main.c | 12 +----------- tests/ztest/Kconfig | 12 +----------- tests/ztest/include/ztest.h | 12 +----------- tests/ztest/include/ztest_assert.h | 12 +----------- tests/ztest/include/ztest_mock.h | 12 +----------- tests/ztest/include/ztest_test.h | 12 +----------- tests/ztest/src/ztest.c | 12 +----------- tests/ztest/src/ztest_mock.c | 12 +----------- tests/ztest/test/base/src/main.c | 12 +----------- tests/ztest/test/mock/src/main.c | 12 +----------- zephyr-env.sh | 12 +----------- 1637 files changed, 1642 insertions(+), 18009 deletions(-) diff --git a/Kconfig b/Kconfig index d988d1fd2ac..94a9afebc24 100644 --- a/Kconfig +++ b/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 # mainmenu "Zephyr Kernel Configuration" diff --git a/Kconfig.zephyr b/Kconfig.zephyr index a75bd670048..45b52acaf6e 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -4,17 +4,7 @@ # Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2016 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 # config KERNELVERSION string diff --git a/arch/Kconfig b/arch/Kconfig index 0af160817f7..d7777964c33 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -4,17 +4,7 @@ # Copyright (c) 2014-2015 Wind River Systems, Inc. # 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/arch/arc/Kconfig b/arch/arc/Kconfig index 7abac3f43d9..88faac1839a 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2014 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 # choice diff --git a/arch/arc/core/atomic.S b/arch/arc/core/atomic.S index 8bbc0fe7635..6c642500ee0 100644 --- a/arch/arc/core/atomic.S +++ b/arch/arc/core/atomic.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/cache.c b/arch/arc/core/cache.c index 0f4483ee12c..6a00ee93578 100644 --- a/arch/arc/core/cache.c +++ b/arch/arc/core/cache.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/core/cpu_idle.S b/arch/arc/core/cpu_idle.S index 08e34c2f765..6a7f1240262 100644 --- a/arch/arc/core/cpu_idle.S +++ b/arch/arc/core/cpu_idle.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/fast_irq.S b/arch/arc/core/fast_irq.S index 47b41ea2c47..ec9e431e1f8 100644 --- a/arch/arc/core/fast_irq.S +++ b/arch/arc/core/fast_irq.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/fatal.c b/arch/arc/core/fatal.c index c70b02f60d7..c0c76988fda 100644 --- a/arch/arc/core/fatal.c +++ b/arch/arc/core/fatal.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/fault.c b/arch/arc/core/fault.c index 711b026d972..59cb17cfe35 100644 --- a/arch/arc/core/fault.c +++ b/arch/arc/core/fault.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/fault_s.S b/arch/arc/core/fault_s.S index cc6ce830123..22e540fc350 100644 --- a/arch/arc/core/fault_s.S +++ b/arch/arc/core/fault_s.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/irq_manage.c b/arch/arc/core/irq_manage.c index 64d61cfdb1e..11f1e5bf870 100644 --- a/arch/arc/core/irq_manage.c +++ b/arch/arc/core/irq_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/irq_offload.c b/arch/arc/core/irq_offload.c index c92a0aa846b..b0d979353eb 100644 --- a/arch/arc/core/irq_offload.c +++ b/arch/arc/core/irq_offload.c @@ -1,17 +1,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/arch/arc/core/irq_vector_table.c b/arch/arc/core/irq_vector_table.c index af6a1bdfd22..d06c630203b 100644 --- a/arch/arc/core/irq_vector_table.c +++ b/arch/arc/core/irq_vector_table.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/isr_wrapper.S b/arch/arc/core/isr_wrapper.S index a7fef580ebd..0daca7acb16 100644 --- a/arch/arc/core/isr_wrapper.S +++ b/arch/arc/core/isr_wrapper.S @@ -1,17 +1,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 */ /** diff --git a/arch/arc/core/offsets/offsets.c b/arch/arc/core/offsets/offsets.c index 196c91f1f50..1a463e4ffa2 100644 --- a/arch/arc/core/offsets/offsets.c +++ b/arch/arc/core/offsets/offsets.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/prep_c.c b/arch/arc/core/prep_c.c index bf6366d69a9..52f88516795 100644 --- a/arch/arc/core/prep_c.c +++ b/arch/arc/core/prep_c.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/regular_irq.S b/arch/arc/core/regular_irq.S index 17cc085b860..506732d7e44 100644 --- a/arch/arc/core/regular_irq.S +++ b/arch/arc/core/regular_irq.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/reset.S b/arch/arc/core/reset.S index dd31a7825e6..70efb087ec4 100644 --- a/arch/arc/core/reset.S +++ b/arch/arc/core/reset.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/sw_isr_table.S b/arch/arc/core/sw_isr_table.S index 2d6ed5fe3c3..ae42bf2adcd 100644 --- a/arch/arc/core/sw_isr_table.S +++ b/arch/arc/core/sw_isr_table.S @@ -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 */ #define _ASMLANGUAGE diff --git a/arch/arc/core/swap.S b/arch/arc/core/swap.S index 7df1c1f1073..11e3e5a03d6 100644 --- a/arch/arc/core/swap.S +++ b/arch/arc/core/swap.S @@ -1,17 +1,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 */ /** diff --git a/arch/arc/core/sys_fatal_error_handler.c b/arch/arc/core/sys_fatal_error_handler.c index 0fe2ba96ec9..6e446faba4e 100644 --- a/arch/arc/core/sys_fatal_error_handler.c +++ b/arch/arc/core/sys_fatal_error_handler.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/thread.c b/arch/arc/core/thread.c index 143fd943248..22f0fc6ea0e 100644 --- a/arch/arc/core/thread.c +++ b/arch/arc/core/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/core/thread_entry_wrapper.S b/arch/arc/core/thread_entry_wrapper.S index 79e84eb2d02..97e78509848 100644 --- a/arch/arc/core/thread_entry_wrapper.S +++ b/arch/arc/core/thread_entry_wrapper.S @@ -1,17 +1,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 */ /** diff --git a/arch/arc/core/vector_table.c b/arch/arc/core/vector_table.c index c7bb37fba25..7b754407c22 100644 --- a/arch/arc/core/vector_table.c +++ b/arch/arc/core/vector_table.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/include/kernel_arch_data.h b/arch/arc/include/kernel_arch_data.h index 9dc3e5e4264..dd34fa1f217 100644 --- a/arch/arc/include/kernel_arch_data.h +++ b/arch/arc/include/kernel_arch_data.h @@ -1,17 +1,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 */ /** diff --git a/arch/arc/include/kernel_arch_func.h b/arch/arc/include/kernel_arch_func.h index 55bc4d3b2ae..a717ee9c0f6 100644 --- a/arch/arc/include/kernel_arch_func.h +++ b/arch/arc/include/kernel_arch_func.h @@ -1,17 +1,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 */ /** diff --git a/arch/arc/include/kernel_event_logger_arch.h b/arch/arc/include/kernel_event_logger_arch.h index d19a9e8683e..e798ee37bb4 100644 --- a/arch/arc/include/kernel_event_logger_arch.h +++ b/arch/arc/include/kernel_event_logger_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/arc/include/offsets_short_arch.h b/arch/arc/include/offsets_short_arch.h index e158b142d76..eccf45ece8c 100644 --- a/arch/arc/include/offsets_short_arch.h +++ b/arch/arc/include/offsets_short_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _offsets_short_arch__h_ diff --git a/arch/arc/include/swap_macros.h b/arch/arc/include/swap_macros.h index 7a732eb7ceb..f3e9f7b3886 100644 --- a/arch/arc/include/swap_macros.h +++ b/arch/arc/include/swap_macros.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef _SWAP_MACROS__H_ diff --git a/arch/arc/include/v2/cache.h b/arch/arc/include/v2/cache.h index 891d3298f86..9bdb766c0e2 100644 --- a/arch/arc/include/v2/cache.h +++ b/arch/arc/include/v2/cache.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/include/v2/irq.h b/arch/arc/include/v2/irq.h index 8886e1a2df4..a2ec7ed158c 100644 --- a/arch/arc/include/v2/irq.h +++ b/arch/arc/include/v2/irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/include/vector_table.h b/arch/arc/include/vector_table.h index 624e1df0046..d815f09b27c 100644 --- a/arch/arc/include/vector_table.h +++ b/arch/arc/include/vector_table.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arc/soc/em11d/Kconfig.defconfig b/arch/arc/soc/em11d/Kconfig.defconfig index 9b964605d69..47ea3876d18 100644 --- a/arch/arc/soc/em11d/Kconfig.defconfig +++ b/arch/arc/soc/em11d/Kconfig.defconfig @@ -2,17 +2,7 @@ # Copyright (c) 2014 Wind River Systems, Inc. # Copyright (c) 2016 Synopsys, Inc. All rights reserved. # -# 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_EM11D diff --git a/arch/arc/soc/em11d/linker.ld b/arch/arc/soc/em11d/linker.ld index 4e338c45ecd..805a38744e4 100644 --- a/arch/arc/soc/em11d/linker.ld +++ b/arch/arc/soc/em11d/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em11d/soc.c b/arch/arc/soc/em11d/soc.c index eda9bc17cc8..460336c74dc 100644 --- a/arch/arc/soc/em11d/soc.c +++ b/arch/arc/soc/em11d/soc.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em11d/soc.h b/arch/arc/soc/em11d/soc.h index 1c69e0e6bbf..52f8173b265 100644 --- a/arch/arc/soc/em11d/soc.h +++ b/arch/arc/soc/em11d/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em11d/soc_config.c b/arch/arc/soc/em11d/soc_config.c index 9b8a5ab3641..720aa4b18cb 100644 --- a/arch/arc/soc/em11d/soc_config.c +++ b/arch/arc/soc/em11d/soc_config.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em7d/Kconfig.defconfig b/arch/arc/soc/em7d/Kconfig.defconfig index 3f4a563dd3a..529c229db92 100644 --- a/arch/arc/soc/em7d/Kconfig.defconfig +++ b/arch/arc/soc/em7d/Kconfig.defconfig @@ -2,17 +2,7 @@ # Copyright (c) 2014 Wind River Systems, Inc. # Copyright (c) 2016 Synopsys, Inc. All rights reserved. # -# 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_EM7D diff --git a/arch/arc/soc/em7d/linker.ld b/arch/arc/soc/em7d/linker.ld index 887c7446bc5..3a7cdb3c5bc 100644 --- a/arch/arc/soc/em7d/linker.ld +++ b/arch/arc/soc/em7d/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em7d/soc.c b/arch/arc/soc/em7d/soc.c index eda9bc17cc8..460336c74dc 100644 --- a/arch/arc/soc/em7d/soc.c +++ b/arch/arc/soc/em7d/soc.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em7d/soc.h b/arch/arc/soc/em7d/soc.h index 1c69e0e6bbf..52f8173b265 100644 --- a/arch/arc/soc/em7d/soc.h +++ b/arch/arc/soc/em7d/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em7d/soc_config.c b/arch/arc/soc/em7d/soc_config.c index 9b8a5ab3641..720aa4b18cb 100644 --- a/arch/arc/soc/em7d/soc_config.c +++ b/arch/arc/soc/em7d/soc_config.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em9d/Kconfig.defconfig b/arch/arc/soc/em9d/Kconfig.defconfig index f73577d5402..4dba9be1187 100644 --- a/arch/arc/soc/em9d/Kconfig.defconfig +++ b/arch/arc/soc/em9d/Kconfig.defconfig @@ -2,17 +2,7 @@ # Copyright (c) 2014 Wind River Systems, Inc. # Copyright (c) 2016 Synopsys, Inc. All rights reserved. # -# 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_EM9D diff --git a/arch/arc/soc/em9d/linker.ld b/arch/arc/soc/em9d/linker.ld index 7894c2d7dff..04de9032382 100644 --- a/arch/arc/soc/em9d/linker.ld +++ b/arch/arc/soc/em9d/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em9d/soc.c b/arch/arc/soc/em9d/soc.c index eda9bc17cc8..460336c74dc 100644 --- a/arch/arc/soc/em9d/soc.c +++ b/arch/arc/soc/em9d/soc.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em9d/soc.h b/arch/arc/soc/em9d/soc.h index 1c69e0e6bbf..52f8173b265 100644 --- a/arch/arc/soc/em9d/soc.h +++ b/arch/arc/soc/em9d/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/em9d/soc_config.c b/arch/arc/soc/em9d/soc_config.c index 9b8a5ab3641..720aa4b18cb 100644 --- a/arch/arc/soc/em9d/soc_config.c +++ b/arch/arc/soc/em9d/soc_config.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Synopsys, Inc. All rights reserved. * - * 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/arc/soc/quark_se_c1000_ss/Kconfig b/arch/arc/soc/quark_se_c1000_ss/Kconfig index af259c2c87a..8f9ff7e9b42 100644 --- a/arch/arc/soc/quark_se_c1000_ss/Kconfig +++ b/arch/arc/soc/quark_se_c1000_ss/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # if ARC && SOC_QUARK_SE_C1000_SS diff --git a/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig b/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig index 619625550ea..e85ef6fdd91 100644 --- a/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig +++ b/arch/arc/soc/quark_se_c1000_ss/Kconfig.defconfig @@ -2,17 +2,7 @@ # Copyright (c) 2014 Wind River Systems, Inc. # Copyright (c) 2015-2016 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 # if SOC_QUARK_SE_C1000_SS diff --git a/arch/arc/soc/quark_se_c1000_ss/linker.ld b/arch/arc/soc/quark_se_c1000_ss/linker.ld index 893acea40e6..aa43c352d29 100644 --- a/arch/arc/soc/quark_se_c1000_ss/linker.ld +++ b/arch/arc/soc/quark_se_c1000_ss/linker.ld @@ -1,17 +1,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 */ /** diff --git a/arch/arc/soc/quark_se_c1000_ss/power.c b/arch/arc/soc/quark_se_c1000_ss/power.c index d3284862a2b..2f4df3deff6 100644 --- a/arch/arc/soc/quark_se_c1000_ss/power.c +++ b/arch/arc/soc/quark_se_c1000_ss/power.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/arc/soc/quark_se_c1000_ss/soc.c b/arch/arc/soc/quark_se_c1000_ss/soc.c index fc5ca1e8b3d..3986556f2ad 100644 --- a/arch/arc/soc/quark_se_c1000_ss/soc.c +++ b/arch/arc/soc/quark_se_c1000_ss/soc.c @@ -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 */ /** diff --git a/arch/arc/soc/quark_se_c1000_ss/soc.h b/arch/arc/soc/quark_se_c1000_ss/soc.h index 463ab56a0e8..3c35970bf23 100644 --- a/arch/arc/soc/quark_se_c1000_ss/soc.h +++ b/arch/arc/soc/quark_se_c1000_ss/soc.h @@ -1,17 +1,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 */ /** diff --git a/arch/arc/soc/quark_se_c1000_ss/soc_config.c b/arch/arc/soc/quark_se_c1000_ss/soc_config.c index 685c8c7ce90..070efa54952 100644 --- a/arch/arc/soc/quark_se_c1000_ss/soc_config.c +++ b/arch/arc/soc/quark_se_c1000_ss/soc_config.c @@ -1,17 +1,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 diff --git a/arch/arc/soc/quark_se_c1000_ss/soc_power.S b/arch/arc/soc/quark_se_c1000_ss/soc_power.S index 36c2d1f4b48..ecbef056798 100644 --- a/arch/arc/soc/quark_se_c1000_ss/soc_power.S +++ b/arch/arc/soc/quark_se_c1000_ss/soc_power.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/arc/soc/quark_se_c1000_ss/soc_power.h b/arch/arc/soc/quark_se_c1000_ss/soc_power.h index 6fa373dd740..5c8e763cfc0 100644 --- a/arch/arc/soc/quark_se_c1000_ss/soc_power.h +++ b/arch/arc/soc/quark_se_c1000_ss/soc_power.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SOC_POWER_H_ diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 034f3bc0b21..a689848ab32 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/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 # choice diff --git a/arch/arm/core/Kconfig b/arch/arm/core/Kconfig index b4218443a6c..6031717587f 100644 --- a/arch/arm/core/Kconfig +++ b/arch/arm/core/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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 # config CPU_CORTEX diff --git a/arch/arm/core/__aeabi_atexit.c b/arch/arm/core/__aeabi_atexit.c index a2f8ad8090c..6ef0bdffb19 100644 --- a/arch/arm/core/__aeabi_atexit.c +++ b/arch/arm/core/__aeabi_atexit.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* diff --git a/arch/arm/core/cortex_m/Kconfig b/arch/arm/core/cortex_m/Kconfig index dc35cad4014..df8ab118198 100644 --- a/arch/arm/core/cortex_m/Kconfig +++ b/arch/arm/core/cortex_m/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 # config ISA_THUMB2 diff --git a/arch/arm/core/cortex_m/exc_manage.c b/arch/arm/core/cortex_m/exc_manage.c index 70df9568fa6..d421957702c 100644 --- a/arch/arm/core/cortex_m/exc_manage.c +++ b/arch/arm/core/cortex_m/exc_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/arm/core/cortex_m/irq_vector_table.c b/arch/arm/core/cortex_m/irq_vector_table.c index 5f53773d5ac..25c3e1e8d3d 100644 --- a/arch/arm/core/cortex_m/irq_vector_table.c +++ b/arch/arm/core/cortex_m/irq_vector_table.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation. * Copyright (c) 2014 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/arch/arm/core/cortex_m/nmi.c b/arch/arm/core/cortex_m/nmi.c index 468fe3c8bad..467e68af74a 100644 --- a/arch/arm/core/cortex_m/nmi.c +++ b/arch/arm/core/cortex_m/nmi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/nmi_on_reset.S b/arch/arm/core/cortex_m/nmi_on_reset.S index 3e329a87603..7df5bc93fe7 100644 --- a/arch/arm/core/cortex_m/nmi_on_reset.S +++ b/arch/arm/core/cortex_m/nmi_on_reset.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/prep_c.c b/arch/arm/core/cortex_m/prep_c.c index 449d2be700a..a476b367aed 100644 --- a/arch/arm/core/cortex_m/prep_c.c +++ b/arch/arm/core/cortex_m/prep_c.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/reset.S b/arch/arm/core/cortex_m/reset.S index d69f3d086f1..5c60f48a10e 100644 --- a/arch/arm/core/cortex_m/reset.S +++ b/arch/arm/core/cortex_m/reset.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/scb.c b/arch/arm/core/cortex_m/scb.c index 0e23d3a4cce..1ce219a9865 100644 --- a/arch/arm/core/cortex_m/scb.c +++ b/arch/arm/core/cortex_m/scb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/scs.c b/arch/arm/core/cortex_m/scs.c index f63ff8481d2..74d4bdf80f3 100644 --- a/arch/arm/core/cortex_m/scs.c +++ b/arch/arm/core/cortex_m/scs.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/cortex_m/sw_isr_table.S b/arch/arm/core/cortex_m/sw_isr_table.S index 7e081818833..b440c37f3d8 100644 --- a/arch/arm/core/cortex_m/sw_isr_table.S +++ b/arch/arm/core/cortex_m/sw_isr_table.S @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/arm/core/cortex_m/vector_table.S b/arch/arm/core/cortex_m/vector_table.S index ceff57798b3..ea58412133b 100644 --- a/arch/arm/core/cortex_m/vector_table.S +++ b/arch/arm/core/cortex_m/vector_table.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/arch/arm/core/cortex_m/vector_table.h b/arch/arm/core/cortex_m/vector_table.h index a8857e1eda8..e07d90520f8 100644 --- a/arch/arm/core/cortex_m/vector_table.h +++ b/arch/arm/core/cortex_m/vector_table.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/arch/arm/core/cpu_idle.S b/arch/arm/core/cpu_idle.S index 7f78e30494f..0360bb8fa7a 100644 --- a/arch/arm/core/cpu_idle.S +++ b/arch/arm/core/cpu_idle.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/exc_exit.S b/arch/arm/core/exc_exit.S index e02cd7bfccd..faa00dfdce5 100644 --- a/arch/arm/core/exc_exit.S +++ b/arch/arm/core/exc_exit.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/fatal.c b/arch/arm/core/fatal.c index 2d784cf532d..d5a2308176e 100644 --- a/arch/arm/core/fatal.c +++ b/arch/arm/core/fatal.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/core/fault.c b/arch/arm/core/fault.c index b5d60d7fbab..60ca5a0c6f5 100644 --- a/arch/arm/core/fault.c +++ b/arch/arm/core/fault.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/core/fault_s.S b/arch/arm/core/fault_s.S index cdf064aa5b6..01748bcba3d 100644 --- a/arch/arm/core/fault_s.S +++ b/arch/arm/core/fault_s.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/irq_init.c b/arch/arm/core/irq_init.c index 856c19685c0..b121c7f1a9d 100644 --- a/arch/arm/core/irq_init.c +++ b/arch/arm/core/irq_init.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/core/irq_manage.c b/arch/arm/core/irq_manage.c index 214913067be..dbb645f6a67 100644 --- a/arch/arm/core/irq_manage.c +++ b/arch/arm/core/irq_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/irq_offload.c b/arch/arm/core/irq_offload.c index 0236e36644c..85ac49112f5 100644 --- a/arch/arm/core/irq_offload.c +++ b/arch/arm/core/irq_offload.c @@ -1,17 +1,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/arch/arm/core/isr_wrapper.S b/arch/arm/core/isr_wrapper.S index 4eee9fb43f0..01cb9b032c9 100644 --- a/arch/arm/core/isr_wrapper.S +++ b/arch/arm/core/isr_wrapper.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/offsets/offsets.c b/arch/arm/core/offsets/offsets.c index 18c89fe659e..230e9ed55ec 100644 --- a/arch/arm/core/offsets/offsets.c +++ b/arch/arm/core/offsets/offsets.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/swap.S b/arch/arm/core/swap.S index 93f18e0f29a..dd091254611 100644 --- a/arch/arm/core/swap.S +++ b/arch/arm/core/swap.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/sys_fatal_error_handler.c b/arch/arm/core/sys_fatal_error_handler.c index b9634f489a7..7ca627cb4bb 100644 --- a/arch/arm/core/sys_fatal_error_handler.c +++ b/arch/arm/core/sys_fatal_error_handler.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/core/thread.c b/arch/arm/core/thread.c index fdfd775f9f8..d01ada481db 100644 --- a/arch/arm/core/thread.c +++ b/arch/arm/core/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/core/thread_abort.c b/arch/arm/core/thread_abort.c index 17c5e7c4384..ec1a18e532a 100644 --- a/arch/arm/core/thread_abort.c +++ b/arch/arm/core/thread_abort.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/arch/arm/include/asm_inline.h b/arch/arm/include/asm_inline.h index 4e64bd0cfb5..023a8e39926 100644 --- a/arch/arm/include/asm_inline.h +++ b/arch/arm/include/asm_inline.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_H diff --git a/arch/arm/include/cortex_m/asm_inline_gcc.h b/arch/arm/include/cortex_m/asm_inline_gcc.h index 3c74d7e7b7d..19494f1a806 100644 --- a/arch/arm/include/cortex_m/asm_inline_gcc.h +++ b/arch/arm/include/cortex_m/asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_GCC_H diff --git a/arch/arm/include/cortex_m/exc.h b/arch/arm/include/cortex_m/exc.h index 5d030aeb78b..ab25ebd77c9 100644 --- a/arch/arm/include/cortex_m/exc.h +++ b/arch/arm/include/cortex_m/exc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/include/cortex_m/stack.h b/arch/arm/include/cortex_m/stack.h index f0396d58cea..266b25e8ea4 100644 --- a/arch/arm/include/cortex_m/stack.h +++ b/arch/arm/include/cortex_m/stack.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/include/kernel_arch_data.h b/arch/arm/include/kernel_arch_data.h index 4863ecb41a0..763d03c4121 100644 --- a/arch/arm/include/kernel_arch_data.h +++ b/arch/arm/include/kernel_arch_data.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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 */ /** diff --git a/arch/arm/include/kernel_arch_func.h b/arch/arm/include/kernel_arch_func.h index 965c6eb0a34..fea2aa9e2a6 100644 --- a/arch/arm/include/kernel_arch_func.h +++ b/arch/arm/include/kernel_arch_func.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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 */ /** diff --git a/arch/arm/include/kernel_event_logger_arch.h b/arch/arm/include/kernel_event_logger_arch.h index 01ac3d97030..6444812e5a4 100644 --- a/arch/arm/include/kernel_event_logger_arch.h +++ b/arch/arm/include/kernel_event_logger_arch.h @@ -1,17 +1,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/arch/arm/include/offsets_short_arch.h b/arch/arm/include/offsets_short_arch.h index 983d0693805..fa16348929c 100644 --- a/arch/arm/include/offsets_short_arch.h +++ b/arch/arm/include/offsets_short_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _offsets_short_arch__h_ diff --git a/arch/arm/soc/arm/Kbuild b/arch/arm/soc/arm/Kbuild index 3cb15c7e04d..efd8af8e62e 100644 --- a/arch/arm/soc/arm/Kbuild +++ b/arch/arm/soc/arm/Kbuild @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_SERIES)/ diff --git a/arch/arm/soc/arm/Kconfig b/arch/arm/soc/arm/Kconfig index d7177864ac7..77cb98d51a5 100644 --- a/arch/arm/soc/arm/Kconfig +++ b/arch/arm/soc/arm/Kconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_FAMILY_ARM diff --git a/arch/arm/soc/arm/Kconfig.defconfig b/arch/arm/soc/arm/Kconfig.defconfig index a2b2494ce35..765ebbcb42c 100644 --- a/arch/arm/soc/arm/Kconfig.defconfig +++ b/arch/arm/soc/arm/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 # source "arch/arm/soc/arm/*/Kconfig.defconfig.series" diff --git a/arch/arm/soc/arm/Kconfig.soc b/arch/arm/soc/arm/Kconfig.soc index 9c8e69bf6e0..649d83501d5 100644 --- a/arch/arm/soc/arm/Kconfig.soc +++ b/arch/arm/soc/arm/Kconfig.soc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 # source "arch/arm/soc/arm/*/Kconfig.series" diff --git a/arch/arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 b/arch/arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 index 126161de7fd..7134510ae7b 100644 --- a/arch/arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 +++ b/arch/arm/soc/arm/beetle/Kconfig.defconfig.beetle_r0 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_BEETLE_R0 diff --git a/arch/arm/soc/arm/beetle/Kconfig.defconfig.series b/arch/arm/soc/arm/beetle/Kconfig.defconfig.series index 726ad2de79f..1df64539cf4 100644 --- a/arch/arm/soc/arm/beetle/Kconfig.defconfig.series +++ b/arch/arm/soc/arm/beetle/Kconfig.defconfig.series @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_BEETLE diff --git a/arch/arm/soc/arm/beetle/Kconfig.series b/arch/arm/soc/arm/beetle/Kconfig.series index 6d5d4c82626..ecd754c8196 100644 --- a/arch/arm/soc/arm/beetle/Kconfig.series +++ b/arch/arm/soc/arm/beetle/Kconfig.series @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_BEETLE diff --git a/arch/arm/soc/arm/beetle/Kconfig.soc b/arch/arm/soc/arm/beetle/Kconfig.soc index 45f79db38c6..7972d329e62 100644 --- a/arch/arm/soc/arm/beetle/Kconfig.soc +++ b/arch/arm/soc/arm/beetle/Kconfig.soc @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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/arm/beetle/Makefile b/arch/arm/soc/arm/beetle/Makefile index c13e1effb68..d53ee3b08b9 100644 --- a/arch/arm/soc/arm/beetle/Makefile +++ b/arch/arm/soc/arm/beetle/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 power.o diff --git a/arch/arm/soc/arm/beetle/linker.ld b/arch/arm/soc/arm/beetle/linker.ld index cf2cfad5942..b6ccb02793c 100644 --- a/arch/arm/soc/arm/beetle/linker.ld +++ b/arch/arm/soc/arm/beetle/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/arm/beetle/power.c b/arch/arm/soc/arm/beetle/power.c index d12c82e442a..61216102700 100644 --- a/arch/arm/soc/arm/beetle/power.c +++ b/arch/arm/soc/arm/beetle/power.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc.c b/arch/arm/soc/arm/beetle/soc.c index 950a0e464ff..d52c00c7792 100644 --- a/arch/arm/soc/arm/beetle/soc.c +++ b/arch/arm/soc/arm/beetle/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc.h b/arch/arm/soc/arm/beetle/soc.h index 3b572b7acb0..927ebe8a834 100644 --- a/arch/arm/soc/arm/beetle/soc.h +++ b/arch/arm/soc/arm/beetle/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc_irq.h b/arch/arm/soc/arm/beetle/soc_irq.h index 0f60dc6f5d2..e5efc9c6e97 100644 --- a/arch/arm/soc/arm/beetle/soc_irq.h +++ b/arch/arm/soc/arm/beetle/soc_irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc_pins.h b/arch/arm/soc/arm/beetle/soc_pins.h index 403ff21608c..ed2a5c46d8f 100644 --- a/arch/arm/soc/arm/beetle/soc_pins.h +++ b/arch/arm/soc/arm/beetle/soc_pins.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc_pll.h b/arch/arm/soc/arm/beetle/soc_pll.h index ff18ea1e242..c420171a676 100644 --- a/arch/arm/soc/arm/beetle/soc_pll.h +++ b/arch/arm/soc/arm/beetle/soc_pll.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arm/beetle/soc_power.h b/arch/arm/soc/arm/beetle/soc_power.h index 0eb884b2a98..64d68f24bb6 100644 --- a/arch/arm/soc/arm/beetle/soc_power.h +++ b/arch/arm/soc/arm/beetle/soc_power.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _SOC_POWER_H_ diff --git a/arch/arm/soc/arm/beetle/soc_registers.h b/arch/arm/soc/arm/beetle/soc_registers.h index 2cd99599dc2..269f397dac9 100644 --- a/arch/arm/soc/arm/beetle/soc_registers.h +++ b/arch/arm/soc/arm/beetle/soc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/atmel_sam3/Kconfig b/arch/arm/soc/atmel_sam3/Kconfig index 2563cc5be08..2164cda3e3d 100644 --- a/arch/arm/soc/atmel_sam3/Kconfig +++ b/arch/arm/soc/atmel_sam3/Kconfig @@ -4,17 +4,7 @@ # Copyright (c) 2016 Intel Corporation. # 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 # config SOC_ATMEL_SAM3 diff --git a/arch/arm/soc/atmel_sam3/Kconfig.defconfig b/arch/arm/soc/atmel_sam3/Kconfig.defconfig index de9d486ceb2..3ba839cb24c 100644 --- a/arch/arm/soc/atmel_sam3/Kconfig.defconfig +++ b/arch/arm/soc/atmel_sam3/Kconfig.defconfig @@ -4,17 +4,7 @@ # Copyright (c) 2016 Intel Corporation. # 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 # if SOC_ATMEL_SAM3 diff --git a/arch/arm/soc/atmel_sam3/linker.ld b/arch/arm/soc/atmel_sam3/linker.ld index cf2cfad5942..b6ccb02793c 100644 --- a/arch/arm/soc/atmel_sam3/linker.ld +++ b/arch/arm/soc/atmel_sam3/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/atmel_sam3/soc.c b/arch/arm/soc/atmel_sam3/soc.c index 0620b0834b0..879f376845f 100644 --- a/arch/arm/soc/atmel_sam3/soc.c +++ b/arch/arm/soc/atmel_sam3/soc.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation. * Copyright (c) 2013-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/arch/arm/soc/atmel_sam3/soc.h b/arch/arm/soc/atmel_sam3/soc.h index 767ab7b249a..39945d13be5 100644 --- a/arch/arm/soc/atmel_sam3/soc.h +++ b/arch/arm/soc/atmel_sam3/soc.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation. * Copyright (c) 2013-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/arch/arm/soc/atmel_sam3/soc_registers.h b/arch/arm/soc/atmel_sam3/soc_registers.h index 9f9db1c8108..e86c9a5fac5 100644 --- a/arch/arm/soc/atmel_sam3/soc_registers.h +++ b/arch/arm/soc/atmel_sam3/soc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/arm/soc/nordic_nrf5/Kconfig b/arch/arm/soc/nordic_nrf5/Kconfig index dbac02d7e62..170e7eb1161 100644 --- a/arch/arm/soc/nordic_nrf5/Kconfig +++ b/arch/arm/soc/nordic_nrf5/Kconfig @@ -2,17 +2,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 # config SOC_FAMILY_NRF5 diff --git a/arch/arm/soc/nordic_nrf5/Kconfig.defconfig b/arch/arm/soc/nordic_nrf5/Kconfig.defconfig index abd46a0c260..de0030fc1ff 100644 --- a/arch/arm/soc/nordic_nrf5/Kconfig.defconfig +++ b/arch/arm/soc/nordic_nrf5/Kconfig.defconfig @@ -2,17 +2,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 # if SOC_FAMILY_NRF5 diff --git a/arch/arm/soc/nordic_nrf5/Kconfig.soc b/arch/arm/soc/nordic_nrf5/Kconfig.soc index 922a486f4b3..e3dee746059 100644 --- a/arch/arm/soc/nordic_nrf5/Kconfig.soc +++ b/arch/arm/soc/nordic_nrf5/Kconfig.soc @@ -2,17 +2,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 # source "arch/arm/soc/nordic_nrf5/*/Kconfig.series" diff --git a/arch/arm/soc/nordic_nrf5/include/nrf5_common.h b/arch/arm/soc/nordic_nrf5/include/nrf5_common.h index 0677056650f..e4fe6474576 100644 --- a/arch/arm/soc/nordic_nrf5/include/nrf5_common.h +++ b/arch/arm/soc/nordic_nrf5/include/nrf5_common.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Linaro Ltd. * 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 */ #ifndef _NRF5_SOC_COMMON_H_ diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAA b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAA index e1e031ab739..706c756fcc2 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAA +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAA @@ -3,17 +3,7 @@ # Copyright (c) 2016 Linaro Limited # 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 # if SOC_NRF51822_QFAA diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAB b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAB index be53d0c6ebe..e3476627a64 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAB +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAB @@ -3,17 +3,7 @@ # Copyright (c) 2016 Linaro Limited # 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 # if SOC_NRF51822_QFAB diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAC b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAC index 9ac707a8bf5..5e669445746 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAC +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.nrf51822_QFAC @@ -3,17 +3,7 @@ # Copyright (c) 2016 Linaro Limited # 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 # if SOC_NRF51822_QFAC diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.series b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.series index 121b46cf49b..bf697eb5de4 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.series +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.defconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_NRF51X diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series index 9eb44d7af92..f4b2d2dc537 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_NRF51X diff --git a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc index 70d9bf84dac..ee9ab37e811 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc +++ b/arch/arm/soc/nordic_nrf5/nrf51/Kconfig.soc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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/nordic_nrf5/nrf51/linker.ld b/arch/arm/soc/nordic_nrf5/nrf51/linker.ld index cf2cfad5942..b6ccb02793c 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/linker.ld +++ b/arch/arm/soc/nordic_nrf5/nrf51/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/nordic_nrf5/nrf51/soc.c b/arch/arm/soc/nordic_nrf5/nrf51/soc.c index cea06efea77..d3ff5e08595 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/soc.c +++ b/arch/arm/soc/nordic_nrf5/nrf51/soc.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Linaro Limited * - * 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/nordic_nrf5/nrf51/soc.h b/arch/arm/soc/nordic_nrf5/nrf51/soc.h index c721c7489a4..80589fcbaa6 100644 --- a/arch/arm/soc/nordic_nrf5/nrf51/soc.h +++ b/arch/arm/soc/nordic_nrf5/nrf51/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 index 4e59583d172..29f66eaf010 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 +++ b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52832 @@ -2,17 +2,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/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 index 11a45a5d03a..d880477537c 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 +++ b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52840 @@ -2,17 +2,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/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.series b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.series index ad4354c3483..e92bef8960d 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.series +++ b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.series @@ -2,17 +2,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 # if SOC_SERIES_NRF52X diff --git a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series index 103c6010f31..02fc3a0f99c 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series +++ b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.series @@ -2,17 +2,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 # config SOC_SERIES_NRF52X diff --git a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc index 5caec5dfbf4..1a36ae8e15a 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc +++ b/arch/arm/soc/nordic_nrf5/nrf52/Kconfig.soc @@ -2,17 +2,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 # choice diff --git a/arch/arm/soc/nordic_nrf5/nrf52/linker.ld b/arch/arm/soc/nordic_nrf5/nrf52/linker.ld index cf2cfad5942..b6ccb02793c 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/linker.ld +++ b/arch/arm/soc/nordic_nrf5/nrf52/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/nordic_nrf5/nrf52/soc.c b/arch/arm/soc/nordic_nrf5/nrf52/soc.c index d0a9afc40f1..5fa74e6f85b 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/soc.c +++ b/arch/arm/soc/nordic_nrf5/nrf52/soc.c @@ -1,17 +1,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/arch/arm/soc/nordic_nrf5/nrf52/soc.h b/arch/arm/soc/nordic_nrf5/nrf52/soc.h index 62fb92c13af..bfd16e8e986 100644 --- a/arch/arm/soc/nordic_nrf5/nrf52/soc.h +++ b/arch/arm/soc/nordic_nrf5/nrf52/soc.h @@ -1,17 +1,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/arch/arm/soc/nxp_kinetis/Kconfig b/arch/arm/soc/nxp_kinetis/Kconfig index ebb7abd6c18..c0b01b56d72 100644 --- a/arch/arm/soc/nxp_kinetis/Kconfig +++ b/arch/arm/soc/nxp_kinetis/Kconfig @@ -2,17 +2,7 @@ # Copyright (c) 2016 Intel Corporation # Copyright (c) 2016, Freescale Semiconductor, 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 # config SOC_FAMILY_KINETIS diff --git a/arch/arm/soc/nxp_kinetis/Kconfig.soc b/arch/arm/soc/nxp_kinetis/Kconfig.soc index fc01277ca99..31cadb6126b 100644 --- a/arch/arm/soc/nxp_kinetis/Kconfig.soc +++ b/arch/arm/soc/nxp_kinetis/Kconfig.soc @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # source "arch/arm/soc/nxp_kinetis/*/Kconfig.series" diff --git a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 index a86e54e3584..edaea08ad41 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 +++ b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12 @@ -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 # if SOC_MK64F12 diff --git a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.series b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.series index 17fbd0e8e5b..7cb1e414b13 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.series +++ b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.defconfig.series @@ -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 # if SOC_SERIES_KINETIS_K6X diff --git a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.series b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.series index 4d05064ca6e..74e0aed25e7 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.series +++ b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.series @@ -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 SOC_SERIES_KINETIS_K6X diff --git a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc index afa068b163f..1c948d7ed17 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc +++ b/arch/arm/soc/nxp_kinetis/k6x/Kconfig.soc @@ -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 # choice diff --git a/arch/arm/soc/nxp_kinetis/k6x/linker.ld b/arch/arm/soc/nxp_kinetis/k6x/linker.ld index 19cee853e2b..a7fbabf8157 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/linker.ld +++ b/arch/arm/soc/nxp_kinetis/k6x/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/soc/nxp_kinetis/k6x/soc.c b/arch/arm/soc/nxp_kinetis/k6x/soc.c index 889072edf2f..d0f0da43985 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/soc.c +++ b/arch/arm/soc/nxp_kinetis/k6x/soc.c @@ -2,17 +2,7 @@ * Copyright (c) 2014-2015 Wind River Systems, Inc. * Copyright (c) 2016, Freescale Semiconductor, 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/arch/arm/soc/nxp_kinetis/k6x/soc.h b/arch/arm/soc/nxp_kinetis/k6x/soc.h index 6fc7df9619d..ab9cab3f299 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/soc.h +++ b/arch/arm/soc/nxp_kinetis/k6x/soc.h @@ -1,17 +1,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 */ /** diff --git a/arch/arm/soc/nxp_kinetis/k6x/soc_config.c b/arch/arm/soc/nxp_kinetis/k6x/soc_config.c index 0ef7313e849..e97c7c9ed35 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/soc_config.c +++ b/arch/arm/soc/nxp_kinetis/k6x/soc_config.c @@ -2,17 +2,7 @@ * Copyright (c) 2015 Intel Corporation. * Copyright (c) 2016, Freescale Semiconductor, 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/arch/arm/soc/nxp_kinetis/k6x/wdog.S b/arch/arm/soc/nxp_kinetis/k6x/wdog.S index 9b52fd1c04b..56db546588d 100644 --- a/arch/arm/soc/nxp_kinetis/k6x/wdog.S +++ b/arch/arm/soc/nxp_kinetis/k6x/wdog.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/arm/soc/st_stm32/Kconfig b/arch/arm/soc/st_stm32/Kconfig index d73229f3b19..62fa8c1d38d 100644 --- a/arch/arm/soc/st_stm32/Kconfig +++ b/arch/arm/soc/st_stm32/Kconfig @@ -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 SOC_FAMILY_STM32 diff --git a/arch/arm/soc/st_stm32/Kconfig.soc b/arch/arm/soc/st_stm32/Kconfig.soc index 96538fd133a..5f2c10840fc 100644 --- a/arch/arm/soc/st_stm32/Kconfig.soc +++ b/arch/arm/soc/st_stm32/Kconfig.soc @@ -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 # source "arch/arm/soc/st_stm32/*/Kconfig.series" diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series index fc6d05e6059..af58ae25a22 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.series @@ -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 SOC_SERIES_STM32F1X diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb index 32c6ebe1412..2143798876b 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xb @@ -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 SOC_STM32F103XB diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe index 41fccecc4b0..4ecf2f5ecec 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f103xe @@ -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 SOC_STM32F103XE diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc index 7aa0c56b214..28b88abd763 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.defconfig.stm32f107xc @@ -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_STM32F107XC diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.series b/arch/arm/soc/st_stm32/stm32f1/Kconfig.series index a212723ea3a..ec21a87a3b5 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.series +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.series @@ -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 SOC_SERIES_STM32F1X diff --git a/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc b/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc index f307369e9b8..d1648357ac3 100644 --- a/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32f1/Kconfig.soc @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 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/stm32f1/flash_registers.h b/arch/arm/soc/st_stm32/stm32f1/flash_registers.h index 8f1b5021e98..276e23e70c4 100644 --- a/arch/arm/soc/st_stm32/stm32f1/flash_registers.h +++ b/arch/arm/soc/st_stm32/stm32f1/flash_registers.h @@ -1,17 +1,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 */ #ifndef _STM32F10X_FLASH_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f1/gpio_registers.h b/arch/arm/soc/st_stm32/stm32f1/gpio_registers.h index 82dae1f57e8..48d4f4b4696 100644 --- a/arch/arm/soc/st_stm32/stm32f1/gpio_registers.h +++ b/arch/arm/soc/st_stm32/stm32f1/gpio_registers.h @@ -1,17 +1,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 */ #ifndef _STM32F10X_GPIO_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f1/linker.ld b/arch/arm/soc/st_stm32/stm32f1/linker.ld index 220d80cc101..ba0abaf5051 100644 --- a/arch/arm/soc/st_stm32/stm32f1/linker.ld +++ b/arch/arm/soc/st_stm32/stm32f1/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/stm32f1/rcc_registers.h b/arch/arm/soc/st_stm32/stm32f1/rcc_registers.h index 90f2d81ba1a..b4e0d563a59 100644 --- a/arch/arm/soc/st_stm32/stm32f1/rcc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f1/rcc_registers.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * 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 _STM32F10X_CLOCK_H_ diff --git a/arch/arm/soc/st_stm32/stm32f1/soc.c b/arch/arm/soc/st_stm32/stm32f1/soc.c index efd25204246..08131f7c44d 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc.c +++ b/arch/arm/soc/st_stm32/stm32f1/soc.c @@ -1,17 +1,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 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f1/soc.h b/arch/arm/soc/st_stm32/stm32f1/soc.h index f716f6b0355..b277095b96d 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc.h +++ b/arch/arm/soc/st_stm32/stm32f1/soc.h @@ -1,17 +1,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 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f1/soc_config.c b/arch/arm/soc/st_stm32/stm32f1/soc_config.c index 403f19b4dc0..cc44211bfd9 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc_config.c +++ b/arch/arm/soc/st_stm32/stm32f1/soc_config.c @@ -1,17 +1,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 */ #include diff --git a/arch/arm/soc/st_stm32/stm32f1/soc_gpio.c b/arch/arm/soc/st_stm32/stm32f1/soc_gpio.c index 37acf4bc7ec..ade46ee798c 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc_gpio.c +++ b/arch/arm/soc/st_stm32/stm32f1/soc_gpio.c @@ -1,17 +1,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 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f1/soc_irq.h b/arch/arm/soc/st_stm32/stm32f1/soc_irq.h index 5db91d6c82f..538ddaf540b 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc_irq.h +++ b/arch/arm/soc/st_stm32/stm32f1/soc_irq.h @@ -1,17 +1,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 */ /** diff --git a/arch/arm/soc/st_stm32/stm32f1/soc_registers.h b/arch/arm/soc/st_stm32/stm32f1/soc_registers.h index 53d505bd88a..cd07cc3b8cb 100644 --- a/arch/arm/soc/st_stm32/stm32f1/soc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f1/soc_registers.h @@ -1,17 +1,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 */ #ifndef _STM32F10X_SOC_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series index a9b243f3e66..f7c975cfc7f 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_STM32F4X diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe index e204600b761..7044f75a0a9 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f401xe @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_STM32F401XE diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe index fc42c963273..69ee3e023c1 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f411xe @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_STM32F411XE diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.series b/arch/arm/soc/st_stm32/stm32f4/Kconfig.series index 243a5f80531..e5449470079 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.series +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.series @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_STM32F4X diff --git a/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc b/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc index d4076ffdeed..a8e5d56fee4 100644 --- a/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32f4/Kconfig.soc @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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/stm32f4/flash_registers.h b/arch/arm/soc/st_stm32/stm32f4/flash_registers.h index a3a464f3748..1f598b8faa7 100644 --- a/arch/arm/soc/st_stm32/stm32f4/flash_registers.h +++ b/arch/arm/soc/st_stm32/stm32f4/flash_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _STM32F4X_FLASH_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f4/gpio_registers.h b/arch/arm/soc/st_stm32/stm32f4/gpio_registers.h index a750ebdef55..f6a0657788a 100644 --- a/arch/arm/soc/st_stm32/stm32f4/gpio_registers.h +++ b/arch/arm/soc/st_stm32/stm32f4/gpio_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _STM32F4X_GPIO_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32f4/linker.ld b/arch/arm/soc/st_stm32/stm32f4/linker.ld index 220d80cc101..ba0abaf5051 100644 --- a/arch/arm/soc/st_stm32/stm32f4/linker.ld +++ b/arch/arm/soc/st_stm32/stm32f4/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/stm32f4/rcc_registers.h b/arch/arm/soc/st_stm32/stm32f4/rcc_registers.h index bdaaa8fb77f..45a1f050863 100644 --- a/arch/arm/soc/st_stm32/stm32f4/rcc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f4/rcc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 andSTM - * limitations under the License. + * SPDX-License-Identifier: Apache-2.0 */ #ifndef _STM32F4X_CLOCK_H_ diff --git a/arch/arm/soc/st_stm32/stm32f4/soc.c b/arch/arm/soc/st_stm32/stm32f4/soc.c index cecdd30e028..2fa73ae5a05 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc.c +++ b/arch/arm/soc/st_stm32/stm32f4/soc.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 Linaro Limited. * - * 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/stm32f4/soc.h b/arch/arm/soc/st_stm32/stm32f4/soc.h index f48ae1a5044..372d2afcff1 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc.h +++ b/arch/arm/soc/st_stm32/stm32f4/soc.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 Linaro Limited. * - * 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/stm32f4/soc_gpio.c b/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c index f5918d994e7..03c9bfe8f54 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c +++ b/arch/arm/soc/st_stm32/stm32f4/soc_gpio.c @@ -1,17 +1,7 @@ /* * Copyright (c) Linaro Limited. * - * 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/stm32f4/soc_irq.h b/arch/arm/soc/st_stm32/stm32f4/soc_irq.h index 2c77a3d9361..e34cdaaaffd 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc_irq.h +++ b/arch/arm/soc/st_stm32/stm32f4/soc_irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/stm32f4/soc_pinmux.c b/arch/arm/soc/st_stm32/stm32f4/soc_pinmux.c index 5c66abdcd02..711372f582d 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc_pinmux.c +++ b/arch/arm/soc/st_stm32/stm32f4/soc_pinmux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/stm32f4/soc_registers.h b/arch/arm/soc/st_stm32/stm32f4/soc_registers.h index 4fc2ea7b6ad..1ad979890b7 100644 --- a/arch/arm/soc/st_stm32/stm32f4/soc_registers.h +++ b/arch/arm/soc/st_stm32/stm32f4/soc_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _STM32F4_SOC_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series index 604dcaefb32..e76c396492b 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.series @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_STM32L4X diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx index 2e9ae70527b..7ddfabfa057 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_STM32L476XX diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.series b/arch/arm/soc/st_stm32/stm32l4/Kconfig.series index 9731505809a..6e0cf6bd25d 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.series +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.series @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_STM32L4X diff --git a/arch/arm/soc/st_stm32/stm32l4/Kconfig.soc b/arch/arm/soc/st_stm32/stm32l4/Kconfig.soc index 7c8bfdb93e7..dd11275808c 100644 --- a/arch/arm/soc/st_stm32/stm32l4/Kconfig.soc +++ b/arch/arm/soc/st_stm32/stm32l4/Kconfig.soc @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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/stm32l4/flash_registers.h b/arch/arm/soc/st_stm32/stm32l4/flash_registers.h index 653ed658826..bb8f042f8d6 100644 --- a/arch/arm/soc/st_stm32/stm32l4/flash_registers.h +++ b/arch/arm/soc/st_stm32/stm32l4/flash_registers.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_FLASH_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/linker.ld b/arch/arm/soc/st_stm32/stm32l4/linker.ld index 220d80cc101..ba0abaf5051 100644 --- a/arch/arm/soc/st_stm32/stm32l4/linker.ld +++ b/arch/arm/soc/st_stm32/stm32l4/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/stm32l4/rcc_registers.h b/arch/arm/soc/st_stm32/stm32l4/rcc_registers.h index 582a88525ef..f89e9cab5ab 100644 --- a/arch/arm/soc/st_stm32/stm32l4/rcc_registers.h +++ b/arch/arm/soc/st_stm32/stm32l4/rcc_registers.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_CLOCK_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/soc.c b/arch/arm/soc/st_stm32/stm32l4/soc.c index 28cfe4b3235..c1466a44f59 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc.c +++ b/arch/arm/soc/st_stm32/stm32l4/soc.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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/stm32l4/soc.h b/arch/arm/soc/st_stm32/stm32l4/soc.h index 1dac28117b1..cb6c5639c34 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc.h +++ b/arch/arm/soc/st_stm32/stm32l4/soc.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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/stm32l4/soc_gpio.c b/arch/arm/soc/st_stm32/stm32l4/soc_gpio.c index 70315b60e8f..b7ea73dc0ad 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc_gpio.c +++ b/arch/arm/soc/st_stm32/stm32l4/soc_gpio.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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/stm32l4/soc_irq.h b/arch/arm/soc/st_stm32/stm32l4/soc_irq.h index d3fb966d3ff..bed99cc4002 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc_irq.h +++ b/arch/arm/soc/st_stm32/stm32l4/soc_irq.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4_SOC_IRQ_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c b/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c index 7931633d6c0..81a61062412 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c +++ b/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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/stm32l4/soc_pinmux.h b/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.h index 389265ead05..b1590650bca 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.h +++ b/arch/arm/soc/st_stm32/stm32l4/soc_pinmux.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_SOC_PINMUX_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/soc_registers.h b/arch/arm/soc/st_stm32/stm32l4/soc_registers.h index ee5c26c153f..733f96d6651 100644 --- a/arch/arm/soc/st_stm32/stm32l4/soc_registers.h +++ b/arch/arm/soc/st_stm32/stm32l4/soc_registers.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_SOC_REGISTERS_H_ diff --git a/arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h b/arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h index 10a4014e860..1f095d83ea4 100644 --- a/arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h +++ b/arch/arm/soc/st_stm32/stm32l4/syscfg_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_SYSCFG_REGISTERS_H_ diff --git a/arch/arm/soc/ti_lm3s6965/Kconfig b/arch/arm/soc/ti_lm3s6965/Kconfig index 6fd3b6790da..fc04b4e9558 100644 --- a/arch/arm/soc/ti_lm3s6965/Kconfig +++ b/arch/arm/soc/ti_lm3s6965/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 # if SOC_TI_LM3S6965 diff --git a/arch/arm/soc/ti_lm3s6965/Kconfig.defconfig b/arch/arm/soc/ti_lm3s6965/Kconfig.defconfig index 3e14ea56c04..c7f87d229f3 100644 --- a/arch/arm/soc/ti_lm3s6965/Kconfig.defconfig +++ b/arch/arm/soc/ti_lm3s6965/Kconfig.defconfig @@ -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 # if SOC_TI_LM3S6965 diff --git a/arch/arm/soc/ti_lm3s6965/linker.ld b/arch/arm/soc/ti_lm3s6965/linker.ld index cf2cfad5942..b6ccb02793c 100644 --- a/arch/arm/soc/ti_lm3s6965/linker.ld +++ b/arch/arm/soc/ti_lm3s6965/linker.ld @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/ti_lm3s6965/scp.c b/arch/arm/soc/ti_lm3s6965/scp.c index 79985d34f3a..291b3acf18e 100644 --- a/arch/arm/soc/ti_lm3s6965/scp.c +++ b/arch/arm/soc/ti_lm3s6965/scp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/soc/ti_lm3s6965/scp.h b/arch/arm/soc/ti_lm3s6965/scp.h index d10c3b5ceb2..f35c657f124 100644 --- a/arch/arm/soc/ti_lm3s6965/scp.h +++ b/arch/arm/soc/ti_lm3s6965/scp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/arm/soc/ti_lm3s6965/soc.c b/arch/arm/soc/ti_lm3s6965/soc.c index 0d4043afa5b..402a84db29a 100644 --- a/arch/arm/soc/ti_lm3s6965/soc.c +++ b/arch/arm/soc/ti_lm3s6965/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/arch/arm/soc/ti_lm3s6965/soc.h b/arch/arm/soc/ti_lm3s6965/soc.h index 4f8aacad492..6ae548ca648 100644 --- a/arch/arm/soc/ti_lm3s6965/soc.h +++ b/arch/arm/soc/ti_lm3s6965/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/arch/arm/soc/ti_lm3s6965/soc_config.c b/arch/arm/soc/ti_lm3s6965/soc_config.c index 71c59df8b3c..c65ec1d560c 100644 --- a/arch/arm/soc/ti_lm3s6965/soc_config.c +++ b/arch/arm/soc/ti_lm3s6965/soc_config.c @@ -1,17 +1,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/arch/arm/soc/ti_simplelink/cc32xx/soc.c b/arch/arm/soc/ti_simplelink/cc32xx/soc.c index 2477151e703..61ac3bd1f3e 100644 --- a/arch/arm/soc/ti_simplelink/cc32xx/soc.c +++ b/arch/arm/soc/ti_simplelink/cc32xx/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Texas Instruments Incorporated * - * 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/ti_simplelink/cc32xx/soc.h b/arch/arm/soc/ti_simplelink/cc32xx/soc.h index 7226cfb3185..41555a183f7 100644 --- a/arch/arm/soc/ti_simplelink/cc32xx/soc.h +++ b/arch/arm/soc/ti_simplelink/cc32xx/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Texas Instruments Incorporated * - * 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 #include diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index e682b2ca3fb..44cb7a86953 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # choice diff --git a/arch/nios2/core/cache.c b/arch/nios2/core/cache.c index 48cea3dfe8a..f0fc0c9dd30 100644 --- a/arch/nios2/core/cache.c +++ b/arch/nios2/core/cache.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/core/cpu_idle.c b/arch/nios2/core/cpu_idle.c index 8b10c5638bf..348df8bb81e 100644 --- a/arch/nios2/core/cpu_idle.c +++ b/arch/nios2/core/cpu_idle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/core/crt0.S b/arch/nios2/core/crt0.S index 5413bcf5d9d..5aece89cd21 100644 --- a/arch/nios2/core/crt0.S +++ b/arch/nios2/core/crt0.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/nios2/core/exception.S b/arch/nios2/core/exception.S index ff1536ce440..618d59e3e85 100644 --- a/arch/nios2/core/exception.S +++ b/arch/nios2/core/exception.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/nios2/core/fatal.c b/arch/nios2/core/fatal.c index 5156d51bbc3..c6dbc55753f 100644 --- a/arch/nios2/core/fatal.c +++ b/arch/nios2/core/fatal.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/core/irq_manage.c b/arch/nios2/core/irq_manage.c index 48682e9001c..b56aee91497 100644 --- a/arch/nios2/core/irq_manage.c +++ b/arch/nios2/core/irq_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/core/irq_offload.c b/arch/nios2/core/irq_offload.c index 921e6d9c794..a020244980b 100644 --- a/arch/nios2/core/irq_offload.c +++ b/arch/nios2/core/irq_offload.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/core/offsets/offsets.c b/arch/nios2/core/offsets/offsets.c index fa8a9472eeb..faf3211cc4b 100644 --- a/arch/nios2/core/offsets/offsets.c +++ b/arch/nios2/core/offsets/offsets.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/core/prep_c.c b/arch/nios2/core/prep_c.c index 96099fbf807..8c9cb4c65e8 100644 --- a/arch/nios2/core/prep_c.c +++ b/arch/nios2/core/prep_c.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/arch/nios2/core/reset.S b/arch/nios2/core/reset.S index 697aedd6c45..eb0ca7f5672 100644 --- a/arch/nios2/core/reset.S +++ b/arch/nios2/core/reset.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/nios2/core/sw_isr_table.S b/arch/nios2/core/sw_isr_table.S index a9b1a2b0266..34b59c1e38a 100644 --- a/arch/nios2/core/sw_isr_table.S +++ b/arch/nios2/core/sw_isr_table.S @@ -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 */ #define _ASMLANGUAGE diff --git a/arch/nios2/core/swap.S b/arch/nios2/core/swap.S index 6427c037a66..eade327f27a 100644 --- a/arch/nios2/core/swap.S +++ b/arch/nios2/core/swap.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/nios2/core/thread.c b/arch/nios2/core/thread.c index bf27be90b27..64b4b819f9b 100644 --- a/arch/nios2/core/thread.c +++ b/arch/nios2/core/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/include/kernel_arch_data.h b/arch/nios2/include/kernel_arch_data.h index 27ef1fd6891..db7a7c49a0c 100644 --- a/arch/nios2/include/kernel_arch_data.h +++ b/arch/nios2/include/kernel_arch_data.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation * Copyright (c) 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 */ /** diff --git a/arch/nios2/include/kernel_arch_func.h b/arch/nios2/include/kernel_arch_func.h index de66a62f83e..865e15ab5d1 100644 --- a/arch/nios2/include/kernel_arch_func.h +++ b/arch/nios2/include/kernel_arch_func.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/include/kernel_event_logger_arch.h b/arch/nios2/include/kernel_event_logger_arch.h index b7fb6b4975f..f972f0e3088 100644 --- a/arch/nios2/include/kernel_event_logger_arch.h +++ b/arch/nios2/include/kernel_event_logger_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/include/offsets_short_arch.h b/arch/nios2/include/offsets_short_arch.h index 47cd7dc3fe4..1e9276eee28 100644 --- a/arch/nios2/include/offsets_short_arch.h +++ b/arch/nios2/include/offsets_short_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _offsets_short_arch__h_ diff --git a/arch/nios2/soc/nios2-qemu/include/layout.h b/arch/nios2/soc/nios2-qemu/include/layout.h index b87adfd8d25..e5ad723ae08 100644 --- a/arch/nios2/soc/nios2-qemu/include/layout.h +++ b/arch/nios2/soc/nios2-qemu/include/layout.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/soc/nios2-qemu/linker.ld b/arch/nios2/soc/nios2-qemu/linker.ld index 4351acb84fd..47da5767acc 100644 --- a/arch/nios2/soc/nios2-qemu/linker.ld +++ b/arch/nios2/soc/nios2-qemu/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/soc/nios2f-zephyr/include/layout.h b/arch/nios2/soc/nios2f-zephyr/include/layout.h index b779189a480..fbb21e15764 100644 --- a/arch/nios2/soc/nios2f-zephyr/include/layout.h +++ b/arch/nios2/soc/nios2f-zephyr/include/layout.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/nios2/soc/nios2f-zephyr/linker.ld b/arch/nios2/soc/nios2f-zephyr/linker.ld index 4351acb84fd..47da5767acc 100644 --- a/arch/nios2/soc/nios2f-zephyr/linker.ld +++ b/arch/nios2/soc/nios2f-zephyr/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/nios2/soc/nios2f-zephyr/soc.h b/arch/nios2/soc/nios2f-zephyr/soc.h index 69ceb489e13..c52b3db5463 100644 --- a/arch/nios2/soc/nios2f-zephyr/soc.h +++ b/arch/nios2/soc/nios2f-zephyr/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/arch/riscv32/Kconfig b/arch/riscv32/Kconfig index 48fdf13acb7..cf7aa2e9f6a 100644 --- a/arch/riscv32/Kconfig +++ b/arch/riscv32/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 Jean-Paul Etienne # -# 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/riscv32/core/cpu_idle.c b/arch/riscv32/core/cpu_idle.c index fe7762aebfc..d51477f4a34 100644 --- a/arch/riscv32/core/cpu_idle.c +++ b/arch/riscv32/core/cpu_idle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/fatal.c b/arch/riscv32/core/fatal.c index e4108ea143e..d0c75a7a406 100644 --- a/arch/riscv32/core/fatal.c +++ b/arch/riscv32/core/fatal.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/irq_manage.c b/arch/riscv32/core/irq_manage.c index 007f7602675..044c2a109c0 100644 --- a/arch/riscv32/core/irq_manage.c +++ b/arch/riscv32/core/irq_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/irq_offload.c b/arch/riscv32/core/irq_offload.c index 17be4c5052b..f26d845b0a9 100644 --- a/arch/riscv32/core/irq_offload.c +++ b/arch/riscv32/core/irq_offload.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/isr.S b/arch/riscv32/core/isr.S index ff5a327a738..673fc5c70c4 100644 --- a/arch/riscv32/core/isr.S +++ b/arch/riscv32/core/isr.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/core/offsets/offsets.c b/arch/riscv32/core/offsets/offsets.c index 682ca247f30..2ad84a8b5d8 100644 --- a/arch/riscv32/core/offsets/offsets.c +++ b/arch/riscv32/core/offsets/offsets.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/prep_c.c b/arch/riscv32/core/prep_c.c index 83de38322e4..0cd9202a491 100644 --- a/arch/riscv32/core/prep_c.c +++ b/arch/riscv32/core/prep_c.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/core/reset.S b/arch/riscv32/core/reset.S index e45f863455d..0cc022ae11c 100644 --- a/arch/riscv32/core/reset.S +++ b/arch/riscv32/core/reset.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/core/sw_isr_table.S b/arch/riscv32/core/sw_isr_table.S index 8fe00f629a9..713ba641d3e 100644 --- a/arch/riscv32/core/sw_isr_table.S +++ b/arch/riscv32/core/sw_isr_table.S @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/core/swap.S b/arch/riscv32/core/swap.S index 78b5148cf77..05453f446a7 100644 --- a/arch/riscv32/core/swap.S +++ b/arch/riscv32/core/swap.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/core/thread.c b/arch/riscv32/core/thread.c index 2ec9b975563..b0f1714361a 100644 --- a/arch/riscv32/core/thread.c +++ b/arch/riscv32/core/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/include/kernel_arch_data.h b/arch/riscv32/include/kernel_arch_data.h index fa5b99e337d..afbce15a93c 100644 --- a/arch/riscv32/include/kernel_arch_data.h +++ b/arch/riscv32/include/kernel_arch_data.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/include/kernel_arch_func.h b/arch/riscv32/include/kernel_arch_func.h index fb03d6c923a..dad678392f3 100644 --- a/arch/riscv32/include/kernel_arch_func.h +++ b/arch/riscv32/include/kernel_arch_func.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/include/kernel_event_logger_arch.h b/arch/riscv32/include/kernel_event_logger_arch.h index 4a4481f7369..080d2c4ddc5 100644 --- a/arch/riscv32/include/kernel_event_logger_arch.h +++ b/arch/riscv32/include/kernel_event_logger_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/include/offsets_short_arch.h b/arch/riscv32/include/offsets_short_arch.h index e47ed0d4852..8d890fe7c11 100644 --- a/arch/riscv32/include/offsets_short_arch.h +++ b/arch/riscv32/include/offsets_short_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 _offsets_short_arch__h_ diff --git a/arch/riscv32/soc/pulpino/linker.ld b/arch/riscv32/soc/pulpino/linker.ld index 93992917c69..61878f14c42 100644 --- a/arch/riscv32/soc/pulpino/linker.ld +++ b/arch/riscv32/soc/pulpino/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/pulpino/pulpino_idle.c b/arch/riscv32/soc/pulpino/pulpino_idle.c index d95086e96ca..3afd12e9bd7 100644 --- a/arch/riscv32/soc/pulpino/pulpino_idle.c +++ b/arch/riscv32/soc/pulpino/pulpino_idle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/pulpino/pulpino_irq.c b/arch/riscv32/soc/pulpino/pulpino_irq.c index c49c88de608..4f0e0b90af4 100644 --- a/arch/riscv32/soc/pulpino/pulpino_irq.c +++ b/arch/riscv32/soc/pulpino/pulpino_irq.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/pulpino/soc.h b/arch/riscv32/soc/pulpino/soc.h index 26fd6b09670..699e3dc47bd 100644 --- a/arch/riscv32/soc/pulpino/soc.h +++ b/arch/riscv32/soc/pulpino/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/pulpino/soc_irq.S b/arch/riscv32/soc/pulpino/soc_irq.S index a5a7579fd36..f702c1f35d6 100644 --- a/arch/riscv32/soc/pulpino/soc_irq.S +++ b/arch/riscv32/soc/pulpino/soc_irq.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/soc/pulpino/vector.S b/arch/riscv32/soc/pulpino/vector.S index 2de5ccb41c9..43f19bc3c3d 100644 --- a/arch/riscv32/soc/pulpino/vector.S +++ b/arch/riscv32/soc/pulpino/vector.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/soc/riscv32-qemu/linker.ld b/arch/riscv32/soc/riscv32-qemu/linker.ld index 71320cb58aa..1c74d622a4c 100644 --- a/arch/riscv32/soc/riscv32-qemu/linker.ld +++ b/arch/riscv32/soc/riscv32-qemu/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/riscv32-qemu/qemu_irq.c b/arch/riscv32/soc/riscv32-qemu/qemu_irq.c index 3e6e8ba3345..d91a4b23ba5 100644 --- a/arch/riscv32/soc/riscv32-qemu/qemu_irq.c +++ b/arch/riscv32/soc/riscv32-qemu/qemu_irq.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/riscv32-qemu/soc.h b/arch/riscv32/soc/riscv32-qemu/soc.h index 1adcff16136..75ced0f576a 100644 --- a/arch/riscv32/soc/riscv32-qemu/soc.h +++ b/arch/riscv32/soc/riscv32-qemu/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/soc/riscv32-qemu/soc_irq.S b/arch/riscv32/soc/riscv32-qemu/soc_irq.S index bc673cd6ba7..bb80a2cb686 100644 --- a/arch/riscv32/soc/riscv32-qemu/soc_irq.S +++ b/arch/riscv32/soc/riscv32-qemu/soc_irq.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/riscv32/soc/riscv32-qemu/vector.S b/arch/riscv32/soc/riscv32-qemu/vector.S index 761b2fddb47..9d4dffe801c 100644 --- a/arch/riscv32/soc/riscv32-qemu/vector.S +++ b/arch/riscv32/soc/riscv32-qemu/vector.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 */ #define _ASMLANGUAGE diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 6be09a71565..3ef3d7a93b3 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/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 # choice diff --git a/arch/x86/core/Kconfig b/arch/x86/core/Kconfig index 6e5e8f58ee4..a617881010f 100644 --- a/arch/x86/core/Kconfig +++ b/arch/x86/core/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 # menu "x86 Core Options" diff --git a/arch/x86/core/cache.c b/arch/x86/core/cache.c index cd9f2906ae5..7125e369374 100644 --- a/arch/x86/core/cache.c +++ b/arch/x86/core/cache.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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 */ /** * @file diff --git a/arch/x86/core/cache_s.S b/arch/x86/core/cache_s.S index c273459d3b7..bbf9966ac39 100644 --- a/arch/x86/core/cache_s.S +++ b/arch/x86/core/cache_s.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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 */ /** * @file diff --git a/arch/x86/core/cpuhalt.c b/arch/x86/core/cpuhalt.c index 57e4d7aaac7..669a16bc481 100644 --- a/arch/x86/core/cpuhalt.c +++ b/arch/x86/core/cpuhalt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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 */ /** * @file CPU power management code for IA-32 diff --git a/arch/x86/core/crt0.S b/arch/x86/core/crt0.S index ccc6864165d..828fced210d 100644 --- a/arch/x86/core/crt0.S +++ b/arch/x86/core/crt0.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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 */ /** * @file diff --git a/arch/x86/core/debug/debug_frames.c b/arch/x86/core/debug/debug_frames.c index d6e75e1e164..f6895f1a63f 100644 --- a/arch/x86/core/debug/debug_frames.c +++ b/arch/x86/core/debug/debug_frames.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/core/excstub.S b/arch/x86/core/excstub.S index 0d04d1f8a20..6f24ede1190 100644 --- a/arch/x86/core/excstub.S +++ b/arch/x86/core/excstub.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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/arch/x86/core/fatal.c b/arch/x86/core/fatal.c index bf12239452e..e1feb66326d 100644 --- a/arch/x86/core/fatal.c +++ b/arch/x86/core/fatal.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/x86/core/float.c b/arch/x86/core/float.c index 72bb510e7a5..0fb0737c067 100644 --- a/arch/x86/core/float.c +++ b/arch/x86/core/float.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/arch/x86/core/gdt.c b/arch/x86/core/gdt.c index 3c01cff1295..8bf77f259b4 100644 --- a/arch/x86/core/gdt.c +++ b/arch/x86/core/gdt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014 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/arch/x86/core/intstub.S b/arch/x86/core/intstub.S index d81f90b8648..2a43066da37 100644 --- a/arch/x86/core/intstub.S +++ b/arch/x86/core/intstub.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/arch/x86/core/irq_manage.c b/arch/x86/core/irq_manage.c index 3cf05a66afa..a3c38fcc4d8 100644 --- a/arch/x86/core/irq_manage.c +++ b/arch/x86/core/irq_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/arch/x86/core/irq_offload.c b/arch/x86/core/irq_offload.c index e46d0c61e1c..8768eaa4757 100644 --- a/arch/x86/core/irq_offload.c +++ b/arch/x86/core/irq_offload.c @@ -1,17 +1,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/arch/x86/core/msr.c b/arch/x86/core/msr.c index be967fe1591..2c5fe776c02 100644 --- a/arch/x86/core/msr.c +++ b/arch/x86/core/msr.c @@ -2,17 +2,7 @@ * Copyright (c) 2011-2014 Wind River Systems, Inc. * 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/arch/x86/core/offsets/offsets.c b/arch/x86/core/offsets/offsets.c index bb511188a30..2efade7739f 100644 --- a/arch/x86/core/offsets/offsets.c +++ b/arch/x86/core/offsets/offsets.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/arch/x86/core/reboot_rst_cnt.c b/arch/x86/core/reboot_rst_cnt.c index 8f1679e284d..06847432606 100644 --- a/arch/x86/core/reboot_rst_cnt.c +++ b/arch/x86/core/reboot_rst_cnt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/core/swap.S b/arch/x86/core/swap.S index 7c58fec45cf..c23c7c8bdda 100644 --- a/arch/x86/core/swap.S +++ b/arch/x86/core/swap.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/arch/x86/core/sys_fatal_error_handler.c b/arch/x86/core/sys_fatal_error_handler.c index 233c2fb2b87..180db9dce29 100644 --- a/arch/x86/core/sys_fatal_error_handler.c +++ b/arch/x86/core/sys_fatal_error_handler.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/arch/x86/core/thread.c b/arch/x86/core/thread.c index dac586072ca..61f11ab5748 100644 --- a/arch/x86/core/thread.c +++ b/arch/x86/core/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/arch/x86/debug/gdb_arch.c b/arch/x86/debug/gdb_arch.c index 718b382ce26..de5cf382d1b 100644 --- a/arch/x86/debug/gdb_arch.c +++ b/arch/x86/debug/gdb_arch.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-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 */ /** diff --git a/arch/x86/debug/gdb_dbg_regs.S b/arch/x86/debug/gdb_dbg_regs.S index 0d5241bde9c..ee780173c00 100644 --- a/arch/x86/debug/gdb_dbg_regs.S +++ b/arch/x86/debug/gdb_dbg_regs.S @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/include/asm_inline.h b/arch/x86/include/asm_inline.h index abcda0a7d96..4a7c9ee237b 100644 --- a/arch/x86/include/asm_inline.h +++ b/arch/x86/include/asm_inline.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_H diff --git a/arch/x86/include/asm_inline_gcc.h b/arch/x86/include/asm_inline_gcc.h index da129849af9..d575bc57d87 100644 --- a/arch/x86/include/asm_inline_gcc.h +++ b/arch/x86/include/asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_GCC_H diff --git a/arch/x86/include/cache_private.h b/arch/x86/include/cache_private.h index 028e64d40df..2dbd18446bd 100644 --- a/arch/x86/include/cache_private.h +++ b/arch/x86/include/cache_private.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _cache_private__h_ diff --git a/arch/x86/include/debug/gdb_arch.h b/arch/x86/include/debug/gdb_arch.h index c81dfd467f8..d91f6776a78 100644 --- a/arch/x86/include/debug/gdb_arch.h +++ b/arch/x86/include/debug/gdb_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _GDB_ARCH__H_ diff --git a/arch/x86/include/exception.h b/arch/x86/include/exception.h index 0fdbf4406d8..bb941d044be 100644 --- a/arch/x86/include/exception.h +++ b/arch/x86/include/exception.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef X86_EXCEPTION_H diff --git a/arch/x86/include/kernel_arch_data.h b/arch/x86/include/kernel_arch_data.h index 2c4e529449c..51b3f2e5240 100644 --- a/arch/x86/include/kernel_arch_data.h +++ b/arch/x86/include/kernel_arch_data.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/arch/x86/include/kernel_arch_func.h b/arch/x86/include/kernel_arch_func.h index 9547ec4c2d9..cd320ef97e5 100644 --- a/arch/x86/include/kernel_arch_func.h +++ b/arch/x86/include/kernel_arch_func.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* this file is only meant to be included by kernel_structs.h */ diff --git a/arch/x86/include/kernel_event_logger_arch.h b/arch/x86/include/kernel_event_logger_arch.h index 167bec7b2d7..a9f7f5f80f1 100644 --- a/arch/x86/include/kernel_event_logger_arch.h +++ b/arch/x86/include/kernel_event_logger_arch.h @@ -1,17 +1,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/arch/x86/include/offsets_short_arch.h b/arch/x86/include/offsets_short_arch.h index e092b3c4d03..a0cf3a62669 100644 --- a/arch/x86/include/offsets_short_arch.h +++ b/arch/x86/include/offsets_short_arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _offsets_short_arch__h_ diff --git a/arch/x86/include/swapstk.h b/arch/x86/include/swapstk.h index 90dcaff38f4..a918a984e11 100644 --- a/arch/x86/include/swapstk.h +++ b/arch/x86/include/swapstk.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2012, 2014 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/arch/x86/soc/atom/Kconfig.defconfig b/arch/x86/soc/atom/Kconfig.defconfig index 6b7ede99a68..04c2479fa7b 100644 --- a/arch/x86/soc/atom/Kconfig.defconfig +++ b/arch/x86/soc/atom/Kconfig.defconfig @@ -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 # if SOC_ATOM diff --git a/arch/x86/soc/atom/linker.ld b/arch/x86/soc/atom/linker.ld index e51f1e5b287..ab0f5d97ae6 100644 --- a/arch/x86/soc/atom/linker.ld +++ b/arch/x86/soc/atom/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014, 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/arch/x86/soc/atom/soc.c b/arch/x86/soc/atom/soc.c index 5b46d7e763a..251282c4ab0 100644 --- a/arch/x86/soc/atom/soc.c +++ b/arch/x86/soc/atom/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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/arch/x86/soc/atom/soc.h b/arch/x86/soc/atom/soc.h index 88d1d1a932b..0cbefbe3f25 100644 --- a/arch/x86/soc/atom/soc.h +++ b/arch/x86/soc/atom/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/arch/x86/soc/ia32/Kconfig.defconfig b/arch/x86/soc/ia32/Kconfig.defconfig index 54b1bee6181..92547f15e6c 100644 --- a/arch/x86/soc/ia32/Kconfig.defconfig +++ b/arch/x86/soc/ia32/Kconfig.defconfig @@ -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 # if SOC_IA32 diff --git a/arch/x86/soc/ia32/linker.ld b/arch/x86/soc/ia32/linker.ld index e51f1e5b287..ab0f5d97ae6 100644 --- a/arch/x86/soc/ia32/linker.ld +++ b/arch/x86/soc/ia32/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014, 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/arch/x86/soc/ia32/soc.c b/arch/x86/soc/ia32/soc.c index 5b46d7e763a..251282c4ab0 100644 --- a/arch/x86/soc/ia32/soc.c +++ b/arch/x86/soc/ia32/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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/arch/x86/soc/ia32/soc.h b/arch/x86/soc/ia32/soc.h index 94e5e90badf..9740e947337 100644 --- a/arch/x86/soc/ia32/soc.h +++ b/arch/x86/soc/ia32/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/arch/x86/soc/intel_quark/Kconfig b/arch/x86/soc/intel_quark/Kconfig index c1e6a6f4760..140ee6fbb3f 100644 --- a/arch/x86/soc/intel_quark/Kconfig +++ b/arch/x86/soc/intel_quark/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # config SOC_FAMILY_QUARK diff --git a/arch/x86/soc/intel_quark/Kconfig.soc b/arch/x86/soc/intel_quark/Kconfig.soc index 5bebe8eb829..de93ceb83ce 100644 --- a/arch/x86/soc/intel_quark/Kconfig.soc +++ b/arch/x86/soc/intel_quark/Kconfig.soc @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # source "arch/x86/soc/intel_quark/*/Kconfig.series" diff --git a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.quark_d2000 b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.quark_d2000 index 28cea52302c..4bdd65fcd18 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.quark_d2000 +++ b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.quark_d2000 @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_QUARK_D2000 diff --git a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series index eef7c4ecedc..c8d044cef29 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series +++ b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.defconfig.series @@ -1,17 +1,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_SERIES_QUARK_D2000 diff --git a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.series b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.series index 9862223dbc4..94778a35bf4 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/Kconfig.series +++ b/arch/x86/soc/intel_quark/quark_d2000/Kconfig.series @@ -1,16 +1,6 @@ # Copyright (c) 2016 Intel Corporation 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 # config SOC_SERIES_QUARK_D2000 diff --git a/arch/x86/soc/intel_quark/quark_d2000/linker.ld b/arch/x86/soc/intel_quark/quark_d2000/linker.ld index 2da291ad496..2e62eab3606 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/linker.ld +++ b/arch/x86/soc/intel_quark/quark_d2000/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/soc/intel_quark/quark_d2000/soc.h b/arch/x86/soc/intel_quark/quark_d2000/soc.h index 120ec45b975..c8fef60cb42 100644 --- a/arch/x86/soc/intel_quark/quark_d2000/soc.h +++ b/arch/x86/soc/intel_quark/quark_d2000/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/soc/intel_quark/quark_se/Kconfig b/arch/x86/soc/intel_quark/quark_se/Kconfig index 21405a0dc68..503dffce9bc 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # if X86 && SOC_QUARK_SE_C1000 diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.curie b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.curie index 6a4b29df5aa..f70eecb79e4 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.curie +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.curie @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_QUARK_SE_CURIE diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.quark_se_c1000 b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.quark_se_c1000 index 2130fd8bec5..ea7d5f1ba11 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.quark_se_c1000 +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.quark_se_c1000 @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_QUARK_SE_C1000 diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series index 6b8f51ce9e6..12c1b773693 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series @@ -1,17 +1,7 @@ # # Copyright (c) 2016 Intel Corporation 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 # if SOC_SERIES_QUARK_SE diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.series b/arch/x86/soc/intel_quark/quark_se/Kconfig.series index ee574f4daef..6b8a9e44849 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.series +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.series @@ -1,16 +1,6 @@ # Copyright (c) 2016 Intel Corporation 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 # config SOC_SERIES_QUARK_SE diff --git a/arch/x86/soc/intel_quark/quark_se/Kconfig.soc b/arch/x86/soc/intel_quark/quark_se/Kconfig.soc index 961433542a2..19acbf01dbf 100644 --- a/arch/x86/soc/intel_quark/quark_se/Kconfig.soc +++ b/arch/x86/soc/intel_quark/quark_se/Kconfig.soc @@ -1,16 +1,6 @@ # Copyright (c) 2016 Intel Corporation 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 # choice prompt "Quark SE Selection" diff --git a/arch/x86/soc/intel_quark/quark_se/eoi.c b/arch/x86/soc/intel_quark/quark_se/eoi.c index 402bcf244b5..742aea98484 100644 --- a/arch/x86/soc/intel_quark/quark_se/eoi.c +++ b/arch/x86/soc/intel_quark/quark_se/eoi.c @@ -1,17 +1,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/arch/x86/soc/intel_quark/quark_se/linker.ld b/arch/x86/soc/intel_quark/quark_se/linker.ld index 68968cdd0d3..7a3f75c6bef 100644 --- a/arch/x86/soc/intel_quark/quark_se/linker.ld +++ b/arch/x86/soc/intel_quark/quark_se/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/soc/intel_quark/quark_se/power.c b/arch/x86/soc/intel_quark/quark_se/power.c index f1dfb31009f..b158f0269bb 100644 --- a/arch/x86/soc/intel_quark/quark_se/power.c +++ b/arch/x86/soc/intel_quark/quark_se/power.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/arch/x86/soc/intel_quark/quark_se/shared_mem.h b/arch/x86/soc/intel_quark/quark_se/shared_mem.h index cb911c4eaee..213c2156e47 100644 --- a/arch/x86/soc/intel_quark/quark_se/shared_mem.h +++ b/arch/x86/soc/intel_quark/quark_se/shared_mem.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _SHARED_MEM_H_ diff --git a/arch/x86/soc/intel_quark/quark_se/soc.c b/arch/x86/soc/intel_quark/quark_se/soc.c index 8fd69f703bf..15bf131925a 100644 --- a/arch/x86/soc/intel_quark/quark_se/soc.c +++ b/arch/x86/soc/intel_quark/quark_se/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/arch/x86/soc/intel_quark/quark_se/soc.h b/arch/x86/soc/intel_quark/quark_se/soc.h index 0152adaf85a..e3931dfbf88 100644 --- a/arch/x86/soc/intel_quark/quark_se/soc.h +++ b/arch/x86/soc/intel_quark/quark_se/soc.h @@ -1,17 +1,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/arch/x86/soc/intel_quark/quark_se/soc_config.c b/arch/x86/soc/intel_quark/quark_se/soc_config.c index 7b1ef7337df..b06a293ee90 100644 --- a/arch/x86/soc/intel_quark/quark_se/soc_config.c +++ b/arch/x86/soc/intel_quark/quark_se/soc_config.c @@ -1,17 +1,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 diff --git a/arch/x86/soc/intel_quark/quark_se/soc_power.S b/arch/x86/soc/intel_quark/quark_se/soc_power.S index 4cd35bb4d96..dda0c412080 100644 --- a/arch/x86/soc/intel_quark/quark_se/soc_power.S +++ b/arch/x86/soc/intel_quark/quark_se/soc_power.S @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define _ASMLANGUAGE diff --git a/arch/x86/soc/intel_quark/quark_se/soc_power.h b/arch/x86/soc/intel_quark/quark_se/soc_power.h index f5a860a80bc..1562d1ea025 100644 --- a/arch/x86/soc/intel_quark/quark_se/soc_power.h +++ b/arch/x86/soc/intel_quark/quark_se/soc_power.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SOC_POWER_H_ diff --git a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.quark_x1000 b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.quark_x1000 index 7148a66c4f4..a6e2111afe7 100644 --- a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.quark_x1000 +++ b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.quark_x1000 @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_QUARK_X1000 diff --git a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series index 9fe2d0b2812..6f19abddf32 100644 --- a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series +++ b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series @@ -4,17 +4,7 @@ # Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2015-2016 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 # if SOC_SERIES_QUARK_X1000 diff --git a/arch/x86/soc/intel_quark/quark_x1000/linker.ld b/arch/x86/soc/intel_quark/quark_x1000/linker.ld index e51f1e5b287..ab0f5d97ae6 100644 --- a/arch/x86/soc/intel_quark/quark_x1000/linker.ld +++ b/arch/x86/soc/intel_quark/quark_x1000/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014, 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/arch/x86/soc/intel_quark/quark_x1000/soc.c b/arch/x86/soc/intel_quark/quark_x1000/soc.c index 8c3e4d8bd68..9f5a3d2c9ee 100644 --- a/arch/x86/soc/intel_quark/quark_x1000/soc.c +++ b/arch/x86/soc/intel_quark/quark_x1000/soc.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/arch/x86/soc/intel_quark/quark_x1000/soc.h b/arch/x86/soc/intel_quark/quark_x1000/soc.h index 6a4d8dddce3..d868b180236 100644 --- a/arch/x86/soc/intel_quark/quark_x1000/soc.h +++ b/arch/x86/soc/intel_quark/quark_x1000/soc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/boards/arc/arduino_101_sss/board.h b/boards/arc/arduino_101_sss/board.h index 6473c4aeb83..31e09deb156 100644 --- a/boards/arc/arduino_101_sss/board.h +++ b/boards/arc/arduino_101_sss/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arc/em_starterkit/Kconfig.board b/boards/arc/em_starterkit/Kconfig.board index 8588727fc2d..c323e15cc9d 100644 --- a/boards/arc/em_starterkit/Kconfig.board +++ b/boards/arc/em_starterkit/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Synopsys, Inc. All rights reserved. # -# 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_EM_STARTERKIT bool "ARC EM Starter Kit" diff --git a/boards/arc/em_starterkit/board.h b/boards/arc/em_starterkit/board.h index 92bacc96c03..5580515e240 100644 --- a/boards/arc/em_starterkit/board.h +++ b/boards/arc/em_starterkit/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Synopsys, Inc. All rights reserved. * - * 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/arc/quark_se_c1000_ss_devboard/board.h b/boards/arc/quark_se_c1000_ss_devboard/board.h index b664f0c7add..a706a89af23 100644 --- a/boards/arc/quark_se_c1000_ss_devboard/board.h +++ b/boards/arc/quark_se_c1000_ss_devboard/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/96b_carbon/Kconfig.board b/boards/arm/96b_carbon/Kconfig.board index 4c09c0e72fa..001cad07368 100644 --- a/boards/arm/96b_carbon/Kconfig.board +++ b/boards/arm/96b_carbon/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_96B_CARBON diff --git a/boards/arm/96b_carbon/Kconfig.defconfig b/boards/arm/96b_carbon/Kconfig.defconfig index 3992a28d42a..72441d7b3da 100644 --- a/boards/arm/96b_carbon/Kconfig.defconfig +++ b/boards/arm/96b_carbon/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_96B_CARBON diff --git a/boards/arm/96b_carbon/board.h b/boards/arm/96b_carbon/board.h index a793beb55b1..bcc10536d95 100644 --- a/boards/arm/96b_carbon/board.h +++ b/boards/arm/96b_carbon/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/96b_nitrogen/Kconfig b/boards/arm/96b_nitrogen/Kconfig index 11b2c559bea..2c79679cff9 100644 --- a/boards/arm/96b_nitrogen/Kconfig +++ b/boards/arm/96b_nitrogen/Kconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_96B_NITROGEN diff --git a/boards/arm/96b_nitrogen/Kconfig.board b/boards/arm/96b_nitrogen/Kconfig.board index 4ad64e654f5..d540cbfae67 100644 --- a/boards/arm/96b_nitrogen/Kconfig.board +++ b/boards/arm/96b_nitrogen/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_96B_NITROGEN bool "96Boards Nitrogen" diff --git a/boards/arm/96b_nitrogen/Kconfig.defconfig b/boards/arm/96b_nitrogen/Kconfig.defconfig index 0866500fd5b..20947b10473 100644 --- a/boards/arm/96b_nitrogen/Kconfig.defconfig +++ b/boards/arm/96b_nitrogen/Kconfig.defconfig @@ -2,17 +2,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 if BOARD_96B_NITROGEN diff --git a/boards/arm/96b_nitrogen/board.h b/boards/arm/96b_nitrogen/board.h index a793beb55b1..bcc10536d95 100644 --- a/boards/arm/96b_nitrogen/board.h +++ b/boards/arm/96b_nitrogen/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/arduino_101_ble/Kconfig.board b/boards/arm/arduino_101_ble/Kconfig.board index 302c595b593..59b4cf0191c 100644 --- a/boards/arm/arduino_101_ble/Kconfig.board +++ b/boards/arm/arduino_101_ble/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 config BOARD_ARDUINO_101_BLE bool "Arduino 101 BLE" diff --git a/boards/arm/arduino_101_ble/Kconfig.defconfig b/boards/arm/arduino_101_ble/Kconfig.defconfig index 2812b229cc6..ab090cbd52d 100644 --- a/boards/arm/arduino_101_ble/Kconfig.defconfig +++ b/boards/arm/arduino_101_ble/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 if BOARD_ARDUINO_101_BLE diff --git a/boards/arm/arduino_101_ble/board.h b/boards/arm/arduino_101_ble/board.h index 66dd23fd7db..65b22b46e4c 100644 --- a/boards/arm/arduino_101_ble/board.h +++ b/boards/arm/arduino_101_ble/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/arduino_due/board.h b/boards/arm/arduino_due/board.h index f5644521046..07fc537bad8 100644 --- a/boards/arm/arduino_due/board.h +++ b/boards/arm/arduino_due/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/arduino_due/pinmux.c b/boards/arm/arduino_due/pinmux.c index 13b9d8bb064..93275175a5c 100644 --- a/boards/arm/arduino_due/pinmux.c +++ b/boards/arm/arduino_due/pinmux.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/boards/arm/bbc_microbit/Kconfig.board b/boards/arm/bbc_microbit/Kconfig.board index 2d92d6075e4..4aa47204c11 100644 --- a/boards/arm/bbc_microbit/Kconfig.board +++ b/boards/arm/bbc_microbit/Kconfig.board @@ -2,17 +2,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 config BOARD_BBC_MICROBIT bool "BBC MICRO:BIT" diff --git a/boards/arm/bbc_microbit/Kconfig.defconfig b/boards/arm/bbc_microbit/Kconfig.defconfig index ef097b62e16..e555e5162ef 100644 --- a/boards/arm/bbc_microbit/Kconfig.defconfig +++ b/boards/arm/bbc_microbit/Kconfig.defconfig @@ -2,17 +2,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 if BOARD_BBC_MICROBIT diff --git a/boards/arm/bbc_microbit/board.h b/boards/arm/bbc_microbit/board.h index f898dd6edbd..6329925ecfd 100644 --- a/boards/arm/bbc_microbit/board.h +++ b/boards/arm/bbc_microbit/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/cc3200_launchxl/board.h b/boards/arm/cc3200_launchxl/board.h index 56265c18d47..81199731652 100644 --- a/boards/arm/cc3200_launchxl/board.h +++ b/boards/arm/cc3200_launchxl/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Texas Instruments Incorporated * - * 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 #define __INC_BOARD_H diff --git a/boards/arm/frdm_k64f/Kconfig.defconfig b/boards/arm/frdm_k64f/Kconfig.defconfig index 7b4984ac6ed..226f31c8986 100644 --- a/boards/arm/frdm_k64f/Kconfig.defconfig +++ b/boards/arm/frdm_k64f/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # if BOARD_FRDM_K64F diff --git a/boards/arm/frdm_k64f/board.h b/boards/arm/frdm_k64f/board.h index d6b2efc01ab..673bf50c52f 100644 --- a/boards/arm/frdm_k64f/board.h +++ b/boards/arm/frdm_k64f/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/frdm_k64f/pinmux.c b/boards/arm/frdm_k64f/pinmux.c index 23afa669498..20395a91444 100644 --- a/boards/arm/frdm_k64f/pinmux.c +++ b/boards/arm/frdm_k64f/pinmux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/boards/arm/hexiwear_k64/Kconfig.board b/boards/arm/hexiwear_k64/Kconfig.board index 8d9d00c0b75..3108b024dd5 100644 --- a/boards/arm/hexiwear_k64/Kconfig.board +++ b/boards/arm/hexiwear_k64/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # config BOARD_HEXIWEAR_K64 diff --git a/boards/arm/hexiwear_k64/Kconfig.defconfig b/boards/arm/hexiwear_k64/Kconfig.defconfig index 29be85ccf74..6d878ed61ae 100644 --- a/boards/arm/hexiwear_k64/Kconfig.defconfig +++ b/boards/arm/hexiwear_k64/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # if BOARD_HEXIWEAR_K64 diff --git a/boards/arm/hexiwear_k64/Makefile b/boards/arm/hexiwear_k64/Makefile index ddf96d10bca..9b85667fbea 100644 --- a/boards/arm/hexiwear_k64/Makefile +++ b/boards/arm/hexiwear_k64/Makefile @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # ccflags-y +=-I$(srctree)/drivers diff --git a/boards/arm/hexiwear_k64/board.h b/boards/arm/hexiwear_k64/board.h index 520fb87f6d3..59df854e232 100644 --- a/boards/arm/hexiwear_k64/board.h +++ b/boards/arm/hexiwear_k64/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/hexiwear_k64/pinmux.c b/boards/arm/hexiwear_k64/pinmux.c index 85d9ce85f66..88c80b45ba0 100644 --- a/boards/arm/hexiwear_k64/pinmux.c +++ b/boards/arm/hexiwear_k64/pinmux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/boards/arm/nrf51_blenano/Kconfig.board b/boards/arm/nrf51_blenano/Kconfig.board index 7356891215c..8d1bdaf3af7 100644 --- a/boards/arm/nrf51_blenano/Kconfig.board +++ b/boards/arm/nrf51_blenano/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_NRF51_BLENANO bool "nRF51 BLENANO" diff --git a/boards/arm/nrf51_blenano/Kconfig.defconfig b/boards/arm/nrf51_blenano/Kconfig.defconfig index 7b8e6e439c3..5deeb0c788b 100644 --- a/boards/arm/nrf51_blenano/Kconfig.defconfig +++ b/boards/arm/nrf51_blenano/Kconfig.defconfig @@ -2,17 +2,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 if BOARD_NRF51_BLENANO diff --git a/boards/arm/nrf51_blenano/board.h b/boards/arm/nrf51_blenano/board.h index a793beb55b1..bcc10536d95 100644 --- a/boards/arm/nrf51_blenano/board.h +++ b/boards/arm/nrf51_blenano/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/nrf51_pca10028/Kconfig.board b/boards/arm/nrf51_pca10028/Kconfig.board index ac103e2687c..64fd1591894 100644 --- a/boards/arm/nrf51_pca10028/Kconfig.board +++ b/boards/arm/nrf51_pca10028/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_NRF51_PCA10028 bool "nRF51 PCA10028" diff --git a/boards/arm/nrf51_pca10028/Kconfig.defconfig b/boards/arm/nrf51_pca10028/Kconfig.defconfig index 8d5468fa281..8ebd6a272ff 100644 --- a/boards/arm/nrf51_pca10028/Kconfig.defconfig +++ b/boards/arm/nrf51_pca10028/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_NRF51_PCA10028 diff --git a/boards/arm/nrf51_pca10028/board.h b/boards/arm/nrf51_pca10028/board.h index ec208c0fe0c..5869b15a9eb 100644 --- a/boards/arm/nrf51_pca10028/board.h +++ b/boards/arm/nrf51_pca10028/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/nrf52840_pca10056/Kconfig b/boards/arm/nrf52840_pca10056/Kconfig index b6ae123121d..aad2d9b7c10 100644 --- a/boards/arm/nrf52840_pca10056/Kconfig +++ b/boards/arm/nrf52840_pca10056/Kconfig @@ -2,17 +2,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 if BOARD_NRF52840_PCA10056 diff --git a/boards/arm/nrf52840_pca10056/Kconfig.board b/boards/arm/nrf52840_pca10056/Kconfig.board index d2be37ac889..676a2038c12 100644 --- a/boards/arm/nrf52840_pca10056/Kconfig.board +++ b/boards/arm/nrf52840_pca10056/Kconfig.board @@ -2,17 +2,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 config BOARD_NRF52840_PCA10056 bool "NRF52840 PCA10056" diff --git a/boards/arm/nrf52840_pca10056/Kconfig.defconfig b/boards/arm/nrf52840_pca10056/Kconfig.defconfig index d130d4a653d..790c1372c9b 100644 --- a/boards/arm/nrf52840_pca10056/Kconfig.defconfig +++ b/boards/arm/nrf52840_pca10056/Kconfig.defconfig @@ -2,17 +2,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 if BOARD_NRF52840_PCA10056 diff --git a/boards/arm/nrf52840_pca10056/board.h b/boards/arm/nrf52840_pca10056/board.h index dbdcb086de8..34de1e0a593 100644 --- a/boards/arm/nrf52840_pca10056/board.h +++ b/boards/arm/nrf52840_pca10056/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/nrf52_pca10040/Kconfig b/boards/arm/nrf52_pca10040/Kconfig index ba88651f7d2..fc9737942c8 100644 --- a/boards/arm/nrf52_pca10040/Kconfig +++ b/boards/arm/nrf52_pca10040/Kconfig @@ -2,17 +2,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 if BOARD_NRF52_PCA10040 diff --git a/boards/arm/nrf52_pca10040/Kconfig.board b/boards/arm/nrf52_pca10040/Kconfig.board index 83def618f0b..49b6e1895d6 100644 --- a/boards/arm/nrf52_pca10040/Kconfig.board +++ b/boards/arm/nrf52_pca10040/Kconfig.board @@ -2,17 +2,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 config BOARD_NRF52_PCA10040 bool "nRF52 PCA10040" diff --git a/boards/arm/nrf52_pca10040/Kconfig.defconfig b/boards/arm/nrf52_pca10040/Kconfig.defconfig index 9d469c27cd6..6c3b3a4a8aa 100644 --- a/boards/arm/nrf52_pca10040/Kconfig.defconfig +++ b/boards/arm/nrf52_pca10040/Kconfig.defconfig @@ -2,17 +2,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 if BOARD_NRF52_PCA10040 diff --git a/boards/arm/nrf52_pca10040/board.h b/boards/arm/nrf52_pca10040/board.h index dc6452f8e58..4775bbc4561 100644 --- a/boards/arm/nrf52_pca10040/board.h +++ b/boards/arm/nrf52_pca10040/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/nucleo_f103rb/Kconfig.board b/boards/arm/nucleo_f103rb/Kconfig.board index 638719a7d80..eb69d2098c7 100644 --- a/boards/arm/nucleo_f103rb/Kconfig.board +++ b/boards/arm/nucleo_f103rb/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_NUCLEO_F103RB diff --git a/boards/arm/nucleo_f103rb/Kconfig.defconfig b/boards/arm/nucleo_f103rb/Kconfig.defconfig index 96146fca07e..22c56c4c4b6 100644 --- a/boards/arm/nucleo_f103rb/Kconfig.defconfig +++ b/boards/arm/nucleo_f103rb/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_NUCLEO_F103RB diff --git a/boards/arm/nucleo_f103rb/board.h b/boards/arm/nucleo_f103rb/board.h index 1b586ab64cb..496234f8319 100644 --- a/boards/arm/nucleo_f103rb/board.h +++ b/boards/arm/nucleo_f103rb/board.h @@ -2,17 +2,7 @@ * Copyright (c) 2015 Intel Corporation * Copyright (c) 2017 Linaro Limited. * - * 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/nucleo_f401re/Kconfig.board b/boards/arm/nucleo_f401re/Kconfig.board index c4c4c66cbea..b742c2528e8 100644 --- a/boards/arm/nucleo_f401re/Kconfig.board +++ b/boards/arm/nucleo_f401re/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_F401RE diff --git a/boards/arm/nucleo_f401re/Kconfig.defconfig b/boards/arm/nucleo_f401re/Kconfig.defconfig index 40cb8a9907a..48cfa325974 100644 --- a/boards/arm/nucleo_f401re/Kconfig.defconfig +++ b/boards/arm/nucleo_f401re/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_F401RE diff --git a/boards/arm/nucleo_f401re/board.h b/boards/arm/nucleo_f401re/board.h index 3f6e05812b4..7e12cda9e14 100644 --- a/boards/arm/nucleo_f401re/board.h +++ b/boards/arm/nucleo_f401re/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/nucleo_f411re/Kconfig.board b/boards/arm/nucleo_f411re/Kconfig.board index b8297f29862..3797e469c10 100644 --- a/boards/arm/nucleo_f411re/Kconfig.board +++ b/boards/arm/nucleo_f411re/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Matthias Boesl # -# 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_F411RE diff --git a/boards/arm/nucleo_f411re/Kconfig.defconfig b/boards/arm/nucleo_f411re/Kconfig.defconfig index f283f483ff2..ac8812ca63d 100644 --- a/boards/arm/nucleo_f411re/Kconfig.defconfig +++ b/boards/arm/nucleo_f411re/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Matthias Boesl # -# 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_F411RE diff --git a/boards/arm/nucleo_f411re/board.h b/boards/arm/nucleo_f411re/board.h index 62cbb9bb91a..d10257c6101 100644 --- a/boards/arm/nucleo_f411re/board.h +++ b/boards/arm/nucleo_f411re/board.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Matthias Boesl * Copyright (c) 2017 Linaro Limited. * - * 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/nucleo_l476rg/Kconfig.board b/boards/arm/nucleo_l476rg/Kconfig.board index 82d9645f698..27db7c33b55 100644 --- a/boards/arm/nucleo_l476rg/Kconfig.board +++ b/boards/arm/nucleo_l476rg/Kconfig.board @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_L476RG diff --git a/boards/arm/nucleo_l476rg/Kconfig.defconfig b/boards/arm/nucleo_l476rg/Kconfig.defconfig index d2370a232c6..adcb9ea00a9 100644 --- a/boards/arm/nucleo_l476rg/Kconfig.defconfig +++ b/boards/arm/nucleo_l476rg/Kconfig.defconfig @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_L476RG diff --git a/boards/arm/nucleo_l476rg/board.h b/boards/arm/nucleo_l476rg/board.h index 1b586ab64cb..496234f8319 100644 --- a/boards/arm/nucleo_l476rg/board.h +++ b/boards/arm/nucleo_l476rg/board.h @@ -2,17 +2,7 @@ * Copyright (c) 2015 Intel Corporation * Copyright (c) 2017 Linaro Limited. * - * 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/olimexino_stm32/Kconfig.board b/boards/arm/olimexino_stm32/Kconfig.board index 5b109cd7bd9..c715dab5ebb 100644 --- a/boards/arm/olimexino_stm32/Kconfig.board +++ b/boards/arm/olimexino_stm32/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016, I-SENSE group of ICCS # -# 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_OLIMEXINO_STM32 bool "OLIMEXINO-STM32 Development Board" diff --git a/boards/arm/olimexino_stm32/Kconfig.defconfig b/boards/arm/olimexino_stm32/Kconfig.defconfig index 073487a5319..4b74459edae 100644 --- a/boards/arm/olimexino_stm32/Kconfig.defconfig +++ b/boards/arm/olimexino_stm32/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016, I-SENSE group of ICCS # -# 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_OLIMEXINO_STM32 diff --git a/boards/arm/olimexino_stm32/board.h b/boards/arm/olimexino_stm32/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/arm/olimexino_stm32/board.h +++ b/boards/arm/olimexino_stm32/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/qemu_cortex_m3/board.h b/boards/arm/qemu_cortex_m3/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/arm/qemu_cortex_m3/board.h +++ b/boards/arm/qemu_cortex_m3/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/quark_se_c1000_ble/Kconfig.board b/boards/arm/quark_se_c1000_ble/Kconfig.board index be80eb36210..db947ad9402 100644 --- a/boards/arm/quark_se_c1000_ble/Kconfig.board +++ b/boards/arm/quark_se_c1000_ble/Kconfig.board @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 config BOARD_QUARK_SE_C1000_BLE bool "Quark SE C1000 Devboard - BLE Core" diff --git a/boards/arm/quark_se_c1000_ble/Kconfig.defconfig b/boards/arm/quark_se_c1000_ble/Kconfig.defconfig index 05571556d9d..464166f4eff 100644 --- a/boards/arm/quark_se_c1000_ble/Kconfig.defconfig +++ b/boards/arm/quark_se_c1000_ble/Kconfig.defconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 if BOARD_QUARK_SE_C1000_BLE diff --git a/boards/arm/quark_se_c1000_ble/board.h b/boards/arm/quark_se_c1000_ble/board.h index 66dd23fd7db..65b22b46e4c 100644 --- a/boards/arm/quark_se_c1000_ble/board.h +++ b/boards/arm/quark_se_c1000_ble/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/stm3210c_eval/Kconfig.board b/boards/arm/stm3210c_eval/Kconfig.board index ee8fc10ece7..f967e72c0b8 100644 --- a/boards/arm/stm3210c_eval/Kconfig.board +++ b/boards/arm/stm3210c_eval/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_STM3210C_EVAL diff --git a/boards/arm/stm3210c_eval/Kconfig.defconfig b/boards/arm/stm3210c_eval/Kconfig.defconfig index 154c081b1ba..faad382d488 100644 --- a/boards/arm/stm3210c_eval/Kconfig.defconfig +++ b/boards/arm/stm3210c_eval/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_STM3210C_EVAL diff --git a/boards/arm/stm3210c_eval/board.h b/boards/arm/stm3210c_eval/board.h index a9529ee4e1e..f7a67a47b09 100644 --- a/boards/arm/stm3210c_eval/board.h +++ b/boards/arm/stm3210c_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/boards/arm/stm32_mini_a15/Kconfig.board b/boards/arm/stm32_mini_a15/Kconfig.board index abbac593c5f..6817a53bcba 100644 --- a/boards/arm/stm32_mini_a15/Kconfig.board +++ b/boards/arm/stm32_mini_a15/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_STM32_MINI_A15 diff --git a/boards/arm/stm32_mini_a15/Kconfig.defconfig b/boards/arm/stm32_mini_a15/Kconfig.defconfig index 22eda568829..46f0fec75cb 100644 --- a/boards/arm/stm32_mini_a15/Kconfig.defconfig +++ b/boards/arm/stm32_mini_a15/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_STM32_MINI_A15 diff --git a/boards/arm/stm32_mini_a15/board.h b/boards/arm/stm32_mini_a15/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/arm/stm32_mini_a15/board.h +++ b/boards/arm/stm32_mini_a15/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/arm/v2m_beetle/Kconfig.board b/boards/arm/v2m_beetle/Kconfig.board index 59619613aea..9b5894513c0 100644 --- a/boards/arm/v2m_beetle/Kconfig.board +++ b/boards/arm/v2m_beetle/Kconfig.board @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 # # V2M (V2 = Versatile Express, M = Motherboard) diff --git a/boards/arm/v2m_beetle/Kconfig.defconfig b/boards/arm/v2m_beetle/Kconfig.defconfig index 1f6d447e40c..27453b810ad 100644 --- a/boards/arm/v2m_beetle/Kconfig.defconfig +++ b/boards/arm/v2m_beetle/Kconfig.defconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_V2M_BEETLE diff --git a/boards/arm/v2m_beetle/Makefile b/boards/arm/v2m_beetle/Makefile index e2c3669d37e..29b19c20433 100644 --- a/boards/arm/v2m_beetle/Makefile +++ b/boards/arm/v2m_beetle/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 # # Trick the build system into generating built-in.o even though there diff --git a/boards/arm/v2m_beetle/board.h b/boards/arm/v2m_beetle/board.h index 401f449cd52..ed4c79ce097 100644 --- a/boards/arm/v2m_beetle/board.h +++ b/boards/arm/v2m_beetle/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/v2m_beetle/v2m_beetle_defconfig b/boards/arm/v2m_beetle/v2m_beetle_defconfig index 1ec1a8c69fc..25e5836851a 100644 --- a/boards/arm/v2m_beetle/v2m_beetle_defconfig +++ b/boards/arm/v2m_beetle/v2m_beetle_defconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_ARM=y diff --git a/boards/nios2/altera_max10/board.h b/boards/nios2/altera_max10/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/nios2/altera_max10/board.h +++ b/boards/nios2/altera_max10/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/nios2/qemu_nios2/board.h b/boards/nios2/qemu_nios2/board.h index 96dcedd1c7f..6f45889a580 100644 --- a/boards/nios2/qemu_nios2/board.h +++ b/boards/nios2/qemu_nios2/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/riscv32/qemu_riscv32/board.h b/boards/riscv32/qemu_riscv32/board.h index 8b825dc1f61..4704f1ff27d 100644 --- a/boards/riscv32/qemu_riscv32/board.h +++ b/boards/riscv32/qemu_riscv32/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/riscv32/zedboard_pulpino/board.h b/boards/riscv32/zedboard_pulpino/board.h index 0ef98c3785a..9ab9bad589a 100644 --- a/boards/riscv32/zedboard_pulpino/board.h +++ b/boards/riscv32/zedboard_pulpino/board.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/x86/arduino_101/board.h b/boards/x86/arduino_101/board.h index 3b2b4fd73a4..c6d08b84923 100644 --- a/boards/x86/arduino_101/board.h +++ b/boards/x86/arduino_101/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/x86/arduino_101/pinmux.c b/boards/x86/arduino_101/pinmux.c index 20ccf501903..f3a44fd0899 100644 --- a/boards/x86/arduino_101/pinmux.c +++ b/boards/x86/arduino_101/pinmux.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 #include diff --git a/boards/x86/galileo/Kconfig b/boards/x86/galileo/Kconfig index 1735c046249..42d51641f01 100644 --- a/boards/x86/galileo/Kconfig +++ b/boards/x86/galileo/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # if PINMUX && BOARD_GALILEO diff --git a/boards/x86/galileo/board.h b/boards/x86/galileo/board.h index b9f2d32cac2..ed96418ea1d 100644 --- a/boards/x86/galileo/board.h +++ b/boards/x86/galileo/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/x86/galileo/pinmux.c b/boards/x86/galileo/pinmux.c index 92b41574a07..e76da0b4d20 100644 --- a/boards/x86/galileo/pinmux.c +++ b/boards/x86/galileo/pinmux.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/boards/x86/galileo/pinmux_dev.c b/boards/x86/galileo/pinmux_dev.c index d9c4022436b..b645925651b 100644 --- a/boards/x86/galileo/pinmux_dev.c +++ b/boards/x86/galileo/pinmux_dev.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/boards/x86/galileo/pinmux_galileo.h b/boards/x86/galileo/pinmux_galileo.h index b47452cb360..c9858e3a88e 100644 --- a/boards/x86/galileo/pinmux_galileo.h +++ b/boards/x86/galileo/pinmux_galileo.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __PINMUX_GALILEO_PRIV_H diff --git a/boards/x86/minnowboard/board.h b/boards/x86/minnowboard/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/x86/minnowboard/board.h +++ b/boards/x86/minnowboard/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/x86/qemu_x86/board.h b/boards/x86/qemu_x86/board.h index 55029f6e450..39d984a6c10 100644 --- a/boards/x86/qemu_x86/board.h +++ b/boards/x86/qemu_x86/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/x86/quark_d2000_crb/board.h b/boards/x86/quark_d2000_crb/board.h index 56d16c8f382..0a37a8c46af 100644 --- a/boards/x86/quark_d2000_crb/board.h +++ b/boards/x86/quark_d2000_crb/board.h @@ -1,17 +1,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 */ #ifndef __INC_BOARD_H diff --git a/boards/x86/quark_d2000_crb/pinmux.c b/boards/x86/quark_d2000_crb/pinmux.c index 8dc32cbe0b6..6a25855485b 100644 --- a/boards/x86/quark_d2000_crb/pinmux.c +++ b/boards/x86/quark_d2000_crb/pinmux.c @@ -6,17 +6,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/boards/x86/quark_se_c1000_devboard/board.c b/boards/x86/quark_se_c1000_devboard/board.c index 2285f18c628..d837ef7f6c7 100644 --- a/boards/x86/quark_se_c1000_devboard/board.c +++ b/boards/x86/quark_se_c1000_devboard/board.c @@ -1,17 +1,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 diff --git a/boards/x86/quark_se_c1000_devboard/board.h b/boards/x86/quark_se_c1000_devboard/board.h index dafe8d919ea..ca7ed244bed 100644 --- a/boards/x86/quark_se_c1000_devboard/board.h +++ b/boards/x86/quark_se_c1000_devboard/board.h @@ -1,17 +1,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 */ #ifndef __BOARD_H__ diff --git a/boards/x86/quark_se_c1000_devboard/pinmux.c b/boards/x86/quark_se_c1000_devboard/pinmux.c index e3e148d92da..b13201c412c 100644 --- a/boards/x86/quark_se_c1000_devboard/pinmux.c +++ b/boards/x86/quark_se_c1000_devboard/pinmux.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/doc/porting/application.rst b/doc/porting/application.rst index 0ebecb91edf..f61ba37ff9b 100644 --- a/doc/porting/application.rst +++ b/doc/porting/application.rst @@ -82,7 +82,7 @@ The code has been ported to the new kernel and is shown below: .. literalinclude:: sync_v2.c :linenos: :language: c - :lines: 19- + :lines: 9- Porting a Nanokernel Application --------------------------------- @@ -92,7 +92,7 @@ Below is the code for the application using the legacy kernel: .. literalinclude:: sync_v1_nano.c :linenos: :language: c - :lines: 19- + :lines: 9- Porting a Microkernel Application --------------------------------- @@ -105,7 +105,7 @@ Below is the code for the application using the legacy kernel: .. literalinclude:: sync_v1.c :linenos: :language: c - :lines: 19- + :lines: 9- A microkernel application defines the used objects in an MDEF file, for this @@ -119,7 +119,7 @@ In the unified kernel the semaphore will be defined in the code as follows: .. literalinclude:: sync_v2.c :linenos: :language: c - :lines: 61-65 + :lines: 51-54 The threads (previously named tasks) are defined in the code as follows, for thread A: @@ -127,7 +127,7 @@ thread A: .. literalinclude:: sync_v2.c :linenos: :language: c - :lines: 98-99 + :lines: 88-89 Thread B (taskB in the microkernel) will be spawned dynamically from thread A (See :ref:`spawning_thread` section): @@ -135,4 +135,4 @@ Thread B (taskB in the microkernel) will be spawned dynamically from thread A .. literalinclude:: sync_v2.c :linenos: :language: c - :lines: 90-92 + :lines: 80-82 diff --git a/doc/porting/sync_v1.c b/doc/porting/sync_v1.c index 821bcf94b3f..7d2e2fa7ca1 100644 --- a/doc/porting/sync_v1.c +++ b/doc/porting/sync_v1.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/doc/porting/sync_v1_nano.c b/doc/porting/sync_v1_nano.c index ab9cda71a8f..6b333bd9234 100644 --- a/doc/porting/sync_v1_nano.c +++ b/doc/porting/sync_v1_nano.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/doc/porting/sync_v2.c b/doc/porting/sync_v2.c index 945d14ec711..8eceb28e2b2 100644 --- a/doc/porting/sync_v2.c +++ b/doc/porting/sync_v2.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/doc/scripts/extract_content.py b/doc/scripts/extract_content.py index 57d7294e5c7..9773875f61c 100755 --- a/doc/scripts/extract_content.py +++ b/doc/scripts/extract_content.py @@ -2,17 +2,7 @@ # # Copyright (c) 2017, 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 # Very quick script to move docs from different places into the doc directory # to fix the website and external links diff --git a/drivers/Kconfig b/drivers/Kconfig index 9002545cae3..ad2212368ee 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -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/adc/Kconfig b/drivers/adc/Kconfig index 3d222748428..e96d380fe94 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -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/adc/adc_dw.c b/drivers/adc/adc_dw.c index d0b8a1a88e6..a8ea5bf8415 100644 --- a/drivers/adc/adc_dw.c +++ b/drivers/adc/adc_dw.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 diff --git a/drivers/adc/adc_qmsi.c b/drivers/adc/adc_qmsi.c index e0a5f7393ca..2334750535f 100644 --- a/drivers/adc/adc_qmsi.c +++ b/drivers/adc/adc_qmsi.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/adc/adc_qmsi_ss.c b/drivers/adc/adc_qmsi_ss.c index dfa57b0bb1e..0582b4b2559 100644 --- a/drivers/adc/adc_qmsi_ss.c +++ b/drivers/adc/adc_qmsi_ss.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/adc/adc_ti_adc108s102.c b/drivers/adc/adc_ti_adc108s102.c index e61c50fa3a8..291a119d6cd 100644 --- a/drivers/adc/adc_ti_adc108s102.c +++ b/drivers/adc/adc_ti_adc108s102.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 diff --git a/drivers/adc/adc_ti_adc108s102.h b/drivers/adc/adc_ti_adc108s102.h index 3572e26d6c4..f9afff09518 100644 --- a/drivers/adc/adc_ti_adc108s102.h +++ b/drivers/adc/adc_ti_adc108s102.h @@ -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 */ #ifndef __ADC108S102_PRIV_H__ #define __ADC108S102_PRIV_H__ diff --git a/drivers/aio/Kconfig b/drivers/aio/Kconfig index c7f6a201d3d..cfbee9c0275 100644 --- a/drivers/aio/Kconfig +++ b/drivers/aio/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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/aio/aio_comparator_qmsi.c b/drivers/aio/aio_comparator_qmsi.c index 80396e93c19..5fedc876069 100644 --- a/drivers/aio/aio_comparator_qmsi.c +++ b/drivers/aio/aio_comparator_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig index 5375396b304..9929984979e 100644 --- a/drivers/bluetooth/Kconfig +++ b/drivers/bluetooth/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index 1d0d09aa745..943390687d3 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # comment "Bluetooth HCI Driver Options" diff --git a/drivers/bluetooth/hci/h4.c b/drivers/bluetooth/hci/h4.c index b9e46cd6625..d7af42baf07 100644 --- a/drivers/bluetooth/hci/h4.c +++ b/drivers/bluetooth/hci/h4.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/drivers/bluetooth/hci/h5.c b/drivers/bluetooth/hci/h5.c index 293ff7bc2d9..b234000dcf0 100644 --- a/drivers/bluetooth/hci/h5.c +++ b/drivers/bluetooth/hci/h5.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/drivers/bluetooth/nble/Kconfig b/drivers/bluetooth/nble/Kconfig index eb12e71ed10..44758734e21 100644 --- a/drivers/bluetooth/nble/Kconfig +++ b/drivers/bluetooth/nble/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # config NBLE diff --git a/drivers/bluetooth/nble/conn.c b/drivers/bluetooth/nble/conn.c index 9084a42ef46..45429132a43 100644 --- a/drivers/bluetooth/nble/conn.c +++ b/drivers/bluetooth/nble/conn.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/conn.h b/drivers/bluetooth/nble/conn.h index 8c4e058ce14..297efb34aa2 100644 --- a/drivers/bluetooth/nble/conn.h +++ b/drivers/bluetooth/nble/conn.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ struct bt_conn *bt_conn_lookup_handle(uint16_t handle); diff --git a/drivers/bluetooth/nble/conn_internal.h b/drivers/bluetooth/nble/conn_internal.h index bf13a6befac..c1729b5423a 100644 --- a/drivers/bluetooth/nble/conn_internal.h +++ b/drivers/bluetooth/nble/conn_internal.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ struct bt_conn { diff --git a/drivers/bluetooth/nble/gap.c b/drivers/bluetooth/nble/gap.c index d59e8a3d269..c536b1aea58 100644 --- a/drivers/bluetooth/nble/gap.c +++ b/drivers/bluetooth/nble/gap.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/gap_internal.h b/drivers/bluetooth/nble/gap_internal.h index 5f7de59e097..b260c3b8b1a 100644 --- a/drivers/bluetooth/nble/gap_internal.h +++ b/drivers/bluetooth/nble/gap_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ /* Maximum security key len (LTK, CSRK) */ diff --git a/drivers/bluetooth/nble/gatt.c b/drivers/bluetooth/nble/gatt.c index 341aa0373e2..614c21d074b 100644 --- a/drivers/bluetooth/nble/gatt.c +++ b/drivers/bluetooth/nble/gatt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/gatt_internal.h b/drivers/bluetooth/nble/gatt_internal.h index 47c5579246e..365b9f5dad7 100644 --- a/drivers/bluetooth/nble/gatt_internal.h +++ b/drivers/bluetooth/nble/gatt_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ /* Max number of service supported, if changed update BLE core needs to be diff --git a/drivers/bluetooth/nble/rpc.h b/drivers/bluetooth/nble/rpc.h index 8baec8d3268..c879bd26190 100644 --- a/drivers/bluetooth/nble/rpc.h +++ b/drivers/bluetooth/nble/rpc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/rpc_deserialize.c b/drivers/bluetooth/nble/rpc_deserialize.c index 6036ed53c62..8bb0f5374c0 100644 --- a/drivers/bluetooth/nble/rpc_deserialize.c +++ b/drivers/bluetooth/nble/rpc_deserialize.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/rpc_functions_to_ble_core.h b/drivers/bluetooth/nble/rpc_functions_to_ble_core.h index 878da8cccbd..ce4008fc301 100644 --- a/drivers/bluetooth/nble/rpc_functions_to_ble_core.h +++ b/drivers/bluetooth/nble/rpc_functions_to_ble_core.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ /* declare the list of functions sorted by signature */ diff --git a/drivers/bluetooth/nble/rpc_functions_to_quark.h b/drivers/bluetooth/nble/rpc_functions_to_quark.h index 4370b5b8ab3..cb8b25c7f66 100644 --- a/drivers/bluetooth/nble/rpc_functions_to_quark.h +++ b/drivers/bluetooth/nble/rpc_functions_to_quark.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ /* declare the list of functions sorted by signature */ diff --git a/drivers/bluetooth/nble/rpc_serialize.c b/drivers/bluetooth/nble/rpc_serialize.c index b738bc9c145..c65f3312e7f 100644 --- a/drivers/bluetooth/nble/rpc_serialize.c +++ b/drivers/bluetooth/nble/rpc_serialize.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/smp.c b/drivers/bluetooth/nble/smp.c index e7618d9bdbf..2d6095b0a20 100644 --- a/drivers/bluetooth/nble/smp.c +++ b/drivers/bluetooth/nble/smp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/smp.h b/drivers/bluetooth/nble/smp.h index 4ff45e944d3..4feaecb6d5f 100644 --- a/drivers/bluetooth/nble/smp.h +++ b/drivers/bluetooth/nble/smp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ void bt_smp_connected(struct bt_conn *conn); diff --git a/drivers/bluetooth/nble/stubs.c b/drivers/bluetooth/nble/stubs.c index 76ab2ca6b6c..02a90cfe8c8 100644 --- a/drivers/bluetooth/nble/stubs.c +++ b/drivers/bluetooth/nble/stubs.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/uart.c b/drivers/bluetooth/nble/uart.c index ea3e8984b74..ab2476f058b 100644 --- a/drivers/bluetooth/nble/uart.c +++ b/drivers/bluetooth/nble/uart.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nble/uart.h b/drivers/bluetooth/nble/uart.h index 764d7c42f5a..d5c43de0216 100644 --- a/drivers/bluetooth/nble/uart.h +++ b/drivers/bluetooth/nble/uart.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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/bluetooth/nrf51_pm.c b/drivers/bluetooth/nrf51_pm.c index 82f3b29b846..1214693d895 100644 --- a/drivers/bluetooth/nrf51_pm.c +++ b/drivers/bluetooth/nrf51_pm.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/bluetooth/nrf51_pm.h b/drivers/bluetooth/nrf51_pm.h index 92ea3184245..a3f8f333d68 100644 --- a/drivers/bluetooth/nrf51_pm.h +++ b/drivers/bluetooth/nrf51_pm.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ int nrf51_allow_sleep(void); diff --git a/drivers/bluetooth/util.h b/drivers/bluetooth/util.h index 27190274675..74bd38dd94a 100644 --- a/drivers/bluetooth/util.h +++ b/drivers/bluetooth/util.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ static inline void bt_uart_drain(struct device *dev) diff --git a/drivers/clock_control/Kconfig b/drivers/clock_control/Kconfig index a223da7e8e3..149ca05805f 100644 --- a/drivers/clock_control/Kconfig +++ b/drivers/clock_control/Kconfig @@ -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/clock_control/Kconfig.beetle b/drivers/clock_control/Kconfig.beetle index 89429740ac2..3e4c1520b62 100644 --- a/drivers/clock_control/Kconfig.beetle +++ b/drivers/clock_control/Kconfig.beetle @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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_FAMILY_ARM diff --git a/drivers/clock_control/Kconfig.nrf5 b/drivers/clock_control/Kconfig.nrf5 index 0d0c9a5462a..5328836bedf 100644 --- a/drivers/clock_control/Kconfig.nrf5 +++ b/drivers/clock_control/Kconfig.nrf5 @@ -2,17 +2,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 menuconfig CLOCK_CONTROL_NRF5 bool diff --git a/drivers/clock_control/Kconfig.quark_se b/drivers/clock_control/Kconfig.quark_se index e9ce86565a6..042a534d652 100644 --- a/drivers/clock_control/Kconfig.quark_se +++ b/drivers/clock_control/Kconfig.quark_se @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # if SOC_QUARK_SE_C1000 diff --git a/drivers/clock_control/Kconfig.stm32f107xx b/drivers/clock_control/Kconfig.stm32f107xx index 5d25b12b67a..f49f20022a9 100644 --- a/drivers/clock_control/Kconfig.stm32f107xx +++ b/drivers/clock_control/Kconfig.stm32f107xx @@ -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_STM32F10X_CONNECTIVITY_LINE_DEVICE diff --git a/drivers/clock_control/Kconfig.stm32f10x b/drivers/clock_control/Kconfig.stm32f10x index baa69b52635..d96805fc210 100644 --- a/drivers/clock_control/Kconfig.stm32f10x +++ b/drivers/clock_control/Kconfig.stm32f10x @@ -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 SOC_STM32F10X_DENSITY_DEVICE diff --git a/drivers/clock_control/Kconfig.stm32f4x b/drivers/clock_control/Kconfig.stm32f4x index 90db4cfc545..c6d4f22db01 100644 --- a/drivers/clock_control/Kconfig.stm32f4x +++ b/drivers/clock_control/Kconfig.stm32f4x @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) Linaro Limited. # -# 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_STM32F4X diff --git a/drivers/clock_control/Kconfig.stm32l4x b/drivers/clock_control/Kconfig.stm32l4x index d59150cacba..8683308a927 100644 --- a/drivers/clock_control/Kconfig.stm32l4x +++ b/drivers/clock_control/Kconfig.stm32l4x @@ -3,17 +3,7 @@ # Copyright (c) 2016 Open-RnD Sp. z o.o. # Copyright (c) 2016 BayLibre, SAS # -# 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_STM32L4X diff --git a/drivers/clock_control/beetle_clock_control.c b/drivers/clock_control/beetle_clock_control.c index e4e2e423d26..fce6b100fd2 100644 --- a/drivers/clock_control/beetle_clock_control.c +++ b/drivers/clock_control/beetle_clock_control.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/clock_control/nrf5_power_clock.c b/drivers/clock_control/nrf5_power_clock.c index ba8df089163..5501e6e33f7 100644 --- a/drivers/clock_control/nrf5_power_clock.c +++ b/drivers/clock_control/nrf5_power_clock.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/clock_control/quark_se_clock_control.c b/drivers/clock_control/quark_se_clock_control.c index 4123fa3dbdc..bd705a0dea0 100644 --- a/drivers/clock_control/quark_se_clock_control.c +++ b/drivers/clock_control/quark_se_clock_control.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 diff --git a/drivers/clock_control/stm32f107xx_clock.c b/drivers/clock_control/stm32f107xx_clock.c index 02ad047cd97..551b5484013 100644 --- a/drivers/clock_control/stm32f107xx_clock.c +++ b/drivers/clock_control/stm32f107xx_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/clock_control/stm32f10x_clock.c b/drivers/clock_control/stm32f10x_clock.c index 4d2859398c4..16f16e35c81 100644 --- a/drivers/clock_control/stm32f10x_clock.c +++ b/drivers/clock_control/stm32f10x_clock.c @@ -1,17 +1,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 */ /** diff --git a/drivers/clock_control/stm32f4x_clock.c b/drivers/clock_control/stm32f4x_clock.c index b5b259b43ab..330776a6819 100644 --- a/drivers/clock_control/stm32f4x_clock.c +++ b/drivers/clock_control/stm32f4x_clock.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 Linaro Limited. * - * 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/clock_control/stm32l4x_clock.c b/drivers/clock_control/stm32l4x_clock.c index c4ae845dc40..979051bdce8 100644 --- a/drivers/clock_control/stm32l4x_clock.c +++ b/drivers/clock_control/stm32l4x_clock.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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/Kconfig b/drivers/console/Kconfig index 637e13d5ee6..750712a5215 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 2601e19b095..1a43008d3ba 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 diff --git a/drivers/console/ipm_console_sender.c b/drivers/console/ipm_console_sender.c index cc15598821b..b12493ff8f0 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 diff --git a/drivers/console/ram_console.c b/drivers/console/ram_console.c index 83db8d1a24a..308df468b07 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 c2656ec07af..beed4158028 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 85523c5a2b6..40bb4255132 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 d8a48b647a5..44f711e1477 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 diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 73ca3f33e39..730acc5a3f0 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig COUNTER diff --git a/drivers/counter/Kconfig.qmsi b/drivers/counter/Kconfig.qmsi index 99d90818c80..b3f34be53fd 100644 --- a/drivers/counter/Kconfig.qmsi +++ b/drivers/counter/Kconfig.qmsi @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # config AON_COUNTER_QMSI diff --git a/drivers/counter/Kconfig.tmr_cmsdk_apb b/drivers/counter/Kconfig.tmr_cmsdk_apb index 5d69a1b976c..e3ed8c34da5 100644 --- a/drivers/counter/Kconfig.tmr_cmsdk_apb +++ b/drivers/counter/Kconfig.tmr_cmsdk_apb @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_FAMILY_ARM diff --git a/drivers/counter/counter_qmsi_aon.c b/drivers/counter/counter_qmsi_aon.c index cb1435fa3af..cc1995abc41 100644 --- a/drivers/counter/counter_qmsi_aon.c +++ b/drivers/counter/counter_qmsi_aon.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/counter/counter_qmsi_aonpt.c b/drivers/counter/counter_qmsi_aonpt.c index 2ac9e34fee4..5506d95af3e 100644 --- a/drivers/counter/counter_qmsi_aonpt.c +++ b/drivers/counter/counter_qmsi_aonpt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/counter/counter_tmr_cmsdk_apb.c b/drivers/counter/counter_tmr_cmsdk_apb.c index 0440460e50a..cfb409812b9 100644 --- a/drivers/counter/counter_tmr_cmsdk_apb.c +++ b/drivers/counter/counter_tmr_cmsdk_apb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/dma/Kconfig b/drivers/dma/Kconfig index 6596ad11414..b51adfff152 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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/dma/dma_qmsi.c b/drivers/dma/dma_qmsi.c index 3d54ca28bf9..634b91b55e6 100644 --- a/drivers/dma/dma_qmsi.c +++ b/drivers/dma/dma_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/ethernet/Kconfig b/drivers/ethernet/Kconfig index 67897443fd6..5a2fbeaf0f8 100644 --- a/drivers/ethernet/Kconfig +++ b/drivers/ethernet/Kconfig @@ -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 # menu "Ethernet Drivers" diff --git a/drivers/ethernet/Kconfig.dw b/drivers/ethernet/Kconfig.dw index 0179d6fe2e1..32f858a712e 100644 --- a/drivers/ethernet/Kconfig.dw +++ b/drivers/ethernet/Kconfig.dw @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig ETH_DW diff --git a/drivers/ethernet/Kconfig.enc28j60 b/drivers/ethernet/Kconfig.enc28j60 index 9cc797ffb34..01fd0557dce 100644 --- a/drivers/ethernet/Kconfig.enc28j60 +++ b/drivers/ethernet/Kconfig.enc28j60 @@ -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 # menuconfig ETH_ENC28J60 diff --git a/drivers/ethernet/Kconfig.mcux b/drivers/ethernet/Kconfig.mcux index 242050f53ae..2661f2b91e7 100644 --- a/drivers/ethernet/Kconfig.mcux +++ b/drivers/ethernet/Kconfig.mcux @@ -2,17 +2,7 @@ # Copyright (c) 2016 ARM Ltd # -# 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 ETH_MCUX bool diff --git a/drivers/ethernet/eth_dw.c b/drivers/ethernet/eth_dw.c index 529c7529065..5f0bf527cf3 100644 --- a/drivers/ethernet/eth_dw.c +++ b/drivers/ethernet/eth_dw.c @@ -1,17 +1,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 #include diff --git a/drivers/ethernet/eth_dw_priv.h b/drivers/ethernet/eth_dw_priv.h index d6907fceedf..7e2324225ea 100644 --- a/drivers/ethernet/eth_dw_priv.h +++ b/drivers/ethernet/eth_dw_priv.h @@ -1,17 +1,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 */ #ifndef DRIVERS_ETHERNET_ETH_DW_PRIV_H_ diff --git a/drivers/ethernet/eth_enc28j60.c b/drivers/ethernet/eth_enc28j60.c index 57bf982284e..c29abb5765c 100644 --- a/drivers/ethernet/eth_enc28j60.c +++ b/drivers/ethernet/eth_enc28j60.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 */ #define SYS_LOG_LEVEL CONFIG_SYS_LOG_ETHERNET_LEVEL diff --git a/drivers/ethernet/eth_enc28j60_priv.h b/drivers/ethernet/eth_enc28j60_priv.h index a55007bd44a..cca9a76bee1 100644 --- a/drivers/ethernet/eth_enc28j60_priv.h +++ b/drivers/ethernet/eth_enc28j60_priv.h @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 diff --git a/drivers/ethernet/eth_mcux.c b/drivers/ethernet/eth_mcux.c index 2dbcd90b7cc..51ab6685839 100644 --- a/drivers/ethernet/eth_mcux.c +++ b/drivers/ethernet/eth_mcux.c @@ -3,17 +3,7 @@ * Copyright (c) 2016 ARM Ltd * Copyright (c) 2016 Linaro Ltd * - * 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 */ /* The driver performs one shot PHY setup. There is no support for diff --git a/drivers/flash/Kconfig b/drivers/flash/Kconfig index c0d5b38f736..d59421dc37a 100644 --- a/drivers/flash/Kconfig +++ b/drivers/flash/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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/flash/soc_flash_mcux.c b/drivers/flash/soc_flash_mcux.c index 68c6305d520..90b92e1d821 100644 --- a/drivers/flash/soc_flash_mcux.c +++ b/drivers/flash/soc_flash_mcux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/flash/soc_flash_nrf5.c b/drivers/flash/soc_flash_nrf5.c index 143b20fc7f4..548deaffed8 100644 --- a/drivers/flash/soc_flash_nrf5.c +++ b/drivers/flash/soc_flash_nrf5.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Linaro Limited * 2016 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 diff --git a/drivers/flash/soc_flash_qmsi.c b/drivers/flash/soc_flash_qmsi.c index 7a7841b4043..1f40273e046 100644 --- a/drivers/flash/soc_flash_qmsi.c +++ b/drivers/flash/soc_flash_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/flash/spi_flash_w25qxxdv.c b/drivers/flash/spi_flash_w25qxxdv.c index a362ca722b3..ec3882bc4fd 100644 --- a/drivers/flash/spi_flash_w25qxxdv.c +++ b/drivers/flash/spi_flash_w25qxxdv.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/flash/spi_flash_w25qxxdv.h b/drivers/flash/spi_flash_w25qxxdv.h index 14d3cf7e752..d005a812d08 100644 --- a/drivers/flash/spi_flash_w25qxxdv.h +++ b/drivers/flash/spi_flash_w25qxxdv.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/flash/spi_flash_w25qxxdv_defs.h b/drivers/flash/spi_flash_w25qxxdv_defs.h index b93df3f0b13..6c6e3ce6099 100644 --- a/drivers/flash/spi_flash_w25qxxdv_defs.h +++ b/drivers/flash/spi_flash_w25qxxdv_defs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/gpio/Kconfig b/drivers/gpio/Kconfig index af3bbdc394b..99bbea3329d 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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 # menuconfig GPIO diff --git a/drivers/gpio/Kconfig.atmel_sam3 b/drivers/gpio/Kconfig.atmel_sam3 index 219534b1c1d..8413a8b606c 100644 --- a/drivers/gpio/Kconfig.atmel_sam3 +++ b/drivers/gpio/Kconfig.atmel_sam3 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig GPIO_ATMEL_SAM3 diff --git a/drivers/gpio/Kconfig.cmsdk_ahb b/drivers/gpio/Kconfig.cmsdk_ahb index f0853dda032..1adb94a5bed 100644 --- a/drivers/gpio/Kconfig.cmsdk_ahb +++ b/drivers/gpio/Kconfig.cmsdk_ahb @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 GPIO_CMSDK_AHB diff --git a/drivers/gpio/Kconfig.dw b/drivers/gpio/Kconfig.dw index df8c5eec69d..a918cf920f3 100644 --- a/drivers/gpio/Kconfig.dw +++ b/drivers/gpio/Kconfig.dw @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig GPIO_DW diff --git a/drivers/gpio/Kconfig.mcux b/drivers/gpio/Kconfig.mcux index 0915ee835a9..4e966785bca 100644 --- a/drivers/gpio/Kconfig.mcux +++ b/drivers/gpio/Kconfig.mcux @@ -3,17 +3,7 @@ # Copyright (c) 2016 Freescale Semiconductor, Inc. # Copyright (c) 2017, NXP Semiconductors, 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 GPIO_MCUX diff --git a/drivers/gpio/Kconfig.nrf5 b/drivers/gpio/Kconfig.nrf5 index e591112bdd7..27f21e0d712 100644 --- a/drivers/gpio/Kconfig.nrf5 +++ b/drivers/gpio/Kconfig.nrf5 @@ -2,17 +2,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 # menuconfig GPIO_NRF5 diff --git a/drivers/gpio/Kconfig.pcal9535a b/drivers/gpio/Kconfig.pcal9535a index 0cec68b36d5..e14c32767f6 100644 --- a/drivers/gpio/Kconfig.pcal9535a +++ b/drivers/gpio/Kconfig.pcal9535a @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig GPIO_PCAL9535A diff --git a/drivers/gpio/Kconfig.pulpino b/drivers/gpio/Kconfig.pulpino index b05e3687874..314a84dea43 100644 --- a/drivers/gpio/Kconfig.pulpino +++ b/drivers/gpio/Kconfig.pulpino @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Jean-Paul Etienne # -# 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 GPIO_PULPINO diff --git a/drivers/gpio/Kconfig.qmsi b/drivers/gpio/Kconfig.qmsi index 1c2d03fcfc3..e375abe2dca 100644 --- a/drivers/gpio/Kconfig.qmsi +++ b/drivers/gpio/Kconfig.qmsi @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig GPIO_QMSI diff --git a/drivers/gpio/Kconfig.sch b/drivers/gpio/Kconfig.sch index d080b4086ed..e84abe4f0e0 100644 --- a/drivers/gpio/Kconfig.sch +++ b/drivers/gpio/Kconfig.sch @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig GPIO_SCH diff --git a/drivers/gpio/Kconfig.stm32 b/drivers/gpio/Kconfig.stm32 index 2d687a0dc43..b8042a4f71c 100644 --- a/drivers/gpio/Kconfig.stm32 +++ b/drivers/gpio/Kconfig.stm32 @@ -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 # menuconfig GPIO_STM32 diff --git a/drivers/gpio/gpio_atmel_sam3.c b/drivers/gpio/gpio_atmel_sam3.c index e8a30081334..b736f681b7d 100644 --- a/drivers/gpio/gpio_atmel_sam3.c +++ b/drivers/gpio/gpio_atmel_sam3.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/gpio/gpio_cc32xx.c b/drivers/gpio/gpio_cc32xx.c index de8c8dc7be8..7687e82b24d 100644 --- a/drivers/gpio/gpio_cc32xx.c +++ b/drivers/gpio/gpio_cc32xx.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Texas Instruments Incorporated * - * 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/gpio/gpio_cmsdk_ahb.c b/drivers/gpio/gpio_cmsdk_ahb.c index 0600a704ff4..8f890028788 100644 --- a/drivers/gpio/gpio_cmsdk_ahb.c +++ b/drivers/gpio/gpio_cmsdk_ahb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/gpio/gpio_cmsdk_ahb.h b/drivers/gpio/gpio_cmsdk_ahb.h index 862eaf50b7f..4aa35948bc6 100644 --- a/drivers/gpio/gpio_cmsdk_ahb.h +++ b/drivers/gpio/gpio_cmsdk_ahb.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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_GPIO_CMSDK_AHB_ #define _DRIVERS_GPIO_CMSDK_AHB_ diff --git a/drivers/gpio/gpio_dw.c b/drivers/gpio/gpio_dw.c index a3c55f25eaf..0ea8280e17f 100644 --- a/drivers/gpio/gpio_dw.c +++ b/drivers/gpio/gpio_dw.c @@ -1,17 +1,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 diff --git a/drivers/gpio/gpio_dw.h b/drivers/gpio/gpio_dw.h index e7b226324dc..c9f6efc1bc2 100644 --- a/drivers/gpio/gpio_dw.h +++ b/drivers/gpio/gpio_dw.h @@ -1,17 +1,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 */ #ifndef _GPIO_DW_H_ diff --git a/drivers/gpio/gpio_dw_registers.h b/drivers/gpio/gpio_dw_registers.h index b2393dd83e7..0a2a6d40493 100644 --- a/drivers/gpio/gpio_dw_registers.h +++ b/drivers/gpio/gpio_dw_registers.h @@ -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 */ #ifndef _GPIO_DW_REGISTERS_H_ diff --git a/drivers/gpio/gpio_mcux.c b/drivers/gpio/gpio_mcux.c index 18aa13c085c..7bb77253966 100644 --- a/drivers/gpio/gpio_mcux.c +++ b/drivers/gpio/gpio_mcux.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Freescale Semiconductor, Inc. * Copyright (c) 2017, NXP Semiconductors, 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/drivers/gpio/gpio_nrf5.c b/drivers/gpio/gpio_nrf5.c index e1e05d943e6..b77630443e6 100644 --- a/drivers/gpio/gpio_nrf5.c +++ b/drivers/gpio/gpio_nrf5.c @@ -1,17 +1,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/gpio/gpio_pcal9535a.c b/drivers/gpio/gpio_pcal9535a.c index 4214e708b75..a01643e3d86 100644 --- a/drivers/gpio/gpio_pcal9535a.c +++ b/drivers/gpio/gpio_pcal9535a.c @@ -1,17 +1,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/gpio/gpio_pcal9535a.h b/drivers/gpio/gpio_pcal9535a.h index 69ff1413ad5..413b1e33841 100644 --- a/drivers/gpio/gpio_pcal9535a.h +++ b/drivers/gpio/gpio_pcal9535a.h @@ -1,17 +1,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/gpio/gpio_pulpino.c b/drivers/gpio/gpio_pulpino.c index 1deb7b33dc2..febe1aa6b7c 100644 --- a/drivers/gpio/gpio_pulpino.c +++ b/drivers/gpio/gpio_pulpino.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/gpio/gpio_qmsi.c b/drivers/gpio/gpio_qmsi.c index f53f535314b..4abe8fe5ae4 100644 --- a/drivers/gpio/gpio_qmsi.c +++ b/drivers/gpio/gpio_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/gpio/gpio_qmsi_ss.c b/drivers/gpio/gpio_qmsi_ss.c index c875a17a800..ead1dd460b7 100644 --- a/drivers/gpio/gpio_qmsi_ss.c +++ b/drivers/gpio/gpio_qmsi_ss.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/gpio/gpio_sch.c b/drivers/gpio/gpio_sch.c index a5d6a08eaaa..34fb07d646a 100644 --- a/drivers/gpio/gpio_sch.c +++ b/drivers/gpio/gpio_sch.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 diff --git a/drivers/gpio/gpio_sch.h b/drivers/gpio/gpio_sch.h index de3e7d7f748..06cd568c4d4 100644 --- a/drivers/gpio/gpio_sch.h +++ b/drivers/gpio/gpio_sch.h @@ -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/gpio/gpio_stm32.c b/drivers/gpio/gpio_stm32.c index eccb37e144c..f0199d3e5fc 100644 --- a/drivers/gpio/gpio_stm32.c +++ b/drivers/gpio/gpio_stm32.c @@ -1,17 +1,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 */ #include diff --git a/drivers/gpio/gpio_stm32.h b/drivers/gpio/gpio_stm32.h index 915fc1a1eca..57828f205da 100644 --- a/drivers/gpio/gpio_stm32.h +++ b/drivers/gpio/gpio_stm32.h @@ -1,17 +1,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 */ #ifndef _STM32_GPIO_H_ diff --git a/drivers/gpio/gpio_utils.h b/drivers/gpio/gpio_utils.h index 09cef06b187..65a8f3b337a 100644 --- a/drivers/gpio/gpio_utils.h +++ b/drivers/gpio/gpio_utils.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/grove/Kconfig b/drivers/grove/Kconfig index a45626a0c23..04a332c100f 100644 --- a/drivers/grove/Kconfig +++ b/drivers/grove/Kconfig @@ -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/grove/lcd_rgb.c b/drivers/grove/lcd_rgb.c index 6ebe697ff74..57bef796d9d 100644 --- a/drivers/grove/lcd_rgb.c +++ b/drivers/grove/lcd_rgb.c @@ -1,17 +1,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 diff --git a/drivers/grove/light_sensor.c b/drivers/grove/light_sensor.c index 4872f1046f9..6c3b3344bdc 100644 --- a/drivers/grove/light_sensor.c +++ b/drivers/grove/light_sensor.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/grove/temperature_sensor.c b/drivers/grove/temperature_sensor.c index b978f43ffac..eb2986e0f75 100644 --- a/drivers/grove/temperature_sensor.c +++ b/drivers/grove/temperature_sensor.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index c663e72dc20..283e956f3e1 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -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/i2c/i2c_atmel_sam3.c b/drivers/i2c/i2c_atmel_sam3.c index 9d61c487114..61f55ad1188 100644 --- a/drivers/i2c/i2c_atmel_sam3.c +++ b/drivers/i2c/i2c_atmel_sam3.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/i2c/i2c_atmel_sam3.h b/drivers/i2c/i2c_atmel_sam3.h index c161b287aec..c3a8e87034d 100644 --- a/drivers/i2c/i2c_atmel_sam3.h +++ b/drivers/i2c/i2c_atmel_sam3.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/i2c/i2c_dw.c b/drivers/i2c/i2c_dw.c index 1a421aa32cf..42429f5c632 100644 --- a/drivers/i2c/i2c_dw.c +++ b/drivers/i2c/i2c_dw.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 #include diff --git a/drivers/i2c/i2c_dw.h b/drivers/i2c/i2c_dw.h index 10615bdce5c..ebba47ce36a 100644 --- a/drivers/i2c/i2c_dw.h +++ b/drivers/i2c/i2c_dw.h @@ -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 */ #ifndef __DRIVERS_I2C_DW_H #define __DRIVERS_I2C_DW_H diff --git a/drivers/i2c/i2c_dw_registers.h b/drivers/i2c/i2c_dw_registers.h index 5e4ee6796b1..c694353e394 100644 --- a/drivers/i2c/i2c_dw_registers.h +++ b/drivers/i2c/i2c_dw_registers.h @@ -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 */ #ifndef __DRIVERS_I2C_DW_REGISTERS_H #define __DRIVERS_I2C_DW_REGISTERS_H diff --git a/drivers/i2c/i2c_mcux.c b/drivers/i2c/i2c_mcux.c index 2a13637050a..1d9a71d796e 100644 --- a/drivers/i2c/i2c_mcux.c +++ b/drivers/i2c/i2c_mcux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/drivers/i2c/i2c_qmsi.c b/drivers/i2c/i2c_qmsi.c index c36a0b1a668..17114d4b134 100644 --- a/drivers/i2c/i2c_qmsi.c +++ b/drivers/i2c/i2c_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/i2c/i2c_qmsi_ss.c b/drivers/i2c/i2c_qmsi_ss.c index 846697d76ed..0c9de956268 100644 --- a/drivers/i2c/i2c_qmsi_ss.c +++ b/drivers/i2c/i2c_qmsi_ss.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/i2c/i2c_stm32lx.c b/drivers/i2c/i2c_stm32lx.c index fdf25a8b45e..44cd60b5b2c 100644 --- a/drivers/i2c/i2c_stm32lx.c +++ b/drivers/i2c/i2c_stm32lx.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 BayLibre, SAS * - * 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/i2c/i2c_stm32lx.h b/drivers/i2c/i2c_stm32lx.h index 927842985e2..84a6330e137 100644 --- a/drivers/i2c/i2c_stm32lx.h +++ b/drivers/i2c/i2c_stm32lx.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32LX_I2C_H_ diff --git a/drivers/ieee802154/ieee802154_cc2520.c b/drivers/ieee802154/ieee802154_cc2520.c index 14ff507b3e5..e1d71bc1632 100644 --- a/drivers/ieee802154/ieee802154_cc2520.c +++ b/drivers/ieee802154/ieee802154_cc2520.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #define SYS_LOG_LEVEL CONFIG_SYS_LOG_IEEE802154_DRIVER_LEVEL diff --git a/drivers/ieee802154/ieee802154_cc2520.h b/drivers/ieee802154/ieee802154_cc2520.h index 7f7b7ed8615..0ff7cd3fbf8 100644 --- a/drivers/ieee802154/ieee802154_cc2520.h +++ b/drivers/ieee802154/ieee802154_cc2520.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IEEE802154_CC2520_H__ diff --git a/drivers/ieee802154/ieee802154_cc2520_regs.h b/drivers/ieee802154/ieee802154_cc2520_regs.h index 4aa8974842d..4d97a9bb07c 100644 --- a/drivers/ieee802154/ieee802154_cc2520_regs.h +++ b/drivers/ieee802154/ieee802154_cc2520_regs.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IEEE802154_CC2520_REGS_H__ diff --git a/drivers/ieee802154/ieee802154_uart_pipe.c b/drivers/ieee802154/ieee802154_uart_pipe.c index ae081903efd..ea9aed4d912 100644 --- a/drivers/ieee802154/ieee802154_uart_pipe.c +++ b/drivers/ieee802154/ieee802154_uart_pipe.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define SYS_LOG_LEVEL CONFIG_SYS_LOG_IEEE802154_DRIVER_LEVEL diff --git a/drivers/ieee802154/ieee802154_uart_pipe.h b/drivers/ieee802154/ieee802154_uart_pipe.h index b132f6ae182..8b78d8e5558 100644 --- a/drivers/ieee802154/ieee802154_uart_pipe.h +++ b/drivers/ieee802154/ieee802154_uart_pipe.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IEEE802154_UART_PIPE_H__ diff --git a/drivers/interrupt_controller/Kconfig b/drivers/interrupt_controller/Kconfig index b0a45b13950..76419d852f8 100644 --- a/drivers/interrupt_controller/Kconfig +++ b/drivers/interrupt_controller/Kconfig @@ -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/interrupt_controller/Kconfig.stm32 b/drivers/interrupt_controller/Kconfig.stm32 index c2382ada7aa..eafbc365c95 100644 --- a/drivers/interrupt_controller/Kconfig.stm32 +++ b/drivers/interrupt_controller/Kconfig.stm32 @@ -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 SOC_FAMILY_STM32 diff --git a/drivers/interrupt_controller/arcv2_irq_unit.c b/drivers/interrupt_controller/arcv2_irq_unit.c index 7a95198dd73..f5917879ca9 100644 --- a/drivers/interrupt_controller/arcv2_irq_unit.c +++ b/drivers/interrupt_controller/arcv2_irq_unit.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/interrupt_controller/exti_stm32.c b/drivers/interrupt_controller/exti_stm32.c index 9e3f874b1d7..08f454d497c 100644 --- a/drivers/interrupt_controller/exti_stm32.c +++ b/drivers/interrupt_controller/exti_stm32.c @@ -1,17 +1,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 */ /** diff --git a/drivers/interrupt_controller/exti_stm32.h b/drivers/interrupt_controller/exti_stm32.h index ff33fafdeea..5ef77481ae8 100644 --- a/drivers/interrupt_controller/exti_stm32.h +++ b/drivers/interrupt_controller/exti_stm32.h @@ -1,17 +1,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 */ /** diff --git a/drivers/interrupt_controller/i8259.c b/drivers/interrupt_controller/i8259.c index eb0613f8348..aa9535f37ff 100644 --- a/drivers/interrupt_controller/i8259.c +++ b/drivers/interrupt_controller/i8259.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/interrupt_controller/ioapic_intr.c b/drivers/interrupt_controller/ioapic_intr.c index 44f32ec0f2d..e1b511f6ab9 100644 --- a/drivers/interrupt_controller/ioapic_intr.c +++ b/drivers/interrupt_controller/ioapic_intr.c @@ -2,17 +2,7 @@ * Copyright (c) 1997-1998, 2000-2002, 2004, 2006-2008, 2011-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/interrupt_controller/ioapic_priv.h b/drivers/interrupt_controller/ioapic_priv.h index 649a59efee4..24ab2b0b858 100644 --- a/drivers/interrupt_controller/ioapic_priv.h +++ b/drivers/interrupt_controller/ioapic_priv.h @@ -4,17 +4,7 @@ * Copyright (c) 2012-2015 Wind River Systems, Inc. * 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 */ #ifndef __INCioapic_privh diff --git a/drivers/interrupt_controller/loapic_intr.c b/drivers/interrupt_controller/loapic_intr.c index 7830fc4e403..def3b19b5bb 100644 --- a/drivers/interrupt_controller/loapic_intr.c +++ b/drivers/interrupt_controller/loapic_intr.c @@ -1,17 +1,7 @@ /* * Copyright (c) 1984-2008, 2011-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/interrupt_controller/loapic_spurious.S b/drivers/interrupt_controller/loapic_spurious.S index 70ce9cbffe0..f923e859c57 100644 --- a/drivers/interrupt_controller/loapic_spurious.S +++ b/drivers/interrupt_controller/loapic_spurious.S @@ -1,17 +1,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/interrupt_controller/mvic.c b/drivers/interrupt_controller/mvic.c index ff23168c83b..f71ae12b9c4 100644 --- a/drivers/interrupt_controller/mvic.c +++ b/drivers/interrupt_controller/mvic.c @@ -1,17 +1,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/interrupt_controller/system_apic.c b/drivers/interrupt_controller/system_apic.c index fc06f8e5536..7b865d5ec0a 100644 --- a/drivers/interrupt_controller/system_apic.c +++ b/drivers/interrupt_controller/system_apic.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/ipm/ipm_quark_se.c b/drivers/ipm/ipm_quark_se.c index 26e140f7826..2ff8704165b 100644 --- a/drivers/ipm/ipm_quark_se.c +++ b/drivers/ipm/ipm_quark_se.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 diff --git a/drivers/ipm/ipm_quark_se.h b/drivers/ipm/ipm_quark_se.h index 5c324066fda..5fbc6398c85 100644 --- a/drivers/ipm/ipm_quark_se.h +++ b/drivers/ipm/ipm_quark_se.h @@ -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/pci/Kconfig b/drivers/pci/Kconfig index 03fd692fb52..618760c8908 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -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/pci/pci.c b/drivers/pci/pci.c index 9dace10fbff..208a71c0acc 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/pci/pci_config.c b/drivers/pci/pci_config.c index 266cd0b0a46..225b1939b91 100644 --- a/drivers/pci/pci_config.c +++ b/drivers/pci/pci_config.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2009-2010, 2013-2014 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/pci/pci_interface.c b/drivers/pci/pci_interface.c index 6ae9679f498..b5812f372dd 100644 --- a/drivers/pci/pci_interface.c +++ b/drivers/pci/pci_interface.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2009-2011, 2013-2014 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/pci/pci_legacy_bridge.c b/drivers/pci/pci_legacy_bridge.c index 78cf81c344a..8563f1330ae 100644 --- a/drivers/pci/pci_legacy_bridge.c +++ b/drivers/pci/pci_legacy_bridge.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/pinmux/Kconfig b/drivers/pinmux/Kconfig index b888b71dc26..0897e33e2f1 100644 --- a/drivers/pinmux/Kconfig +++ b/drivers/pinmux/Kconfig @@ -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/pinmux/Kconfig.beetle b/drivers/pinmux/Kconfig.beetle index 5f22186e8d1..13e347ed97e 100644 --- a/drivers/pinmux/Kconfig.beetle +++ b/drivers/pinmux/Kconfig.beetle @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 PINMUX_BEETLE diff --git a/drivers/pinmux/Kconfig.mcux b/drivers/pinmux/Kconfig.mcux index 64354f4d0ae..8a0f6451803 100644 --- a/drivers/pinmux/Kconfig.mcux +++ b/drivers/pinmux/Kconfig.mcux @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 PINMUX_MCUX diff --git a/drivers/pinmux/Kconfig.stm32 b/drivers/pinmux/Kconfig.stm32 index 815c7f6d17a..8d093fb352b 100644 --- a/drivers/pinmux/Kconfig.stm32 +++ b/drivers/pinmux/Kconfig.stm32 @@ -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 PINMUX_STM32 diff --git a/drivers/pinmux/beetle/pinmux_board_v2m_beetle.c b/drivers/pinmux/beetle/pinmux_board_v2m_beetle.c index fd236f28e0a..94b8cd16bc0 100644 --- a/drivers/pinmux/beetle/pinmux_board_v2m_beetle.c +++ b/drivers/pinmux/beetle/pinmux_board_v2m_beetle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/dev/Kconfig b/drivers/pinmux/dev/Kconfig index 49dd0b10dfd..d2448f8fe13 100644 --- a/drivers/pinmux/dev/Kconfig +++ b/drivers/pinmux/dev/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # config PINMUX_DEV diff --git a/drivers/pinmux/dev/pinmux_dev_arm_beetle.c b/drivers/pinmux/dev/pinmux_dev_arm_beetle.c index 26bc1db3ddf..62ce098c455 100644 --- a/drivers/pinmux/dev/pinmux_dev_arm_beetle.c +++ b/drivers/pinmux/dev/pinmux_dev_arm_beetle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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 #include diff --git a/drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c b/drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c index dc4ca185dbe..956ac016def 100644 --- a/drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c +++ b/drivers/pinmux/dev/pinmux_dev_atmel_sam3x.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 #include diff --git a/drivers/pinmux/dev/pinmux_dev_k64.c b/drivers/pinmux/dev/pinmux_dev_k64.c index 45334650931..6c85d7cdd38 100644 --- a/drivers/pinmux/dev/pinmux_dev_k64.c +++ b/drivers/pinmux/dev/pinmux_dev_k64.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/pinmux/dev/pinmux_dev_qmsi.c b/drivers/pinmux/dev/pinmux_dev_qmsi.c index 092215e9604..fd9fcdb0cb7 100644 --- a/drivers/pinmux/dev/pinmux_dev_qmsi.c +++ b/drivers/pinmux/dev/pinmux_dev_qmsi.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/pinmux/dev/pinmux_dev_stm32.c b/drivers/pinmux/dev/pinmux_dev_stm32.c index 3077d15c177..619df8d870c 100644 --- a/drivers/pinmux/dev/pinmux_dev_stm32.c +++ b/drivers/pinmux/dev/pinmux_dev_stm32.c @@ -1,17 +1,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 */ /** diff --git a/drivers/pinmux/pinmux.h b/drivers/pinmux/pinmux.h index e0bf200b370..85f60a5bad5 100644 --- a/drivers/pinmux/pinmux.h +++ b/drivers/pinmux/pinmux.h @@ -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 */ #ifndef __DRIVERS_PINMUX_H #define __DRIVERS_PINMUX_H diff --git a/drivers/pinmux/pinmux_mcux.c b/drivers/pinmux/pinmux_mcux.c index 475680b8cdd..ddd9e9d4892 100644 --- a/drivers/pinmux/pinmux_mcux.c +++ b/drivers/pinmux/pinmux_mcux.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/drivers/pinmux/pinmux_quark_mcu.h b/drivers/pinmux/pinmux_quark_mcu.h index 8ed90520e56..e4b6cdbf5f4 100644 --- a/drivers/pinmux/pinmux_quark_mcu.h +++ b/drivers/pinmux/pinmux_quark_mcu.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #define PINMUX_PULLUP_OFFSET 0x00 diff --git a/drivers/pinmux/stm32/pinmux_board_carbon.c b/drivers/pinmux/stm32/pinmux_board_carbon.c index 2a8ae5ce238..29a087221fa 100644 --- a/drivers/pinmux/stm32/pinmux_board_carbon.c +++ b/drivers/pinmux/stm32/pinmux_board_carbon.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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_nucleo_f103rb.c b/drivers/pinmux/stm32/pinmux_board_nucleo_f103rb.c index cac7cb0649b..da42c1cba04 100644 --- a/drivers/pinmux/stm32/pinmux_board_nucleo_f103rb.c +++ b/drivers/pinmux/stm32/pinmux_board_nucleo_f103rb.c @@ -1,17 +1,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 */ #include diff --git a/drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c b/drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c index 3654dee920a..9314bf7b78f 100644 --- a/drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c +++ b/drivers/pinmux/stm32/pinmux_board_nucleo_f401re.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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_nucleo_f411re.c b/drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c index dcd234b2550..2a243e68d1e 100644 --- a/drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c +++ b/drivers/pinmux/stm32/pinmux_board_nucleo_f411re.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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_nucleo_l476rg.c b/drivers/pinmux/stm32/pinmux_board_nucleo_l476rg.c index 202c232bc6a..97d4a05bff5 100644 --- a/drivers/pinmux/stm32/pinmux_board_nucleo_l476rg.c +++ b/drivers/pinmux/stm32/pinmux_board_nucleo_l476rg.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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_olimexino_stm32.c b/drivers/pinmux/stm32/pinmux_board_olimexino_stm32.c index 1b1503c1990..423ffc9b271 100644 --- a/drivers/pinmux/stm32/pinmux_board_olimexino_stm32.c +++ b/drivers/pinmux/stm32/pinmux_board_olimexino_stm32.c @@ -1,17 +1,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 */ #include diff --git a/drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c b/drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c index 8ea4c17a517..af694d75ddb 100644 --- a/drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c +++ b/drivers/pinmux/stm32/pinmux_board_stm32_mini_a15.c @@ -1,17 +1,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 */ #include diff --git a/drivers/pinmux/stm32/pinmux_stm32.c b/drivers/pinmux/stm32/pinmux_stm32.c index dfc13b4514c..b8c2dd44f2c 100644 --- a/drivers/pinmux/stm32/pinmux_stm32.c +++ b/drivers/pinmux/stm32/pinmux_stm32.c @@ -1,17 +1,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 */ /** diff --git a/drivers/pinmux/stm32/pinmux_stm32.h b/drivers/pinmux/stm32/pinmux_stm32.h index 9a7aed4d184..455e4f110d0 100644 --- a/drivers/pinmux/stm32/pinmux_stm32.h +++ b/drivers/pinmux/stm32/pinmux_stm32.h @@ -1,17 +1,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 */ /** diff --git a/drivers/pinmux/stm32/pinmux_stm32f1.h b/drivers/pinmux/stm32/pinmux_stm32f1.h index d67f677f16d..664e3df51ad 100644 --- a/drivers/pinmux/stm32/pinmux_stm32f1.h +++ b/drivers/pinmux/stm32/pinmux_stm32f1.h @@ -1,17 +1,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 */ #ifndef _STM32F1_PINMUX_H_ diff --git a/drivers/pinmux/stm32/pinmux_stm32f4.h b/drivers/pinmux/stm32/pinmux_stm32f4.h index e6d27626630..02403bc87c2 100644 --- a/drivers/pinmux/stm32/pinmux_stm32f4.h +++ b/drivers/pinmux/stm32/pinmux_stm32f4.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _STM32F4_PINMUX_H_ diff --git a/drivers/pinmux/stm32/pinmux_stm32l4x.h b/drivers/pinmux/stm32/pinmux_stm32l4x.h index 07531ef1281..6b99c248969 100644 --- a/drivers/pinmux/stm32/pinmux_stm32l4x.h +++ b/drivers/pinmux/stm32/pinmux_stm32l4x.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_PINMUX_H_ diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index aaede520cfb..cd495540f01 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -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 # menuconfig PWM diff --git a/drivers/pwm/Kconfig.dw b/drivers/pwm/Kconfig.dw index 05d01f0dbcf..6f3f90d345e 100644 --- a/drivers/pwm/Kconfig.dw +++ b/drivers/pwm/Kconfig.dw @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig PWM_DW diff --git a/drivers/pwm/Kconfig.k64 b/drivers/pwm/Kconfig.k64 index 6c2955a488c..fb578cb2835 100644 --- a/drivers/pwm/Kconfig.k64 +++ b/drivers/pwm/Kconfig.k64 @@ -4,17 +4,7 @@ # Copyright (c) 2016 Intel Corporation # Copyright (c) 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 # ################################################ diff --git a/drivers/pwm/Kconfig.pca9685 b/drivers/pwm/Kconfig.pca9685 index 01e89121a86..779272cb195 100644 --- a/drivers/pwm/Kconfig.pca9685 +++ b/drivers/pwm/Kconfig.pca9685 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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/pwm/Kconfig.qmsi b/drivers/pwm/Kconfig.qmsi index 3586ccba6b8..dc7bcb4373d 100644 --- a/drivers/pwm/Kconfig.qmsi +++ b/drivers/pwm/Kconfig.qmsi @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig PWM_QMSI diff --git a/drivers/pwm/Kconfig.stm32 b/drivers/pwm/Kconfig.stm32 index 386cfe54637..bfc738c336d 100644 --- a/drivers/pwm/Kconfig.stm32 +++ b/drivers/pwm/Kconfig.stm32 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited. # -# 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 PWM_STM32 diff --git a/drivers/pwm/pwm_dw.c b/drivers/pwm/pwm_dw.c index 092150351f9..4ed530de95a 100644 --- a/drivers/pwm/pwm_dw.c +++ b/drivers/pwm/pwm_dw.c @@ -1,17 +1,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/pwm/pwm_k64_ftm.c b/drivers/pwm/pwm_k64_ftm.c index b9ef06f1bb0..bcf39329d21 100644 --- a/drivers/pwm/pwm_k64_ftm.c +++ b/drivers/pwm/pwm_k64_ftm.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/drivers/pwm/pwm_k64_ftm.h b/drivers/pwm/pwm_k64_ftm.h index e50fe235d2e..9bf17069e07 100644 --- a/drivers/pwm/pwm_k64_ftm.h +++ b/drivers/pwm/pwm_k64_ftm.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/drivers/pwm/pwm_pca9685.c b/drivers/pwm/pwm_pca9685.c index b586020e502..5457f14718d 100644 --- a/drivers/pwm/pwm_pca9685.c +++ b/drivers/pwm/pwm_pca9685.c @@ -1,17 +1,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/pwm/pwm_pca9685.h b/drivers/pwm/pwm_pca9685.h index 085458601a7..e6ddb77e3c3 100644 --- a/drivers/pwm/pwm_pca9685.h +++ b/drivers/pwm/pwm_pca9685.h @@ -1,17 +1,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/pwm/pwm_qmsi.c b/drivers/pwm/pwm_qmsi.c index d89c0e8dc87..eb28f80dc18 100644 --- a/drivers/pwm/pwm_qmsi.c +++ b/drivers/pwm/pwm_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/pwm/pwm_stm32.c b/drivers/pwm/pwm_stm32.c index daf6c657bab..d7754a9bf1a 100644 --- a/drivers/pwm/pwm_stm32.c +++ b/drivers/pwm/pwm_stm32.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/pwm/pwm_stm32.h b/drivers/pwm/pwm_stm32.h index e7a1972fbab..97762c138ee 100644 --- a/drivers/pwm/pwm_stm32.h +++ b/drivers/pwm/pwm_stm32.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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/random/Kconfig b/drivers/random/Kconfig index c3658f4ed43..4efccd7fadc 100644 --- a/drivers/random/Kconfig +++ b/drivers/random/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 RANDOM_GENERATOR diff --git a/drivers/random/Kconfig.mcux b/drivers/random/Kconfig.mcux index 54d79788e31..eb991a8d08f 100644 --- a/drivers/random/Kconfig.mcux +++ b/drivers/random/Kconfig.mcux @@ -2,17 +2,7 @@ # # Copyright (c) 2016 ARM Ltd. # -# 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 RANDOM_MCUX bool "MCUX Random driver" diff --git a/drivers/random/rand32_timer.c b/drivers/random/rand32_timer.c index 8b6f28bae06..3f2e881bbff 100644 --- a/drivers/random/rand32_timer.c +++ b/drivers/random/rand32_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/random/rand32_timestamp.c b/drivers/random/rand32_timestamp.c index c507acc03f7..8253dacfe05 100644 --- a/drivers/random/rand32_timestamp.c +++ b/drivers/random/rand32_timestamp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/random/random_mcux.c b/drivers/random/random_mcux.c index 8b42631c9de..8d86c8764b3 100644 --- a/drivers/random/random_mcux.c +++ b/drivers/random/random_mcux.c @@ -2,17 +2,6 @@ * Copyright (c) 2016 ARM Limited. * * SPDX-License-Identifier: Apache-2.0 - * 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. */ #include diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index f799048ea97..e28ecc40432 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -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/rtc/rtc_qmsi.c b/drivers/rtc/rtc_qmsi.c index 3ada356d4f8..8dfa4ed5577 100644 --- a/drivers/rtc/rtc_qmsi.c +++ b/drivers/rtc/rtc_qmsi.c @@ -1,17 +1,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 diff --git a/drivers/sensor/Kconfig b/drivers/sensor/Kconfig index ab347779aab..c47a32c8321 100644 --- a/drivers/sensor/Kconfig +++ b/drivers/sensor/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig SENSOR diff --git a/drivers/sensor/ak8975/Kconfig b/drivers/sensor/ak8975/Kconfig index b824094a962..a2b43169421 100644 --- a/drivers/sensor/ak8975/Kconfig +++ b/drivers/sensor/ak8975/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig AK8975 diff --git a/drivers/sensor/ak8975/ak8975.c b/drivers/sensor/ak8975/ak8975.c index 96f91eb1330..299bbb04f8f 100644 --- a/drivers/sensor/ak8975/ak8975.c +++ b/drivers/sensor/ak8975/ak8975.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/ak8975/ak8975.h b/drivers/sensor/ak8975/ak8975.h index dc4f1b5af58..f6c38d63108 100644 --- a/drivers/sensor/ak8975/ak8975.h +++ b/drivers/sensor/ak8975/ak8975.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_AK8975__ diff --git a/drivers/sensor/bma280/Kconfig b/drivers/sensor/bma280/Kconfig index 19106665334..d16c7c5871b 100644 --- a/drivers/sensor/bma280/Kconfig +++ b/drivers/sensor/bma280/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig BMA280 diff --git a/drivers/sensor/bma280/bma280.c b/drivers/sensor/bma280/bma280.c index 4307359eb9d..57791761699 100644 --- a/drivers/sensor/bma280/bma280.c +++ b/drivers/sensor/bma280/bma280.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/bma280/bma280.h b/drivers/sensor/bma280/bma280.h index 346c0169547..7aa6a2d8db3 100644 --- a/drivers/sensor/bma280/bma280.h +++ b/drivers/sensor/bma280/bma280.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_BMA280_H__ diff --git a/drivers/sensor/bma280/bma280_trigger.c b/drivers/sensor/bma280/bma280_trigger.c index d3121330fbe..74457804355 100644 --- a/drivers/sensor/bma280/bma280_trigger.c +++ b/drivers/sensor/bma280/bma280_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/bmc150_magn/Kconfig b/drivers/sensor/bmc150_magn/Kconfig index 868a2dc59f2..54840960a2f 100644 --- a/drivers/sensor/bmc150_magn/Kconfig +++ b/drivers/sensor/bmc150_magn/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig BMC150_MAGN diff --git a/drivers/sensor/bmc150_magn/bmc150_magn.c b/drivers/sensor/bmc150_magn/bmc150_magn.c index ba6a51e4030..e6e3813299f 100644 --- a/drivers/sensor/bmc150_magn/bmc150_magn.c +++ b/drivers/sensor/bmc150_magn/bmc150_magn.c @@ -6,17 +6,7 @@ * This code is based on bmm050.c from: * https://github.com/BoschSensortec/BMM050_driver * - * 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/sensor/bmc150_magn/bmc150_magn.h b/drivers/sensor/bmc150_magn/bmc150_magn.h index 482d1eb2f96..0cb3b4c2a43 100644 --- a/drivers/sensor/bmc150_magn/bmc150_magn.h +++ b/drivers/sensor/bmc150_magn/bmc150_magn.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_BMC150_MAGN_H__ diff --git a/drivers/sensor/bmc150_magn/bmc150_magn_trigger.c b/drivers/sensor/bmc150_magn/bmc150_magn_trigger.c index eaec63a2acb..b684a65ddd2 100644 --- a/drivers/sensor/bmc150_magn/bmc150_magn_trigger.c +++ b/drivers/sensor/bmc150_magn/bmc150_magn_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/bme280/Kconfig b/drivers/sensor/bme280/Kconfig index 34c6f7f6f7a..23fccf5bd29 100644 --- a/drivers/sensor/bme280/Kconfig +++ b/drivers/sensor/bme280/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig BME280 bool "BME280/BMP280 sensor" diff --git a/drivers/sensor/bme280/bme280.c b/drivers/sensor/bme280/bme280.c index 1a3a2a326c2..f1426952535 100644 --- a/drivers/sensor/bme280/bme280.c +++ b/drivers/sensor/bme280/bme280.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/bme280/bme280.h b/drivers/sensor/bme280/bme280.h index ef8f5a57ddf..6a5d228f6e8 100644 --- a/drivers/sensor/bme280/bme280.h +++ b/drivers/sensor/bme280/bme280.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_BME280_H__ diff --git a/drivers/sensor/bmg160/Kconfig b/drivers/sensor/bmg160/Kconfig index 1be0ee534b5..00023d7fba1 100644 --- a/drivers/sensor/bmg160/Kconfig +++ b/drivers/sensor/bmg160/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig BMG160 diff --git a/drivers/sensor/bmg160/bmg160.c b/drivers/sensor/bmg160/bmg160.c index 3104e2d9d17..4a72c5ab5b4 100644 --- a/drivers/sensor/bmg160/bmg160.c +++ b/drivers/sensor/bmg160/bmg160.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 * * Datasheet: * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMG160-DS000-09.pdf diff --git a/drivers/sensor/bmg160/bmg160.h b/drivers/sensor/bmg160/bmg160.h index 80f244a7aff..2f01c1b54a9 100644 --- a/drivers/sensor/bmg160/bmg160.h +++ b/drivers/sensor/bmg160/bmg160.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _BMG160_H_ diff --git a/drivers/sensor/bmg160/bmg160_trigger.c b/drivers/sensor/bmg160/bmg160_trigger.c index c7061dda4ae..2cd09db5a9b 100644 --- a/drivers/sensor/bmg160/bmg160_trigger.c +++ b/drivers/sensor/bmg160/bmg160_trigger.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 * * Datasheet: * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMG160-DS000-09.pdf diff --git a/drivers/sensor/bmi160/Kconfig b/drivers/sensor/bmi160/Kconfig index 4d349719d4f..9ae217dc074 100644 --- a/drivers/sensor/bmi160/Kconfig +++ b/drivers/sensor/bmi160/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig BMI160 diff --git a/drivers/sensor/bmi160/bmi160.c b/drivers/sensor/bmi160/bmi160.c index 0bf43ee732a..d8b54fdcc59 100644 --- a/drivers/sensor/bmi160/bmi160.c +++ b/drivers/sensor/bmi160/bmi160.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 * * Datasheet: * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMI160-DS000-07.pdf diff --git a/drivers/sensor/bmi160/bmi160.h b/drivers/sensor/bmi160/bmi160.h index f14ae861e8f..fec2ba1c235 100644 --- a/drivers/sensor/bmi160/bmi160.h +++ b/drivers/sensor/bmi160/bmi160.h @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 */ #ifndef _BMI160_H_ diff --git a/drivers/sensor/bmi160/bmi160_trigger.c b/drivers/sensor/bmi160/bmi160_trigger.c index 0f4fa410ab4..ccd385670c0 100644 --- a/drivers/sensor/bmi160/bmi160_trigger.c +++ b/drivers/sensor/bmi160/bmi160_trigger.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 diff --git a/drivers/sensor/dht/Kconfig b/drivers/sensor/dht/Kconfig index d287a525b46..62cb55438fa 100644 --- a/drivers/sensor/dht/Kconfig +++ b/drivers/sensor/dht/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig DHT diff --git a/drivers/sensor/dht/dht.c b/drivers/sensor/dht/dht.c index 5220df9247a..0044cfaa1b8 100644 --- a/drivers/sensor/dht/dht.c +++ b/drivers/sensor/dht/dht.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/dht/dht.h b/drivers/sensor/dht/dht.h index 42c90f708f6..cf2b9cac7f5 100644 --- a/drivers/sensor/dht/dht.h +++ b/drivers/sensor/dht/dht.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_DHT diff --git a/drivers/sensor/fxos8700/Kconfig b/drivers/sensor/fxos8700/Kconfig index 337c03a6527..fb442c718b4 100644 --- a/drivers/sensor/fxos8700/Kconfig +++ b/drivers/sensor/fxos8700/Kconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Freescale Semiconductor, 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 FXOS8700 diff --git a/drivers/sensor/fxos8700/Makefile b/drivers/sensor/fxos8700/Makefile index 0f551dda84c..5f16111f0cf 100644 --- a/drivers/sensor/fxos8700/Makefile +++ b/drivers/sensor/fxos8700/Makefile @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # obj-$(CONFIG_FXOS8700) += fxos8700.o diff --git a/drivers/sensor/fxos8700/fxos8700.c b/drivers/sensor/fxos8700/fxos8700.c index 218c5940640..03b0ed4df4a 100644 --- a/drivers/sensor/fxos8700/fxos8700.c +++ b/drivers/sensor/fxos8700/fxos8700.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/drivers/sensor/fxos8700/fxos8700.h b/drivers/sensor/fxos8700/fxos8700.h index 1c5a87ad800..2668afcc116 100644 --- a/drivers/sensor/fxos8700/fxos8700.h +++ b/drivers/sensor/fxos8700/fxos8700.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/drivers/sensor/fxos8700/fxos8700_trigger.c b/drivers/sensor/fxos8700/fxos8700_trigger.c index d3988e529ea..d15cbb98261 100644 --- a/drivers/sensor/fxos8700/fxos8700_trigger.c +++ b/drivers/sensor/fxos8700/fxos8700_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/drivers/sensor/hdc1008/Kconfig b/drivers/sensor/hdc1008/Kconfig index 8792dc37a28..88866b58321 100644 --- a/drivers/sensor/hdc1008/Kconfig +++ b/drivers/sensor/hdc1008/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig HDC1008 diff --git a/drivers/sensor/hdc1008/hdc1008.c b/drivers/sensor/hdc1008/hdc1008.c index c95e631f3a5..0caab402986 100644 --- a/drivers/sensor/hdc1008/hdc1008.c +++ b/drivers/sensor/hdc1008/hdc1008.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/hdc1008/hdc1008.h b/drivers/sensor/hdc1008/hdc1008.h index d54c810140b..399b03db0ae 100644 --- a/drivers/sensor/hdc1008/hdc1008.h +++ b/drivers/sensor/hdc1008/hdc1008.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_HDC1008 diff --git a/drivers/sensor/hmc5883l/Kconfig b/drivers/sensor/hmc5883l/Kconfig index 7b566c1bfcc..a91a96b3884 100644 --- a/drivers/sensor/hmc5883l/Kconfig +++ b/drivers/sensor/hmc5883l/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig HMC5883L diff --git a/drivers/sensor/hmc5883l/hmc5883l.c b/drivers/sensor/hmc5883l/hmc5883l.c index f5178fb68e3..4e326ae74be 100644 --- a/drivers/sensor/hmc5883l/hmc5883l.c +++ b/drivers/sensor/hmc5883l/hmc5883l.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/hmc5883l/hmc5883l.h b/drivers/sensor/hmc5883l/hmc5883l.h index 4255a619da4..a070fc27b00 100644 --- a/drivers/sensor/hmc5883l/hmc5883l.h +++ b/drivers/sensor/hmc5883l/hmc5883l.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_HMC5883L_H__ diff --git a/drivers/sensor/hmc5883l/hmc5883l_trigger.c b/drivers/sensor/hmc5883l/hmc5883l_trigger.c index 419a03233d8..799d7ac1168 100644 --- a/drivers/sensor/hmc5883l/hmc5883l_trigger.c +++ b/drivers/sensor/hmc5883l/hmc5883l_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/hp206c/Kconfig b/drivers/sensor/hp206c/Kconfig index 2673e36b125..9153f8bb4ff 100644 --- a/drivers/sensor/hp206c/Kconfig +++ b/drivers/sensor/hp206c/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig HP206C bool "HopeRF HP206C precision barometer and altimeter sensor" diff --git a/drivers/sensor/hp206c/hp206c.c b/drivers/sensor/hp206c/hp206c.c index 32d96467241..281ca661144 100644 --- a/drivers/sensor/hp206c/hp206c.c +++ b/drivers/sensor/hp206c/hp206c.c @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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 * * Datasheet: * http://www.hoperf.com/upload/sensor/HP206C_DataSheet_EN_V2.0.pdf diff --git a/drivers/sensor/hp206c/hp206c.h b/drivers/sensor/hp206c/hp206c.h index 597c9334734..a6d95e34e24 100644 --- a/drivers/sensor/hp206c/hp206c.h +++ b/drivers/sensor/hp206c/hp206c.h @@ -2,17 +2,7 @@ * * Copyright (c) 2016 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/sensor/hts221/Kconfig b/drivers/sensor/hts221/Kconfig index e9ac23e1df8..8538180c41c 100644 --- a/drivers/sensor/hts221/Kconfig +++ b/drivers/sensor/hts221/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig HTS221 diff --git a/drivers/sensor/hts221/hts221.c b/drivers/sensor/hts221/hts221.c index a53974b0b45..cb3c36a86a9 100644 --- a/drivers/sensor/hts221/hts221.c +++ b/drivers/sensor/hts221/hts221.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/hts221/hts221.h b/drivers/sensor/hts221/hts221.h index 5d023132837..1a1ecb25b81 100644 --- a/drivers/sensor/hts221/hts221.h +++ b/drivers/sensor/hts221/hts221.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_HTS221_H__ diff --git a/drivers/sensor/hts221/hts221_trigger.c b/drivers/sensor/hts221/hts221_trigger.c index 01a50bdb5ae..be46996a255 100644 --- a/drivers/sensor/hts221/hts221_trigger.c +++ b/drivers/sensor/hts221/hts221_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/isl29035/Kconfig b/drivers/sensor/isl29035/Kconfig index 3199c96fa94..a212a7023d7 100644 --- a/drivers/sensor/isl29035/Kconfig +++ b/drivers/sensor/isl29035/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig ISL29035 diff --git a/drivers/sensor/isl29035/isl29035.c b/drivers/sensor/isl29035/isl29035.c index 5aeee522cb8..d8dc61ad71d 100644 --- a/drivers/sensor/isl29035/isl29035.c +++ b/drivers/sensor/isl29035/isl29035.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/isl29035/isl29035.h b/drivers/sensor/isl29035/isl29035.h index ccc5c838bed..0d6b0a06c3f 100644 --- a/drivers/sensor/isl29035/isl29035.h +++ b/drivers/sensor/isl29035/isl29035.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_ISL29035_H_ diff --git a/drivers/sensor/isl29035/isl29035_trigger.c b/drivers/sensor/isl29035/isl29035_trigger.c index 2553b16ae6b..16129db783b 100644 --- a/drivers/sensor/isl29035/isl29035_trigger.c +++ b/drivers/sensor/isl29035/isl29035_trigger.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lis3dh/Kconfig b/drivers/sensor/lis3dh/Kconfig index ed87cf9d2d8..0fb639baa52 100644 --- a/drivers/sensor/lis3dh/Kconfig +++ b/drivers/sensor/lis3dh/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig LIS3DH diff --git a/drivers/sensor/lis3dh/lis3dh.c b/drivers/sensor/lis3dh/lis3dh.c index c00c80ec57a..134b433ffd2 100644 --- a/drivers/sensor/lis3dh/lis3dh.c +++ b/drivers/sensor/lis3dh/lis3dh.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lis3dh/lis3dh.h b/drivers/sensor/lis3dh/lis3dh.h index 278816ea482..ebe8a866ac3 100644 --- a/drivers/sensor/lis3dh/lis3dh.h +++ b/drivers/sensor/lis3dh/lis3dh.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LIS3DH_H__ diff --git a/drivers/sensor/lis3dh/lis3dh_trigger.c b/drivers/sensor/lis3dh/lis3dh_trigger.c index b3f05eae9c6..7adf7843e9d 100644 --- a/drivers/sensor/lis3dh/lis3dh_trigger.c +++ b/drivers/sensor/lis3dh/lis3dh_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lis3mdl/Kconfig b/drivers/sensor/lis3mdl/Kconfig index 889758b90f4..2729a99c5dd 100644 --- a/drivers/sensor/lis3mdl/Kconfig +++ b/drivers/sensor/lis3mdl/Kconfig @@ -1,17 +1,7 @@ # Copyright (c) 2016 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 # menuconfig LIS3MDL diff --git a/drivers/sensor/lis3mdl/lis3mdl.c b/drivers/sensor/lis3mdl/lis3mdl.c index f051146df65..64d1b30dc2a 100644 --- a/drivers/sensor/lis3mdl/lis3mdl.c +++ b/drivers/sensor/lis3mdl/lis3mdl.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lis3mdl/lis3mdl.h b/drivers/sensor/lis3mdl/lis3mdl.h index bc18c5cd699..d03ab4f669c 100644 --- a/drivers/sensor/lis3mdl/lis3mdl.h +++ b/drivers/sensor/lis3mdl/lis3mdl.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LIS3MDL_H__ diff --git a/drivers/sensor/lis3mdl/lis3mdl_trigger.c b/drivers/sensor/lis3mdl/lis3mdl_trigger.c index 624e67df6d0..8fa48f89107 100644 --- a/drivers/sensor/lis3mdl/lis3mdl_trigger.c +++ b/drivers/sensor/lis3mdl/lis3mdl_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lps25hb/Kconfig b/drivers/sensor/lps25hb/Kconfig index c17e8a2e060..df2a157a294 100644 --- a/drivers/sensor/lps25hb/Kconfig +++ b/drivers/sensor/lps25hb/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig LPS25HB diff --git a/drivers/sensor/lps25hb/lps25hb.c b/drivers/sensor/lps25hb/lps25hb.c index a0e32854293..89bf368f909 100644 --- a/drivers/sensor/lps25hb/lps25hb.c +++ b/drivers/sensor/lps25hb/lps25hb.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lps25hb/lps25hb.h b/drivers/sensor/lps25hb/lps25hb.h index f0c83191928..cfd7a6ffd63 100644 --- a/drivers/sensor/lps25hb/lps25hb.h +++ b/drivers/sensor/lps25hb/lps25hb.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LPS25HB_H__ diff --git a/drivers/sensor/lsm6ds0/Kconfig b/drivers/sensor/lsm6ds0/Kconfig index 05f1f930167..8b7ba004693 100644 --- a/drivers/sensor/lsm6ds0/Kconfig +++ b/drivers/sensor/lsm6ds0/Kconfig @@ -4,17 +4,7 @@ # # Copyright (c) 2016 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 # menuconfig LSM6DS0 diff --git a/drivers/sensor/lsm6ds0/lsm6ds0.c b/drivers/sensor/lsm6ds0/lsm6ds0.c index 5a0cba6a160..330a519eea6 100644 --- a/drivers/sensor/lsm6ds0/lsm6ds0.c +++ b/drivers/sensor/lsm6ds0/lsm6ds0.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lsm6ds0/lsm6ds0.h b/drivers/sensor/lsm6ds0/lsm6ds0.h index 2cbe248d98a..0963833d6f0 100644 --- a/drivers/sensor/lsm6ds0/lsm6ds0.h +++ b/drivers/sensor/lsm6ds0/lsm6ds0.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LSM6DS0_H__ diff --git a/drivers/sensor/lsm9ds0_gyro/Kconfig b/drivers/sensor/lsm9ds0_gyro/Kconfig index a3ccd968206..7ed3805afb5 100644 --- a/drivers/sensor/lsm9ds0_gyro/Kconfig +++ b/drivers/sensor/lsm9ds0_gyro/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig LSM9DS0_GYRO diff --git a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c index 4e35c2724c0..01d954b9fba 100644 --- a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c +++ b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h index f958a484fc8..5de4909f7c5 100644 --- a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h +++ b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LSM9DS0_GYRO_H__ diff --git a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c index 1fc884b2552..da4a27a33fd 100644 --- a/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c +++ b/drivers/sensor/lsm9ds0_gyro/lsm9ds0_gyro_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lsm9ds0_mfd/Kconfig b/drivers/sensor/lsm9ds0_mfd/Kconfig index 70f6d852b26..cb0851ac0bf 100644 --- a/drivers/sensor/lsm9ds0_mfd/Kconfig +++ b/drivers/sensor/lsm9ds0_mfd/Kconfig @@ -4,17 +4,7 @@ # # Copyright (c) 2016 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 # menuconfig LSM9DS0_MFD diff --git a/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c b/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c index e05d84f80a3..1d253723d00 100644 --- a/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c +++ b/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h b/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h index d64abdbd861..244a1c36de6 100644 --- a/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h +++ b/drivers/sensor/lsm9ds0_mfd/lsm9ds0_mfd.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_LSM9DS0_MFD_H__ diff --git a/drivers/sensor/max44009/Kconfig b/drivers/sensor/max44009/Kconfig index 9e4e9b92a8a..317b42ec9ae 100644 --- a/drivers/sensor/max44009/Kconfig +++ b/drivers/sensor/max44009/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig MAX44009 diff --git a/drivers/sensor/max44009/max44009.c b/drivers/sensor/max44009/max44009.c index 1ea8068923e..12fb5e62272 100644 --- a/drivers/sensor/max44009/max44009.c +++ b/drivers/sensor/max44009/max44009.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/max44009/max44009.h b/drivers/sensor/max44009/max44009.h index 9a738ad8cb3..bfbceb58d75 100644 --- a/drivers/sensor/max44009/max44009.h +++ b/drivers/sensor/max44009/max44009.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_MAX44009 diff --git a/drivers/sensor/mcp9808/Kconfig b/drivers/sensor/mcp9808/Kconfig index c73928064a6..da1077b96c7 100644 --- a/drivers/sensor/mcp9808/Kconfig +++ b/drivers/sensor/mcp9808/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig MCP9808 diff --git a/drivers/sensor/mcp9808/mcp9808.c b/drivers/sensor/mcp9808/mcp9808.c index 9ae45c9cf7a..107d3ec1fc3 100644 --- a/drivers/sensor/mcp9808/mcp9808.c +++ b/drivers/sensor/mcp9808/mcp9808.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/mcp9808/mcp9808.h b/drivers/sensor/mcp9808/mcp9808.h index 177bf6571b9..7eec462cc5e 100644 --- a/drivers/sensor/mcp9808/mcp9808.h +++ b/drivers/sensor/mcp9808/mcp9808.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_MCP9808_H__ diff --git a/drivers/sensor/mcp9808/mcp9808_trigger.c b/drivers/sensor/mcp9808/mcp9808_trigger.c index 98f28ef4384..59a57882734 100644 --- a/drivers/sensor/mcp9808/mcp9808_trigger.c +++ b/drivers/sensor/mcp9808/mcp9808_trigger.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/mpu6050/Kconfig b/drivers/sensor/mpu6050/Kconfig index 79b46ad541a..f80e33fcea6 100644 --- a/drivers/sensor/mpu6050/Kconfig +++ b/drivers/sensor/mpu6050/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig MPU6050 diff --git a/drivers/sensor/mpu6050/mpu6050.c b/drivers/sensor/mpu6050/mpu6050.c index 75520615cfc..3234797d5f7 100644 --- a/drivers/sensor/mpu6050/mpu6050.c +++ b/drivers/sensor/mpu6050/mpu6050.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/mpu6050/mpu6050.h b/drivers/sensor/mpu6050/mpu6050.h index eb7d96af8b6..2838f7788c0 100644 --- a/drivers/sensor/mpu6050/mpu6050.h +++ b/drivers/sensor/mpu6050/mpu6050.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_MPU6050_H__ diff --git a/drivers/sensor/mpu6050/mpu6050_trigger.c b/drivers/sensor/mpu6050/mpu6050_trigger.c index c1cd3e3c0ad..c7da001b46c 100644 --- a/drivers/sensor/mpu6050/mpu6050_trigger.c +++ b/drivers/sensor/mpu6050/mpu6050_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/nrf5/Kconfig b/drivers/sensor/nrf5/Kconfig index 99cbde976cb..cc5e1891cb2 100644 --- a/drivers/sensor/nrf5/Kconfig +++ b/drivers/sensor/nrf5/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 ARM Ltd. # -# 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 TEMP_NRF5 diff --git a/drivers/sensor/nrf5/temp_nrf5.c b/drivers/sensor/nrf5/temp_nrf5.c index 88a0cd1e920..89be757e543 100644 --- a/drivers/sensor/nrf5/temp_nrf5.c +++ b/drivers/sensor/nrf5/temp_nrf5.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 ARM Ltd. * - * 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/sensor/sht3xd/Kconfig b/drivers/sensor/sht3xd/Kconfig index 8404e58d943..c1ff1e464e1 100644 --- a/drivers/sensor/sht3xd/Kconfig +++ b/drivers/sensor/sht3xd/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig SHT3XD diff --git a/drivers/sensor/sht3xd/sht3xd.c b/drivers/sensor/sht3xd/sht3xd.c index 0f31225055d..5011ee09aeb 100644 --- a/drivers/sensor/sht3xd/sht3xd.c +++ b/drivers/sensor/sht3xd/sht3xd.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/sht3xd/sht3xd.h b/drivers/sensor/sht3xd/sht3xd.h index ab2a7167ed5..91c777f3137 100644 --- a/drivers/sensor/sht3xd/sht3xd.h +++ b/drivers/sensor/sht3xd/sht3xd.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_SHT3XD_ diff --git a/drivers/sensor/sht3xd/sht3xd_trigger.c b/drivers/sensor/sht3xd/sht3xd_trigger.c index c0c2262dc7b..ae173b1ae23 100644 --- a/drivers/sensor/sht3xd/sht3xd_trigger.c +++ b/drivers/sensor/sht3xd/sht3xd_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/sx9500/Kconfig b/drivers/sensor/sx9500/Kconfig index de9a9f6ff96..7913a311a78 100644 --- a/drivers/sensor/sx9500/Kconfig +++ b/drivers/sensor/sx9500/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig SX9500 diff --git a/drivers/sensor/sx9500/sx9500.c b/drivers/sensor/sx9500/sx9500.c index b00db8a6901..b233a708bb0 100644 --- a/drivers/sensor/sx9500/sx9500.c +++ b/drivers/sensor/sx9500/sx9500.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/sx9500/sx9500.h b/drivers/sensor/sx9500/sx9500.h index a798e32e495..e5c3e44c321 100644 --- a/drivers/sensor/sx9500/sx9500.h +++ b/drivers/sensor/sx9500/sx9500.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_SX9500_H__ diff --git a/drivers/sensor/sx9500/sx9500_trigger.c b/drivers/sensor/sx9500/sx9500_trigger.c index 284042ae194..68269f78f5c 100644 --- a/drivers/sensor/sx9500/sx9500_trigger.c +++ b/drivers/sensor/sx9500/sx9500_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/th02/Kconfig b/drivers/sensor/th02/Kconfig index f998239559f..145a83ef05e 100644 --- a/drivers/sensor/th02/Kconfig +++ b/drivers/sensor/th02/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig TH02 diff --git a/drivers/sensor/th02/th02.c b/drivers/sensor/th02/th02.c index 8783cb0f88b..a6f1438087b 100644 --- a/drivers/sensor/th02/th02.c +++ b/drivers/sensor/th02/th02.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/th02/th02.h b/drivers/sensor/th02/th02.h index ae656df255f..74f9e2bd2b8 100644 --- a/drivers/sensor/th02/th02.h +++ b/drivers/sensor/th02/th02.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_TH02 diff --git a/drivers/sensor/tmp007/Kconfig b/drivers/sensor/tmp007/Kconfig index 7fbe9ef2403..e8f0ee2a528 100644 --- a/drivers/sensor/tmp007/Kconfig +++ b/drivers/sensor/tmp007/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig TMP007 diff --git a/drivers/sensor/tmp007/tmp007.c b/drivers/sensor/tmp007/tmp007.c index 45378db05e7..3e088c26c6b 100644 --- a/drivers/sensor/tmp007/tmp007.c +++ b/drivers/sensor/tmp007/tmp007.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/tmp007/tmp007.h b/drivers/sensor/tmp007/tmp007.h index 9b7cb5abe1f..5cc465c5ba8 100644 --- a/drivers/sensor/tmp007/tmp007.h +++ b/drivers/sensor/tmp007/tmp007.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SENSOR_TMP007 diff --git a/drivers/sensor/tmp007/tmp007_trigger.c b/drivers/sensor/tmp007/tmp007_trigger.c index 771c914db8c..1dac3b91e67 100644 --- a/drivers/sensor/tmp007/tmp007_trigger.c +++ b/drivers/sensor/tmp007/tmp007_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/sensor/tmp112/Kconfig b/drivers/sensor/tmp112/Kconfig index 663f4fd0c20..0e86470d495 100644 --- a/drivers/sensor/tmp112/Kconfig +++ b/drivers/sensor/tmp112/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Firmwave # -# 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 TMP112 diff --git a/drivers/sensor/tmp112/tmp112.c b/drivers/sensor/tmp112/tmp112.c index e4a16ac934b..347a43318d9 100644 --- a/drivers/sensor/tmp112/tmp112.c +++ b/drivers/sensor/tmp112/tmp112.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Firmwave * - * 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/serial/Kconfig b/drivers/serial/Kconfig index 8f9582902ce..0395633c45f 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/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 SERIAL diff --git a/drivers/serial/Kconfig.cmsdk_apb b/drivers/serial/Kconfig.cmsdk_apb index 71f7416daf7..cc936af840a 100644 --- a/drivers/serial/Kconfig.cmsdk_apb +++ b/drivers/serial/Kconfig.cmsdk_apb @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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 UART_CMSDK_APB diff --git a/drivers/serial/Kconfig.nrf5 b/drivers/serial/Kconfig.nrf5 index 7bbe73cff57..464349be792 100644 --- a/drivers/serial/Kconfig.nrf5 +++ b/drivers/serial/Kconfig.nrf5 @@ -2,17 +2,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 # menuconfig UART_NRF5 diff --git a/drivers/serial/Kconfig.riscv_qemu b/drivers/serial/Kconfig.riscv_qemu index fc704f9bb83..53923d0ac51 100644 --- a/drivers/serial/Kconfig.riscv_qemu +++ b/drivers/serial/Kconfig.riscv_qemu @@ -2,17 +2,7 @@ # # Copyright (c) 2016 Jean-Paul Etienne # -# 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 UART_RISCV_QEMU diff --git a/drivers/serial/Kconfig.stm32 b/drivers/serial/Kconfig.stm32 index a36f08dc1e2..3592cd68284 100644 --- a/drivers/serial/Kconfig.stm32 +++ b/drivers/serial/Kconfig.stm32 @@ -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 # menuconfig UART_STM32 diff --git a/drivers/serial/uart_altera_jtag.c b/drivers/serial/uart_altera_jtag.c index 75960586aac..bfa514edb13 100644 --- a/drivers/serial/uart_altera_jtag.c +++ b/drivers/serial/uart_altera_jtag.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/serial/uart_atmel_sam3.c b/drivers/serial/uart_atmel_sam3.c index 301a945c332..087698afa09 100644 --- a/drivers/serial/uart_atmel_sam3.c +++ b/drivers/serial/uart_atmel_sam3.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation. * Copyright (c) 2013-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/serial/uart_cc32xx.c b/drivers/serial/uart_cc32xx.c index 2b906eef7ac..e0a18021961 100644 --- a/drivers/serial/uart_cc32xx.c +++ b/drivers/serial/uart_cc32xx.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016, Texas Instruments Incorporated * - * 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 */ /* See www.ti.com/lit/pdf/swru367, section 6, for CC3200 UART info. */ diff --git a/drivers/serial/uart_cmsdk_apb.c b/drivers/serial/uart_cmsdk_apb.c index c5571d248f1..8e7b405a9d7 100644 --- a/drivers/serial/uart_cmsdk_apb.c +++ b/drivers/serial/uart_cmsdk_apb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/serial/uart_k20.c b/drivers/serial/uart_k20.c index d2c1605da57..d513df4ad85 100644 --- a/drivers/serial/uart_k20.c +++ b/drivers/serial/uart_k20.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/serial/uart_k20.h b/drivers/serial/uart_k20.h index ca9285962a8..49a5986709b 100644 --- a/drivers/serial/uart_k20.h +++ b/drivers/serial/uart_k20.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/serial/uart_k20_priv.h b/drivers/serial/uart_k20_priv.h index beac7516001..9f137bb6cf8 100644 --- a/drivers/serial/uart_k20_priv.h +++ b/drivers/serial/uart_k20_priv.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/serial/uart_nrf5.c b/drivers/serial/uart_nrf5.c index 55d0661763c..92fb895b7bb 100644 --- a/drivers/serial/uart_nrf5.c +++ b/drivers/serial/uart_nrf5.c @@ -1,17 +1,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/serial/uart_ns16550.c b/drivers/serial/uart_ns16550.c index 16b75080820..98dc68154d4 100644 --- a/drivers/serial/uart_ns16550.c +++ b/drivers/serial/uart_ns16550.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2010, 2012-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/serial/uart_ns16550.h b/drivers/serial/uart_ns16550.h index 5f6300a9d83..cb9441ae4fa 100644 --- a/drivers/serial/uart_ns16550.h +++ b/drivers/serial/uart_ns16550.h @@ -1,17 +1,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/serial/uart_nsim.c b/drivers/serial/uart_nsim.c index f0f1a4369a3..f3636077b38 100644 --- a/drivers/serial/uart_nsim.c +++ b/drivers/serial/uart_nsim.c @@ -1,17 +1,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 */ #include diff --git a/drivers/serial/uart_qmsi.c b/drivers/serial/uart_qmsi.c index 46ef395db8d..ff89de09637 100644 --- a/drivers/serial/uart_qmsi.c +++ b/drivers/serial/uart_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/serial/uart_riscv_qemu.c b/drivers/serial/uart_riscv_qemu.c index 01d2a6a828e..14250ce5e39 100644 --- a/drivers/serial/uart_riscv_qemu.c +++ b/drivers/serial/uart_riscv_qemu.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/serial/uart_stellaris.c b/drivers/serial/uart_stellaris.c index 99224a8ab51..0572255da3a 100644 --- a/drivers/serial/uart_stellaris.c +++ b/drivers/serial/uart_stellaris.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-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/serial/uart_stellaris.h b/drivers/serial/uart_stellaris.h index f6f2ce80846..59de5be9688 100644 --- a/drivers/serial/uart_stellaris.h +++ b/drivers/serial/uart_stellaris.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/serial/uart_stm32.c b/drivers/serial/uart_stm32.c index 50152ad00f2..090cf6095b6 100644 --- a/drivers/serial/uart_stm32.c +++ b/drivers/serial/uart_stm32.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 Linaro Limited. * - * 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/serial/uart_stm32.h b/drivers/serial/uart_stm32.h index efd0fcde2a7..d3b9704e478 100644 --- a/drivers/serial/uart_stm32.h +++ b/drivers/serial/uart_stm32.h @@ -1,17 +1,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 */ /** diff --git a/drivers/shared_irq/Kconfig b/drivers/shared_irq/Kconfig index ad5b24de08b..94074b73204 100644 --- a/drivers/shared_irq/Kconfig +++ b/drivers/shared_irq/Kconfig @@ -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 # menuconfig SHARED_IRQ diff --git a/drivers/shared_irq/shared_irq.c b/drivers/shared_irq/shared_irq.c index e5de83936c7..b245bcada3f 100644 --- a/drivers/shared_irq/shared_irq.c +++ b/drivers/shared_irq/shared_irq.c @@ -1,17 +1,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 diff --git a/drivers/slip/slip.c b/drivers/slip/slip.c index 18d484d5492..14ebaaf6cfb 100644 --- a/drivers/slip/slip.c +++ b/drivers/slip/slip.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_SLIP_DEBUG) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b5107268022..8c03c233fce 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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/spi/Kconfig.dw b/drivers/spi/Kconfig.dw index c45b797105c..5ae6008cf71 100644 --- a/drivers/spi/Kconfig.dw +++ b/drivers/spi/Kconfig.dw @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # menuconfig SPI_DW diff --git a/drivers/spi/spi_dw.c b/drivers/spi/spi_dw.c index ff37784147c..18db605fc64 100644 --- a/drivers/spi/spi_dw.c +++ b/drivers/spi/spi_dw.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 diff --git a/drivers/spi/spi_dw.h b/drivers/spi/spi_dw.h index 900a04e9b0d..3cf7711ee2c 100644 --- a/drivers/spi/spi_dw.h +++ b/drivers/spi/spi_dw.h @@ -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 */ #ifndef __SPI_DW_H__ diff --git a/drivers/spi/spi_dw_quark_se_ss_regs.h b/drivers/spi/spi_dw_quark_se_ss_regs.h index aafde1a7ca8..2bb4279e540 100644 --- a/drivers/spi/spi_dw_quark_se_ss_regs.h +++ b/drivers/spi/spi_dw_quark_se_ss_regs.h @@ -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 */ #ifndef __SPI_DW_QUARK_SE_SS_H__ diff --git a/drivers/spi/spi_dw_regs.h b/drivers/spi/spi_dw_regs.h index da7ae3813c4..0291c57fb23 100644 --- a/drivers/spi/spi_dw_regs.h +++ b/drivers/spi/spi_dw_regs.h @@ -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 */ #ifndef __SPI_DW_REGS_H__ diff --git a/drivers/spi/spi_intel.c b/drivers/spi/spi_intel.c index 5b4ab15c703..c3e26ab2c68 100644 --- a/drivers/spi/spi_intel.c +++ b/drivers/spi/spi_intel.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 diff --git a/drivers/spi/spi_intel.h b/drivers/spi/spi_intel.h index 6c795276c49..3dfbda496f6 100644 --- a/drivers/spi/spi_intel.h +++ b/drivers/spi/spi_intel.h @@ -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 */ #ifndef __SPI_INTEL_PRIV_H__ diff --git a/drivers/spi/spi_k64.c b/drivers/spi/spi_k64.c index 656998fb587..01d52083d08 100644 --- a/drivers/spi/spi_k64.c +++ b/drivers/spi/spi_k64.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-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 * * Portions of this file are derived from material that is * Copyright (c) 2013 - 2014, Freescale Semiconductor, Inc. diff --git a/drivers/spi/spi_k64_priv.h b/drivers/spi/spi_k64_priv.h index 03676eb6196..02718f035c0 100644 --- a/drivers/spi/spi_k64_priv.h +++ b/drivers/spi/spi_k64_priv.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-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 */ #ifndef __SPI_K64_PRIV_H__ diff --git a/drivers/spi/spi_qmsi.c b/drivers/spi/spi_qmsi.c index d23f33aec3b..1a38199554c 100644 --- a/drivers/spi/spi_qmsi.c +++ b/drivers/spi/spi_qmsi.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/spi/spi_qmsi_ss.c b/drivers/spi/spi_qmsi_ss.c index 69dfe21300a..92086d57916 100644 --- a/drivers/spi/spi_qmsi_ss.c +++ b/drivers/spi/spi_qmsi_ss.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig index 867542646ee..59e40cd31e9 100644 --- a/drivers/timer/Kconfig +++ b/drivers/timer/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 # diff --git a/drivers/timer/altera_avalon_timer.c b/drivers/timer/altera_avalon_timer.c index bb5aa78b41a..8033939ce4c 100644 --- a/drivers/timer/altera_avalon_timer.c +++ b/drivers/timer/altera_avalon_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/drivers/timer/arcv2_timer0.c b/drivers/timer/arcv2_timer0.c index 1e2e2a211b1..6416a7aa6e0 100644 --- a/drivers/timer/arcv2_timer0.c +++ b/drivers/timer/arcv2_timer0.c @@ -1,17 +1,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 */ /** diff --git a/drivers/timer/cortex_m_systick.c b/drivers/timer/cortex_m_systick.c index e3bf1d10420..f700a8fc1bc 100644 --- a/drivers/timer/cortex_m_systick.c +++ b/drivers/timer/cortex_m_systick.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/timer/hpet.c b/drivers/timer/hpet.c index 801f3bc8216..628b29645b5 100644 --- a/drivers/timer/hpet.c +++ b/drivers/timer/hpet.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-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/timer/loapic_timer.c b/drivers/timer/loapic_timer.c index 036138e19f8..db52f6d3c52 100644 --- a/drivers/timer/loapic_timer.c +++ b/drivers/timer/loapic_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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/timer/nrf_rtc_timer.c b/drivers/timer/nrf_rtc_timer.c index cd6a6aeab39..a26c925c3ee 100644 --- a/drivers/timer/nrf_rtc_timer.c +++ b/drivers/timer/nrf_rtc_timer.c @@ -1,17 +1,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 */ #include diff --git a/drivers/timer/pulpino_timer.c b/drivers/timer/pulpino_timer.c index 3ee55ae3e0e..154e2c30cac 100644 --- a/drivers/timer/pulpino_timer.c +++ b/drivers/timer/pulpino_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/timer/riscv_qemu_timer.c b/drivers/timer/riscv_qemu_timer.c index 260f1f95c6b..65adf94004f 100644 --- a/drivers/timer/riscv_qemu_timer.c +++ b/drivers/timer/riscv_qemu_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/timer/sys_clock_init.c b/drivers/timer/sys_clock_init.c index 0d9aabac5c8..0f2a50e380e 100644 --- a/drivers/timer/sys_clock_init.c +++ b/drivers/timer/sys_clock_init.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/usb/Kconfig b/drivers/usb/Kconfig index 99f434ba14e..85cea19ed28 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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 # menuconfig USB diff --git a/drivers/usb/device/Kconfig b/drivers/usb/device/Kconfig index 89d0ef7b4ea..7b693884b2b 100644 --- a/drivers/usb/device/Kconfig +++ b/drivers/usb/device/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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 # if USB diff --git a/drivers/usb/device/usb_dc_dw.c b/drivers/usb/device/usb_dc_dw.c index f8f0b1f6b24..a409ad42811 100644 --- a/drivers/usb/device/usb_dc_dw.c +++ b/drivers/usb/device/usb_dc_dw.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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/usb/device/usb_dw_registers.h b/drivers/usb/device/usb_dw_registers.h index ebb5be508c6..0a14569f938 100644 --- a/drivers/usb/device/usb_dw_registers.h +++ b/drivers/usb/device/usb_dw_registers.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/watchdog/Kconfig b/drivers/watchdog/Kconfig index d1a78ab1c14..f202cfdf8ac 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -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/watchdog/Kconfig.cmsdk_apb b/drivers/watchdog/Kconfig.cmsdk_apb index d9aa474b794..0cb8fb501f9 100644 --- a/drivers/watchdog/Kconfig.cmsdk_apb +++ b/drivers/watchdog/Kconfig.cmsdk_apb @@ -3,17 +3,7 @@ # # Copyright (c) 2016 Linaro Limited # -# 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_FAMILY_ARM diff --git a/drivers/watchdog/Kconfig.qmsi b/drivers/watchdog/Kconfig.qmsi index 0d4eb0bfacb..d6b9f489029 100644 --- a/drivers/watchdog/Kconfig.qmsi +++ b/drivers/watchdog/Kconfig.qmsi @@ -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 # config WDT_QMSI diff --git a/drivers/watchdog/Kconfig.stm32 b/drivers/watchdog/Kconfig.stm32 index 0d3c73a87d5..0a5029cd9dd 100644 --- a/drivers/watchdog/Kconfig.stm32 +++ b/drivers/watchdog/Kconfig.stm32 @@ -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 SOC_FAMILY_STM32 diff --git a/drivers/watchdog/iwdg_stm32.c b/drivers/watchdog/iwdg_stm32.c index 3d4e0859d93..fc1065ea307 100644 --- a/drivers/watchdog/iwdg_stm32.c +++ b/drivers/watchdog/iwdg_stm32.c @@ -1,17 +1,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 */ /** diff --git a/drivers/watchdog/iwdg_stm32.h b/drivers/watchdog/iwdg_stm32.h index 0a26d0343e7..ffd48ef0c60 100644 --- a/drivers/watchdog/iwdg_stm32.h +++ b/drivers/watchdog/iwdg_stm32.h @@ -1,17 +1,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 */ #ifndef _STM32_IWDG_H_ diff --git a/drivers/watchdog/wdog_cmsdk_apb.c b/drivers/watchdog/wdog_cmsdk_apb.c index 493e88a3c11..50ff4b899f2 100644 --- a/drivers/watchdog/wdog_cmsdk_apb.c +++ b/drivers/watchdog/wdog_cmsdk_apb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/watchdog/wdt_qmsi.c b/drivers/watchdog/wdt_qmsi.c index 571827d78ca..b25e4228f3e 100644 --- a/drivers/watchdog/wdt_qmsi.c +++ b/drivers/watchdog/wdt_qmsi.c @@ -1,17 +1,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 diff --git a/include/adc.h b/include/adc.h index dc8efa4b2fc..9ad567eff5d 100644 --- a/include/adc.h +++ b/include/adc.h @@ -6,17 +6,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 */ #ifndef __INCLUDE_ADC_H__ diff --git a/include/aio_comparator.h b/include/aio_comparator.h index 46a7a8acba9..0202847b057 100644 --- a/include/aio_comparator.h +++ b/include/aio_comparator.h @@ -1,17 +1,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 */ #ifndef _AIO_COMPARATOR_H_ diff --git a/include/arch/arc/arch.h b/include/arch/arc/arch.h index eeab2704e8d..84876a5922c 100644 --- a/include/arch/arc/arch.h +++ b/include/arch/arc/arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/addr_types.h b/include/arch/arc/v2/addr_types.h index c051b3f3d8a..eedc1f2d542 100644 --- a/include/arch/arc/v2/addr_types.h +++ b/include/arch/arc/v2/addr_types.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* @file ARC-v2 address types (virtual, physical, etc) definitions */ diff --git a/include/arch/arc/v2/arcv2_irq_unit.h b/include/arch/arc/v2/arcv2_irq_unit.h index 5f4cda8812f..10de5ceacc0 100644 --- a/include/arch/arc/v2/arcv2_irq_unit.h +++ b/include/arch/arc/v2/arcv2_irq_unit.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef _ARC_V2_IRQ_UNIT__H diff --git a/include/arch/arc/v2/asm_inline.h b/include/arch/arc/v2/asm_inline.h index 63b92a305f5..bc42d7d1509 100644 --- a/include/arch/arc/v2/asm_inline.h +++ b/include/arch/arc/v2/asm_inline.h @@ -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 */ #ifndef __ASM_INLINE_H__ diff --git a/include/arch/arc/v2/asm_inline_gcc.h b/include/arch/arc/v2/asm_inline_gcc.h index 03e262f4876..4c828086b5e 100644 --- a/include/arch/arc/v2/asm_inline_gcc.h +++ b/include/arch/arc/v2/asm_inline_gcc.h @@ -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 */ #ifndef __ASM_INLINE_GCC_H__ diff --git a/include/arch/arc/v2/aux_regs.h b/include/arch/arc/v2/aux_regs.h index 592d89a1463..7343c868051 100644 --- a/include/arch/arc/v2/aux_regs.h +++ b/include/arch/arc/v2/aux_regs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/error.h b/include/arch/arc/v2/error.h index c89e6a37f13..727ea9354bd 100644 --- a/include/arch/arc/v2/error.h +++ b/include/arch/arc/v2/error.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/exc.h b/include/arch/arc/v2/exc.h index 6a287d7040b..5e942377e20 100644 --- a/include/arch/arc/v2/exc.h +++ b/include/arch/arc/v2/exc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/ffs.h b/include/arch/arc/v2/ffs.h index 9249b54fa7a..fc75f67c693 100644 --- a/include/arch/arc/v2/ffs.h +++ b/include/arch/arc/v2/ffs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/irq.h b/include/arch/arc/v2/irq.h index 33814477f70..038ee3c4078 100644 --- a/include/arch/arc/v2/irq.h +++ b/include/arch/arc/v2/irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arc/v2/linker.ld b/include/arch/arc/v2/linker.ld index 02ead7f95fe..fb243f93516 100644 --- a/include/arch/arc/v2/linker.ld +++ b/include/arch/arc/v2/linker.ld @@ -1,17 +1,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 */ /** diff --git a/include/arch/arc/v2/misc.h b/include/arch/arc/v2/misc.h index e59c0960c53..fc45ddf5945 100644 --- a/include/arch/arc/v2/misc.h +++ b/include/arch/arc/v2/misc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arm/arch.h b/include/arch/arm/arch.h index 3cc3dc802b5..82c8ad4173d 100644 --- a/include/arch/arm/arch.h +++ b/include/arch/arm/arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/addr_types.h b/include/arch/arm/cortex_m/addr_types.h index defe5d81b92..547ca61fd3d 100644 --- a/include/arch/arm/cortex_m/addr_types.h +++ b/include/arch/arm/cortex_m/addr_types.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* @file Cortex-M address types (virtual, physical, etc) definitions */ diff --git a/include/arch/arm/cortex_m/asm_inline.h b/include/arch/arm/cortex_m/asm_inline.h index 65032d296e9..905d872c835 100644 --- a/include/arch/arm/cortex_m/asm_inline.h +++ b/include/arch/arm/cortex_m/asm_inline.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_PUBLIC_H diff --git a/include/arch/arm/cortex_m/asm_inline_gcc.h b/include/arch/arm/cortex_m/asm_inline_gcc.h index 4cc01fc8cd8..fedf156db6d 100644 --- a/include/arch/arm/cortex_m/asm_inline_gcc.h +++ b/include/arch/arm/cortex_m/asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ /* Either public functions or macros or invoked by public functions */ diff --git a/include/arch/arm/cortex_m/error.h b/include/arch/arm/cortex_m/error.h index e01064eea4f..efe7fdc08db 100644 --- a/include/arch/arm/cortex_m/error.h +++ b/include/arch/arm/cortex_m/error.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/exc.h b/include/arch/arm/cortex_m/exc.h index b7628ca67bd..fb9b2a77309 100644 --- a/include/arch/arm/cortex_m/exc.h +++ b/include/arch/arm/cortex_m/exc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/irq.h b/include/arch/arm/cortex_m/irq.h index f0d41efb9f3..78706aa7d43 100644 --- a/include/arch/arm/cortex_m/irq.h +++ b/include/arch/arm/cortex_m/irq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/memory_map.h b/include/arch/arm/cortex_m/memory_map.h index b0560a4c74a..52e520dff0c 100644 --- a/include/arch/arm/cortex_m/memory_map.h +++ b/include/arch/arm/cortex_m/memory_map.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/arch/arm/cortex_m/misc.h b/include/arch/arm/cortex_m/misc.h index 80189d604e5..76b3d931c29 100644 --- a/include/arch/arm/cortex_m/misc.h +++ b/include/arch/arm/cortex_m/misc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/nmi.h b/include/arch/arm/cortex_m/nmi.h index 230dd6cd0b1..74a1c2fe7c3 100644 --- a/include/arch/arm/cortex_m/nmi.h +++ b/include/arch/arm/cortex_m/nmi.h @@ -7,17 +7,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 */ #ifndef __CORTEX_M_NMI_H diff --git a/include/arch/arm/cortex_m/nvic.h b/include/arch/arm/cortex_m/nvic.h index f35a1327934..fdbab32923f 100644 --- a/include/arch/arm/cortex_m/nvic.h +++ b/include/arch/arm/cortex_m/nvic.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/scb.h b/include/arch/arm/cortex_m/scb.h index e0a164cbbd4..f4c3bdbf19a 100644 --- a/include/arch/arm/cortex_m/scb.h +++ b/include/arch/arm/cortex_m/scb.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/scripts/linker.ld b/include/arch/arm/cortex_m/scripts/linker.ld index 93acf51d024..781a92ea217 100644 --- a/include/arch/arm/cortex_m/scripts/linker.ld +++ b/include/arch/arm/cortex_m/scripts/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/arm/cortex_m/scs.h b/include/arch/arm/cortex_m/scs.h index 8eaaac200ab..436a6807a97 100644 --- a/include/arch/arm/cortex_m/scs.h +++ b/include/arch/arm/cortex_m/scs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/include/arch/arm/cortex_m/sys_io.h b/include/arch/arm/cortex_m/sys_io.h index 0bb28173ba9..bf18de27971 100644 --- a/include/arch/arm/cortex_m/sys_io.h +++ b/include/arch/arm/cortex_m/sys_io.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/include/arch/cpu.h b/include/arch/cpu.h index c5a9fb270bf..41f646a1e65 100644 --- a/include/arch/cpu.h +++ b/include/arch/cpu.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2014 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 */ #ifndef __ARCHCPU_H__ diff --git a/include/arch/nios2/arch.h b/include/arch/nios2/arch.h index f3a897ebf1b..5fbf6c8ac81 100644 --- a/include/arch/nios2/arch.h +++ b/include/arch/nios2/arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/arch/nios2/asm.h b/include/arch/nios2/asm.h index cf30d79d856..6a1a2c65444 100644 --- a/include/arch/nios2/asm.h +++ b/include/arch/nios2/asm.h @@ -1,17 +1,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 */ #ifndef _NIOS2_ASM_H diff --git a/include/arch/nios2/asm_inline.h b/include/arch/nios2/asm_inline.h index b4de7c4ad77..8b8b9d3bf70 100644 --- a/include/arch/nios2/asm_inline.h +++ b/include/arch/nios2/asm_inline.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _ASM_INLINE_PUBLIC_H diff --git a/include/arch/nios2/asm_inline_gcc.h b/include/arch/nios2/asm_inline_gcc.h index 33fd40dac45..3d9b3ac8ec7 100644 --- a/include/arch/nios2/asm_inline_gcc.h +++ b/include/arch/nios2/asm_inline_gcc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _ASM_INLINE_GCC_H diff --git a/include/arch/nios2/linker.ld b/include/arch/nios2/linker.ld index 40617dcb567..316f73b1c3c 100644 --- a/include/arch/nios2/linker.ld +++ b/include/arch/nios2/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/arch/riscv32/arch.h b/include/arch/riscv32/arch.h index e8f55a269b1..621285cb2da 100644 --- a/include/arch/riscv32/arch.h +++ b/include/arch/riscv32/arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/include/arch/riscv32/exp.h b/include/arch/riscv32/exp.h index a9093cf2978..de1afd2aa39 100644 --- a/include/arch/riscv32/exp.h +++ b/include/arch/riscv32/exp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/include/arch/riscv32/pulpino/asm_inline.h b/include/arch/riscv32/pulpino/asm_inline.h index 29de6d2b25f..74a653befd1 100644 --- a/include/arch/riscv32/pulpino/asm_inline.h +++ b/include/arch/riscv32/pulpino/asm_inline.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 _ASM_INLINE_PUBLIC_H diff --git a/include/arch/riscv32/pulpino/asm_inline_gcc.h b/include/arch/riscv32/pulpino/asm_inline_gcc.h index 4f9b053d023..55b88bdbef3 100644 --- a/include/arch/riscv32/pulpino/asm_inline_gcc.h +++ b/include/arch/riscv32/pulpino/asm_inline_gcc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 _ASM_INLINE_GCC_H diff --git a/include/arch/riscv32/pulpino/linker.ld b/include/arch/riscv32/pulpino/linker.ld index a38d35b38dd..74bd69c8bfe 100644 --- a/include/arch/riscv32/pulpino/linker.ld +++ b/include/arch/riscv32/pulpino/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/include/arch/riscv32/riscv32-qemu/asm_inline.h b/include/arch/riscv32/riscv32-qemu/asm_inline.h index 6dc9700fd36..7f9d1eb0a26 100644 --- a/include/arch/riscv32/riscv32-qemu/asm_inline.h +++ b/include/arch/riscv32/riscv32-qemu/asm_inline.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 _ASM_INLINE_PUBLIC_H diff --git a/include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h b/include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h index 1ddb4056329..2bede94c326 100644 --- a/include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h +++ b/include/arch/riscv32/riscv32-qemu/asm_inline_gcc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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 _ASM_INLINE_GCC_H diff --git a/include/arch/riscv32/riscv32-qemu/linker.ld b/include/arch/riscv32/riscv32-qemu/linker.ld index 9651d7b2b6b..078e93f28ec 100644 --- a/include/arch/riscv32/riscv32-qemu/linker.ld +++ b/include/arch/riscv32/riscv32-qemu/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/include/arch/riscv32/sys_io.h b/include/arch/riscv32/sys_io.h index b8998a13432..fc43dd000cf 100644 --- a/include/arch/riscv32/sys_io.h +++ b/include/arch/riscv32/sys_io.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Jean-Paul Etienne * - * 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/include/arch/x86/addr_types.h b/include/arch/x86/addr_types.h index 4562985e2c3..7b874bfb169 100644 --- a/include/arch/x86/addr_types.h +++ b/include/arch/x86/addr_types.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _x86_addr_types__h_ diff --git a/include/arch/x86/arch.h b/include/arch/x86/arch.h index 15507787c4e..239c073646e 100644 --- a/include/arch/x86/arch.h +++ b/include/arch/x86/arch.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/include/arch/x86/asm.h b/include/arch/x86/asm.h index fb215750b37..4f23f3f794a 100644 --- a/include/arch/x86/asm.h +++ b/include/arch/x86/asm.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2007-2014 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 */ #ifndef __INCsysX86Asmh diff --git a/include/arch/x86/asm_inline.h b/include/arch/x86/asm_inline.h index 089c4634757..f89e87f689a 100644 --- a/include/arch/x86/asm_inline.h +++ b/include/arch/x86/asm_inline.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _ASM_INLINE_PUBLIC_H diff --git a/include/arch/x86/asm_inline_gcc.h b/include/arch/x86/asm_inline_gcc.h index 97880c537b9..bc8856457c9 100644 --- a/include/arch/x86/asm_inline_gcc.h +++ b/include/arch/x86/asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ /* Either public functions or macros or invoked by public functions */ diff --git a/include/arch/x86/irq_controller.h b/include/arch/x86/irq_controller.h index 1099f995520..f81f47e9746 100644 --- a/include/arch/x86/irq_controller.h +++ b/include/arch/x86/irq_controller.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/include/arch/x86/linker.ld b/include/arch/x86/linker.ld index bbbe135910e..97e5bf2a79d 100644 --- a/include/arch/x86/linker.ld +++ b/include/arch/x86/linker.ld @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/arch/x86/segmentation.h b/include/arch/x86/segmentation.h index f3f9c18a39f..fd55a4d0c91 100644 --- a/include/arch/x86/segmentation.h +++ b/include/arch/x86/segmentation.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _SEGMENTATION_H diff --git a/include/atomic.h b/include/atomic.h index 1917ea859cf..e77adfff9bc 100644 --- a/include/atomic.h +++ b/include/atomic.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-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 */ #ifndef __ATOMIC_H__ diff --git a/include/bluetooth/a2dp.h b/include/bluetooth/a2dp.h index 057c628f0c3..36d4ad61531 100644 --- a/include/bluetooth/a2dp.h +++ b/include/bluetooth/a2dp.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_A2DP_H #define __BT_A2DP_H diff --git a/include/bluetooth/att.h b/include/bluetooth/att.h index 6577538c033..45155f31343 100644 --- a/include/bluetooth/att.h +++ b/include/bluetooth/att.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_ATT_H #define __BT_ATT_H diff --git a/include/bluetooth/avdtp.h b/include/bluetooth/avdtp.h index 3fb3560a6ab..feeaae13926 100644 --- a/include/bluetooth/avdtp.h +++ b/include/bluetooth/avdtp.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_AVDTP_H #define __BT_AVDTP_H diff --git a/include/bluetooth/bluetooth.h b/include/bluetooth/bluetooth.h index 9a035cbcb1a..333e76a7dcf 100644 --- a/include/bluetooth/bluetooth.h +++ b/include/bluetooth/bluetooth.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_BLUETOOTH_H #define __BT_BLUETOOTH_H diff --git a/include/bluetooth/buf.h b/include/bluetooth/buf.h index 1433cd72a86..a9ab7997f2f 100644 --- a/include/bluetooth/buf.h +++ b/include/bluetooth/buf.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_BUF_H diff --git a/include/bluetooth/conn.h b/include/bluetooth/conn.h index cfaf4a10e9b..44ed746cd74 100644 --- a/include/bluetooth/conn.h +++ b/include/bluetooth/conn.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_CONN_H #define __BT_CONN_H diff --git a/include/bluetooth/gatt.h b/include/bluetooth/gatt.h index 7e6b8a3cf5a..4e074ca8650 100644 --- a/include/bluetooth/gatt.h +++ b/include/bluetooth/gatt.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_GATT_H #define __BT_GATT_H diff --git a/include/bluetooth/hci.h b/include/bluetooth/hci.h index 604722113b5..29e1c61dd94 100644 --- a/include/bluetooth/hci.h +++ b/include/bluetooth/hci.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_HCI_H #define __BT_HCI_H diff --git a/include/bluetooth/hci_raw.h b/include/bluetooth/hci_raw.h index 34df366dc16..6b51981e522 100644 --- a/include/bluetooth/hci_raw.h +++ b/include/bluetooth/hci_raw.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_HCI_RAW_H #define __BT_HCI_RAW_H diff --git a/include/bluetooth/hfp_hf.h b/include/bluetooth/hfp_hf.h index 5bfa15135a0..81420d97097 100644 --- a/include/bluetooth/hfp_hf.h +++ b/include/bluetooth/hfp_hf.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_HFP_H #define __BT_HFP_H diff --git a/include/bluetooth/l2cap.h b/include/bluetooth/l2cap.h index 81554f26f67..8f7c3ffa147 100644 --- a/include/bluetooth/l2cap.h +++ b/include/bluetooth/l2cap.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_L2CAP_H #define __BT_L2CAP_H diff --git a/include/bluetooth/log.h b/include/bluetooth/log.h index 3922c3c1d63..e5c564b17c9 100644 --- a/include/bluetooth/log.h +++ b/include/bluetooth/log.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_LOG_H #define __BT_LOG_H diff --git a/include/bluetooth/rfcomm.h b/include/bluetooth/rfcomm.h index 057ba147d25..d54f57434ca 100644 --- a/include/bluetooth/rfcomm.h +++ b/include/bluetooth/rfcomm.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_RFCOMM_H #define __BT_RFCOMM_H diff --git a/include/bluetooth/sdp.h b/include/bluetooth/sdp.h index 3bb1f1b17b2..292286c8283 100644 --- a/include/bluetooth/sdp.h +++ b/include/bluetooth/sdp.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_SDP_H #define __BT_SDP_H diff --git a/include/bluetooth/storage.h b/include/bluetooth/storage.h index 30c98534f16..89aab75e3b9 100644 --- a/include/bluetooth/storage.h +++ b/include/bluetooth/storage.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_STORAGE_H #define __BT_STORAGE_H diff --git a/include/bluetooth/uuid.h b/include/bluetooth/uuid.h index d6b16d3a3d1..39c3d709010 100644 --- a/include/bluetooth/uuid.h +++ b/include/bluetooth/uuid.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_UUID_H #define __BT_UUID_H diff --git a/include/cache.h b/include/cache.h index bb5fb2e971a..f193dde4e7c 100644 --- a/include/cache.h +++ b/include/cache.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _cache__h_ diff --git a/include/clock_control.h b/include/clock_control.h index cc06f8be4ae..5c78f30d4ce 100644 --- a/include/clock_control.h +++ b/include/clock_control.h @@ -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 */ #ifndef __CLOCK_CONTROL_H__ diff --git a/include/counter.h b/include/counter.h index 66061d56eef..818b46fd776 100644 --- a/include/counter.h +++ b/include/counter.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/debug/debug_info.h b/include/debug/debug_info.h index ac05146d70d..2d13662421c 100644 --- a/include/debug/debug_info.h +++ b/include/debug/debug_info.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-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 */ /** diff --git a/include/debug/gdb_server.h b/include/debug/gdb_server.h index 1179cd07827..955ada778e2 100644 --- a/include/debug/gdb_server.h +++ b/include/debug/gdb_server.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef __MISC_DEBUG_GDB_SERVER__H_ diff --git a/include/debug/mem_safe.h b/include/debug/mem_safe.h index bdc8be8697f..72ce25894de 100644 --- a/include/debug/mem_safe.h +++ b/include/debug/mem_safe.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _debug__mem_safe__h_ diff --git a/include/debug/object_tracing.h b/include/debug/object_tracing.h index 920ccf868e4..010d3ffc8c9 100644 --- a/include/debug/object_tracing.h +++ b/include/debug/object_tracing.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/debug/object_tracing_common.h b/include/debug/object_tracing_common.h index 6b491f783af..f625752069b 100644 --- a/include/debug/object_tracing_common.h +++ b/include/debug/object_tracing_common.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/device.h b/include/device.h index e19f18d3c1d..8c6bf1cdaf3 100644 --- a/include/device.h +++ b/include/device.h @@ -2,17 +2,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 */ #ifndef _DEVICE_H_ diff --git a/include/disk_access.h b/include/disk_access.h index 1db445aadc3..09a09cca7d3 100644 --- a/include/disk_access.h +++ b/include/disk_access.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/display/grove_lcd.h b/include/display/grove_lcd.h index 45137d62052..5884f998346 100644 --- a/include/display/grove_lcd.h +++ b/include/display/grove_lcd.h @@ -2,17 +2,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 */ #ifndef DISPLAY_GROVE_LCD_H #define DISPLAY_GROVE_LCD_H diff --git a/include/dma.h b/include/dma.h index e794fee1307..acc6fd235b2 100644 --- a/include/dma.h +++ b/include/dma.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _DMA_H_ diff --git a/include/drivers/bluetooth/hci_driver.h b/include/drivers/bluetooth/hci_driver.h index ee9f26679d2..45733d51497 100644 --- a/include/drivers/bluetooth/hci_driver.h +++ b/include/drivers/bluetooth/hci_driver.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __BT_HCI_DRIVER_H #define __BT_HCI_DRIVER_H diff --git a/include/drivers/clock_control/arm_clock_control.h b/include/drivers/clock_control/arm_clock_control.h index 19af49c2a72..06fca28402c 100644 --- a/include/drivers/clock_control/arm_clock_control.h +++ b/include/drivers/clock_control/arm_clock_control.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited. * - * 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 _ARM_CLOCK_CONTROL_H_ diff --git a/include/drivers/clock_control/nrf5_clock_control.h b/include/drivers/clock_control/nrf5_clock_control.h index d317f5cc791..a1b9eca2aed 100644 --- a/include/drivers/clock_control/nrf5_clock_control.h +++ b/include/drivers/clock_control/nrf5_clock_control.h @@ -1,17 +1,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 */ #ifndef _NRF5_CLOCK_CONTROL_H_ diff --git a/include/drivers/clock_control/quark_se_clock_control.h b/include/drivers/clock_control/quark_se_clock_control.h index 639b80e5252..afae6eccc3a 100644 --- a/include/drivers/clock_control/quark_se_clock_control.h +++ b/include/drivers/clock_control/quark_se_clock_control.h @@ -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 */ #ifndef __QUARK_SE_CLOCK_CONTROL_H__ diff --git a/include/drivers/clock_control/stm32_clock_control.h b/include/drivers/clock_control/stm32_clock_control.h index 0fa42d831b7..910f16128e8 100644 --- a/include/drivers/clock_control/stm32_clock_control.h +++ b/include/drivers/clock_control/stm32_clock_control.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32_CLOCK_CONTROL_H_ #define _STM32_CLOCK_CONTROL_H_ diff --git a/include/drivers/clock_control/stm32f1_clock_control.h b/include/drivers/clock_control/stm32f1_clock_control.h index d6e53b8e944..75c9629a621 100644 --- a/include/drivers/clock_control/stm32f1_clock_control.h +++ b/include/drivers/clock_control/stm32f1_clock_control.h @@ -1,17 +1,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 */ #ifndef _STM32F1_CLOCK_CONTROL_H_ #define _STM32F1_CLOCK_CONTROL_H_ diff --git a/include/drivers/clock_control/stm32f4_clock_control.h b/include/drivers/clock_control/stm32f4_clock_control.h index af48e92e7df..49fb1f6a5d4 100644 --- a/include/drivers/clock_control/stm32f4_clock_control.h +++ b/include/drivers/clock_control/stm32f4_clock_control.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * (c) 2016 Linaro Limited. * - * 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 _STM32F4_CLOCK_CONTROL_H_ #define _STM32F4_CLOCK_CONTROL_H_ diff --git a/include/drivers/clock_control/stm32l4x_clock_control.h b/include/drivers/clock_control/stm32l4x_clock_control.h index 107e3e07041..5f44712f429 100644 --- a/include/drivers/clock_control/stm32l4x_clock_control.h +++ b/include/drivers/clock_control/stm32l4x_clock_control.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2016 BayLibre, SAS * - * 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 _STM32L4X_CLOCK_CONTROL_H_ #define _STM32L4X_CLOCK_CONTROL_H_ diff --git a/include/drivers/console/ipm_console.h b/include/drivers/console/ipm_console.h index 6f37d007230..f45ce88da5f 100644 --- a/include/drivers/console/ipm_console.h +++ b/include/drivers/console/ipm_console.h @@ -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 */ #ifndef _IPM_CONSOLE_H_ diff --git a/include/drivers/console/uart_console.h b/include/drivers/console/uart_console.h index 8ff73aa7230..7f0ef53580a 100644 --- a/include/drivers/console/uart_console.h +++ b/include/drivers/console/uart_console.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2011, 2014 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 */ #ifndef _UART_CONSOLE__H_ diff --git a/include/drivers/console/uart_pipe.h b/include/drivers/console/uart_pipe.h index 9181d327c0c..ee8f41e5c60 100644 --- a/include/drivers/console/uart_pipe.h +++ b/include/drivers/console/uart_pipe.h @@ -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 diff --git a/include/drivers/ieee802154/cc2520.h b/include/drivers/ieee802154/cc2520.h index 3a339063dce..14199f0bfc4 100644 --- a/include/drivers/ieee802154/cc2520.h +++ b/include/drivers/ieee802154/cc2520.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/include/drivers/ioapic.h b/include/drivers/ioapic.h index c3f741748ce..7c2edece23a 100644 --- a/include/drivers/ioapic.h +++ b/include/drivers/ioapic.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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 */ #ifndef __INCioapich diff --git a/include/drivers/k20_mcg.h b/include/drivers/k20_mcg.h index 7f60d866948..f6f99916480 100644 --- a/include/drivers/k20_mcg.h +++ b/include/drivers/k20_mcg.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/k20_pcr.h b/include/drivers/k20_pcr.h index 3297756c900..f2be2fa943a 100644 --- a/include/drivers/k20_pcr.h +++ b/include/drivers/k20_pcr.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/k20_sim.h b/include/drivers/k20_sim.h index b30fd499478..11e7378248c 100644 --- a/include/drivers/k20_sim.h +++ b/include/drivers/k20_sim.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/k20_watchdog.h b/include/drivers/k20_watchdog.h index 8df3c7e0387..1f8f8be459b 100644 --- a/include/drivers/k20_watchdog.h +++ b/include/drivers/k20_watchdog.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/k6x_mpu.h b/include/drivers/k6x_mpu.h index ea8c0bd40c8..209ef86beb3 100644 --- a/include/drivers/k6x_mpu.h +++ b/include/drivers/k6x_mpu.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/drivers/k6x_pmc.h b/include/drivers/k6x_pmc.h index 62efe1398cc..1897b59e88a 100644 --- a/include/drivers/k6x_pmc.h +++ b/include/drivers/k6x_pmc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/include/drivers/loapic.h b/include/drivers/loapic.h index 65563948d53..f1761f4c7e9 100644 --- a/include/drivers/loapic.h +++ b/include/drivers/loapic.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef __INCloapich diff --git a/include/drivers/mvic.h b/include/drivers/mvic.h index ff7ff6508f8..2ac0d36fa2b 100644 --- a/include/drivers/mvic.h +++ b/include/drivers/mvic.h @@ -1,17 +1,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 */ #ifndef MVIC_H diff --git a/include/drivers/pci/pci.h b/include/drivers/pci/pci.h index f1d2a5f25c2..b49583c2616 100644 --- a/include/drivers/pci/pci.h +++ b/include/drivers/pci/pci.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/pci/pci_mgr.h b/include/drivers/pci/pci_mgr.h index b73d1050c1a..24da618f9b8 100644 --- a/include/drivers/pci/pci_mgr.h +++ b/include/drivers/pci/pci_mgr.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2009-2011, 2013-2014 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 */ #ifndef __inc_pci_mgr_h diff --git a/include/drivers/rand32.h b/include/drivers/rand32.h index 30ec6b9130b..99afe162401 100644 --- a/include/drivers/rand32.h +++ b/include/drivers/rand32.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/include/drivers/serial/uart_nsim.h b/include/drivers/serial/uart_nsim.h index b8a95963458..f223ab6b642 100644 --- a/include/drivers/serial/uart_nsim.h +++ b/include/drivers/serial/uart_nsim.h @@ -1,17 +1,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/include/drivers/spi/spi_intel.h b/include/drivers/spi/spi_intel.h index 0e1ccb3b5dd..10df7de1374 100644 --- a/include/drivers/spi/spi_intel.h +++ b/include/drivers/spi/spi_intel.h @@ -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 */ #ifndef __SPI_INTEL_H__ diff --git a/include/drivers/spi/spi_k64.h b/include/drivers/spi/spi_k64.h index 36f71a5625e..5836f5c18a2 100644 --- a/include/drivers/spi/spi_k64.h +++ b/include/drivers/spi/spi_k64.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef __SPI_K64_H__ diff --git a/include/drivers/sysapic.h b/include/drivers/sysapic.h index c4a9666ae20..13ce9c94646 100644 --- a/include/drivers/sysapic.h +++ b/include/drivers/sysapic.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __INC_SYS_APIC_H diff --git a/include/drivers/system_timer.h b/include/drivers/system_timer.h index 039ac1a6204..64ffb541949 100644 --- a/include/drivers/system_timer.h +++ b/include/drivers/system_timer.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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/include/drivers/usb/usb_dc.h b/include/drivers/usb/usb_dc.h index e6a0f4492da..d9d13b657b5 100644 --- a/include/drivers/usb/usb_dc.h +++ b/include/drivers/usb/usb_dc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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/include/eth.h b/include/eth.h index 9c5511db16f..597e6c516c7 100644 --- a/include/eth.h +++ b/include/eth.h @@ -7,17 +7,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 */ #ifndef __INCLUDE_ETH_H__ diff --git a/include/flash.h b/include/flash.h index ef3425dccb8..1d90a22fd2f 100644 --- a/include/flash.h +++ b/include/flash.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/fs.h b/include/fs.h index 07b55848b42..7ed9e1c8cb2 100644 --- a/include/fs.h +++ b/include/fs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _FS_H_ diff --git a/include/fs/fat_fs.h b/include/fs/fat_fs.h index 8ddad07855a..8bc3842fc90 100644 --- a/include/fs/fat_fs.h +++ b/include/fs/fat_fs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _FAT_FS_H_ diff --git a/include/fs/fs_interface.h b/include/fs/fs_interface.h index d145c4e6645..69d3a906715 100644 --- a/include/fs/fs_interface.h +++ b/include/fs/fs_interface.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _FS_INTERFACE_H_ diff --git a/include/gpio.h b/include/gpio.h index 357856ef639..52b3c5d46c7 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-2016 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/include/i2c.h b/include/i2c.h index 59e0e694c8d..3d6d47ff27a 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -7,17 +7,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 */ #ifndef __DRIVERS_I2C_H #define __DRIVERS_I2C_H diff --git a/include/init.h b/include/init.h index e0c66dcb83c..2e93f94be7a 100644 --- a/include/init.h +++ b/include/init.h @@ -2,17 +2,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 */ #ifndef _INIT_H_ diff --git a/include/ipm.h b/include/ipm.h index ef69e57b35c..b4572f23c1f 100644 --- a/include/ipm.h +++ b/include/ipm.h @@ -7,17 +7,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 */ #ifndef __INCipmh diff --git a/include/irq.h b/include/irq.h index c11be62b261..b1a948e7d6b 100644 --- a/include/irq.h +++ b/include/irq.h @@ -1,17 +1,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/include/irq_offload.h b/include/irq_offload.h index fb0f4bea200..17beb14b058 100644 --- a/include/irq_offload.h +++ b/include/irq_offload.h @@ -1,17 +1,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/include/kernel.h b/include/kernel.h index 1a0cecced92..fccb79e73d7 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/include/kernel_version.h b/include/kernel_version.h index 9e2ed5e67d9..6754b70cf5b 100644 --- a/include/kernel_version.h +++ b/include/kernel_version.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _kernel_version__h_ diff --git a/include/legacy.h b/include/legacy.h index a08217f8446..667454f047e 100644 --- a/include/legacy.h +++ b/include/legacy.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/include/linker-defs.h b/include/linker-defs.h index 21432f73a60..c22db551117 100644 --- a/include/linker-defs.h +++ b/include/linker-defs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014, 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/include/linker-tool-gcc.h b/include/linker-tool-gcc.h index 7f6e33592ab..529d887202c 100644 --- a/include/linker-tool-gcc.h +++ b/include/linker-tool-gcc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014, 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/include/linker-tool.h b/include/linker-tool.h index 82d7ee4b6e8..eeca036a81d 100644 --- a/include/linker-tool.h +++ b/include/linker-tool.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014, 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/include/logging/event_logger.h b/include/logging/event_logger.h index a658724e942..0985d6ae026 100644 --- a/include/logging/event_logger.h +++ b/include/logging/event_logger.h @@ -1,17 +1,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/include/logging/kernel_event_logger.h b/include/logging/kernel_event_logger.h index 643a884c5a0..34c300ec180 100644 --- a/include/logging/kernel_event_logger.h +++ b/include/logging/kernel_event_logger.h @@ -1,17 +1,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/include/logging/sys_log.h b/include/logging/sys_log.h index d7e0708b1de..ef4d06a62e9 100644 --- a/include/logging/sys_log.h +++ b/include/logging/sys_log.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ /** @file sys_log.h diff --git a/include/microkernel.h b/include/microkernel.h index b7d05ce47c0..cb490baa18c 100644 --- a/include/microkernel.h +++ b/include/microkernel.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-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 */ #ifndef _MICROKERNEL_H diff --git a/include/misc/__assert.h b/include/misc/__assert.h index 3d58ec7780f..48e1d326cdb 100644 --- a/include/misc/__assert.h +++ b/include/misc/__assert.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014 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/include/misc/byteorder.h b/include/misc/byteorder.h index a8f0baa647d..a8531466d99 100644 --- a/include/misc/byteorder.h +++ b/include/misc/byteorder.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016, 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 */ #ifndef __BYTEORDER_H__ diff --git a/include/misc/dlist.h b/include/misc/dlist.h index 8d6d8436873..dd4cd56e521 100644 --- a/include/misc/dlist.h +++ b/include/misc/dlist.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-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/include/misc/nano_work.h b/include/misc/nano_work.h index d2c41024959..9bd44ef74b2 100644 --- a/include/misc/nano_work.h +++ b/include/misc/nano_work.h @@ -2,17 +2,7 @@ /* * Copyright (c) 2016 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/include/misc/printk.h b/include/misc/printk.h index fd48dcf4627..bd8e5cd262a 100644 --- a/include/misc/printk.h +++ b/include/misc/printk.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2010-2012, 2014 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 */ #ifndef _PRINTK_H_ #define _PRINTK_H_ diff --git a/include/misc/reboot.h b/include/misc/reboot.h index 3687b83e259..dec1fcde50e 100644 --- a/include/misc/reboot.h +++ b/include/misc/reboot.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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/include/misc/ring_buffer.h b/include/misc/ring_buffer.h index 0bdd5437d6e..f7cbc5c307b 100644 --- a/include/misc/ring_buffer.h +++ b/include/misc/ring_buffer.h @@ -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 */ /** @file */ diff --git a/include/misc/slist.h b/include/misc/slist.h index d26751ea959..9a8ca0b0019 100644 --- a/include/misc/slist.h +++ b/include/misc/slist.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/misc/stack.h b/include/misc/stack.h index 0df9ae2c511..441cbe3ff41 100644 --- a/include/misc/stack.h +++ b/include/misc/stack.h @@ -6,17 +6,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 */ #if defined(CONFIG_INIT_STACKS) && defined(CONFIG_PRINTK) diff --git a/include/misc/util.h b/include/misc/util.h index 2dd2b47d741..6d35bbad76c 100644 --- a/include/misc/util.h +++ b/include/misc/util.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-2014, 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/include/nanokernel.h b/include/nanokernel.h index ccef2f36953..2604a8c3758 100644 --- a/include/nanokernel.h +++ b/include/nanokernel.h @@ -1,17 +1,7 @@ /* * Copyright (c) 1997-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/include/net/arp.h b/include/net/arp.h index 17367176440..7cbce9d2c80 100644 --- a/include/net/arp.h +++ b/include/net/arp.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ARP_H diff --git a/include/net/bt.h b/include/net/bt.h index 2fd2534df8f..90bdd825644 100644 --- a/include/net/bt.h +++ b/include/net/bt.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 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/include/net/buf.h b/include/net/buf.h index eae3dbc89f4..51668379cd2 100644 --- a/include/net/buf.h +++ b/include/net/buf.h @@ -5,17 +5,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 */ #ifndef __NET_BUF_H #define __NET_BUF_H diff --git a/include/net/dhcpv4.h b/include/net/dhcpv4.h index cedf295945b..6e691ee13ef 100644 --- a/include/net/dhcpv4.h +++ b/include/net/dhcpv4.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __DHCPV4_H diff --git a/include/net/dns_client.h b/include/net/dns_client.h index 6e683d1bf0f..de9b246a82e 100644 --- a/include/net/dns_client.h +++ b/include/net/dns_client.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _DNS_CLIENT_H_ diff --git a/include/net/ethernet.h b/include/net/ethernet.h index 9bc6d034262..fcddd9703e7 100644 --- a/include/net/ethernet.h +++ b/include/net/ethernet.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ETHERNET_H diff --git a/include/net/ieee802154.h b/include/net/ieee802154.h index 201f5e987de..1d1215064da 100644 --- a/include/net/ieee802154.h +++ b/include/net/ieee802154.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/ieee802154_radio.h b/include/net/ieee802154_radio.h index 802c965ec39..9e5e6ab85a5 100644 --- a/include/net/ieee802154_radio.h +++ b/include/net/ieee802154_radio.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/mii.h b/include/net/mii.h index 71847c00ae8..34d43e89e2d 100644 --- a/include/net/mii.h +++ b/include/net/mii.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Piotr Mienkowski * - * 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 */ /** @file diff --git a/include/net/mqtt.h b/include/net/mqtt.h index 28603edc11c..3163c2d5547 100644 --- a/include/net/mqtt.h +++ b/include/net/mqtt.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _MQTT_H_ diff --git a/include/net/mqtt_types.h b/include/net/mqtt_types.h index 1cdfc48804c..96feae983c6 100644 --- a/include/net/mqtt_types.h +++ b/include/net/mqtt_types.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _MQTT_TYPES_H_ diff --git a/include/net/nbuf.h b/include/net/nbuf.h index 0dcec3eeb26..2f093908784 100644 --- a/include/net/nbuf.h +++ b/include/net/nbuf.h @@ -8,17 +8,7 @@ /* * Copyright (c) 2016 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 */ /* Data buffer API - used for all data to/from net */ diff --git a/include/net/net_context.h b/include/net/net_context.h index 8cb51af75f3..a74e82965c6 100644 --- a/include/net/net_context.h +++ b/include/net/net_context.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_CONTEXT_H diff --git a/include/net/net_core.h b/include/net/net_core.h index 0266e00eb52..6a45f2eb201 100644 --- a/include/net/net_core.h +++ b/include/net/net_core.h @@ -7,17 +7,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 */ #ifndef __NET_CORE_H diff --git a/include/net/net_event.h b/include/net/net_event.h index e8c6b364d1e..9758ea25524 100644 --- a/include/net/net_event.h +++ b/include/net/net_event.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/net_if.h b/include/net/net_if.h index c7f3739629f..c4d4c3cbbfd 100644 --- a/include/net/net_if.h +++ b/include/net/net_if.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/net_ip.h b/include/net/net_ip.h index a3920cbceb0..f058bc552c2 100644 --- a/include/net/net_ip.h +++ b/include/net/net_ip.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_IP_H diff --git a/include/net/net_l2.h b/include/net/net_l2.h index c8c7b65ace8..1820639b82e 100644 --- a/include/net/net_l2.h +++ b/include/net/net_l2.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/net_linkaddr.h b/include/net/net_linkaddr.h index e0e5b548540..1e96b5219f2 100644 --- a/include/net/net_linkaddr.h +++ b/include/net/net_linkaddr.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/net_mgmt.h b/include/net/net_mgmt.h index 3fa30193b2d..bb4c105c35b 100644 --- a/include/net/net_mgmt.h +++ b/include/net/net_mgmt.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/net_stats.h b/include/net/net_stats.h index 3118d0ea622..1277a186894 100644 --- a/include/net/net_stats.h +++ b/include/net/net_stats.h @@ -8,17 +8,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_STATS_H diff --git a/include/net/offload_ip.h b/include/net/offload_ip.h index 6c09ef296b4..ee4f07988b3 100644 --- a/include/net/offload_ip.h +++ b/include/net/offload_ip.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/trickle.h b/include/net/trickle.h index e649af96385..f3962ab38f1 100644 --- a/include/net/trickle.h +++ b/include/net/trickle.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __TRICKLE_H diff --git a/include/net/zoap.h b/include/net/zoap.h index 2d97d25e985..af3105aaefb 100644 --- a/include/net/zoap.h +++ b/include/net/zoap.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/net/zoap_link_format.h b/include/net/zoap_link_format.h index d5e4f58cafa..47a39c0c1bb 100644 --- a/include/net/zoap_link_format.h +++ b/include/net/zoap_link_format.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/pinmux.h b/include/pinmux.h index 4902e6cdf6e..80fb5674050 100644 --- a/include/pinmux.h +++ b/include/pinmux.h @@ -1,17 +1,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/include/power.h b/include/power.h index 7b549c3bb30..f8e1e2c645f 100644 --- a/include/power.h +++ b/include/power.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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 */ #ifndef __INCpower diff --git a/include/pwm.h b/include/pwm.h index 639c5a594c3..84b4494fb00 100644 --- a/include/pwm.h +++ b/include/pwm.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/include/random.h b/include/random.h index 47789842866..f354d2ef742 100644 --- a/include/random.h +++ b/include/random.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 ARM Ltd. * - * 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 __RANDOM_H__ #define __RANDOM_H__ diff --git a/include/rtc.h b/include/rtc.h index de13eb3e21b..40c24c5cb81 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -1,17 +1,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 */ #ifndef _RTC_H_ diff --git a/include/section_tags.h b/include/section_tags.h index 251f839243f..d4cc5d6495d 100644 --- a/include/section_tags.h +++ b/include/section_tags.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014, 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 */ #ifndef _section_tags__h_ diff --git a/include/sections.h b/include/sections.h index 317264f11c4..cfa51c7d9cf 100644 --- a/include/sections.h +++ b/include/sections.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014, 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/include/sensor.h b/include/sensor.h index 733831523a2..fae9650bd9b 100644 --- a/include/sensor.h +++ b/include/sensor.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SENSOR_H__ #define __SENSOR_H__ diff --git a/include/shared_irq.h b/include/shared_irq.h index a85f9502f9e..e8ae0080f25 100644 --- a/include/shared_irq.h +++ b/include/shared_irq.h @@ -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 */ #ifndef _SHIRQ_H_ diff --git a/include/shell/shell.h b/include/shell/shell.h index 79e0c128fb9..c0746302cca 100644 --- a/include/shell/shell.h +++ b/include/shell/shell.h @@ -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 */ #ifdef __cplusplus diff --git a/include/spi.h b/include/spi.h index 3e160c950cc..c068bf429be 100644 --- a/include/spi.h +++ b/include/spi.h @@ -1,17 +1,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/include/sw_isr_table.h b/include/sw_isr_table.h index 04274f8286d..f0977876e9f 100644 --- a/include/sw_isr_table.h +++ b/include/sw_isr_table.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2014, 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/include/sys_clock.h b/include/sys_clock.h index b3605234264..a83a657c57d 100644 --- a/include/sys_clock.h +++ b/include/sys_clock.h @@ -1,17 +1,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 */ /** diff --git a/include/sys_io.h b/include/sys_io.h index 803ef1123df..96685d01fb0 100644 --- a/include/sys_io.h +++ b/include/sys_io.h @@ -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 */ #ifndef __SYS_IO_H__ diff --git a/include/toolchain.h b/include/toolchain.h index 37bf8f491df..11c90024b2a 100644 --- a/include/toolchain.h +++ b/include/toolchain.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014, 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/include/toolchain/common.h b/include/toolchain/common.h index ac5f4899f7e..0a5edbae02c 100644 --- a/include/toolchain/common.h +++ b/include/toolchain/common.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/include/toolchain/gcc.h b/include/toolchain/gcc.h index e2f8eac8d13..a076f070713 100644 --- a/include/toolchain/gcc.h +++ b/include/toolchain/gcc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/include/uart.h b/include/uart.h index 2162e661de3..b3960c45d36 100644 --- a/include/uart.h +++ b/include/uart.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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/include/watchdog.h b/include/watchdog.h index f49093674b2..e62753c50de 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -1,17 +1,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 */ #ifndef _WDT_H_ diff --git a/include/zephyr.h b/include/zephyr.h index fb2797532c4..0fee5c1f784 100644 --- a/include/zephyr.h +++ b/include/zephyr.h @@ -1,17 +1,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 */ #ifndef _ZEPHYR__H diff --git a/kernel/Kconfig b/kernel/Kconfig index d1699471b65..a556da8ed73 100644 --- a/kernel/Kconfig +++ b/kernel/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 # diff --git a/kernel/Kconfig.event_logger b/kernel/Kconfig.event_logger index d466d7bf3a9..ccbcda0b92e 100644 --- a/kernel/Kconfig.event_logger +++ b/kernel/Kconfig.event_logger @@ -1,17 +1,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 KERNEL_EVENT_LOGGER diff --git a/kernel/Kconfig.power_mgmt b/kernel/Kconfig.power_mgmt index e9e3005e3a6..d1bb62e277d 100644 --- a/kernel/Kconfig.power_mgmt +++ b/kernel/Kconfig.power_mgmt @@ -2,17 +2,7 @@ # Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2016 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 # menuconfig SYS_POWER_MANAGEMENT diff --git a/kernel/alert.c b/kernel/alert.c index a4c2f9246c9..508d714ec92 100644 --- a/kernel/alert.c +++ b/kernel/alert.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/atomic_c.c b/kernel/atomic_c.c index b8f2a19bfe8..003e00c9515 100644 --- a/kernel/atomic_c.c +++ b/kernel/atomic_c.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation * Copyright (c) 2011-2014 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/kernel/compiler_stack_protect.c b/kernel/compiler_stack_protect.c index d47b7af83d0..3fc37c837d5 100644 --- a/kernel/compiler_stack_protect.c +++ b/kernel/compiler_stack_protect.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/kernel/device.c b/kernel/device.c index 65d3616d02d..28210b5e118 100644 --- a/kernel/device.c +++ b/kernel/device.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/kernel/errno.c b/kernel/errno.c index 9305faba452..249a31ff74c 100644 --- a/kernel/errno.c +++ b/kernel/errno.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** @file diff --git a/kernel/fifo.c b/kernel/fifo.c index fae8fb7c588..a820ac2b1b4 100644 --- a/kernel/fifo.c +++ b/kernel/fifo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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 */ /** diff --git a/kernel/idle.c b/kernel/idle.c index 674569a5812..c3eb2910dc7 100644 --- a/kernel/idle.c +++ b/kernel/idle.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/kernel/include/gen_offset.h b/kernel/include/gen_offset.h index de5ae4f2f8e..0fd71a3bbb7 100644 --- a/kernel/include/gen_offset.h +++ b/kernel/include/gen_offset.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010, 2012, 2014 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/kernel/include/kernel_offsets.h b/kernel/include/kernel_offsets.h index 546d9fb2194..18651d0545c 100644 --- a/kernel/include/kernel_offsets.h +++ b/kernel/include/kernel_offsets.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014 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/kernel/include/kernel_structs.h b/kernel/include/kernel_structs.h index 13ae5cf2e91..31da33f914b 100644 --- a/kernel/include/kernel_structs.h +++ b/kernel/include/kernel_structs.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _kernel_structs__h_ diff --git a/kernel/include/ksched.h b/kernel/include/ksched.h index 389de2df47d..04c430d07c3 100644 --- a/kernel/include/ksched.h +++ b/kernel/include/ksched.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _ksched__h_ diff --git a/kernel/include/nano_internal.h b/kernel/include/nano_internal.h index dfc4fbb478f..7e7d9baf3e5 100644 --- a/kernel/include/nano_internal.h +++ b/kernel/include/nano_internal.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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/kernel/include/offsets_short.h b/kernel/include/offsets_short.h index 079558b514d..38716fff66b 100644 --- a/kernel/include/offsets_short.h +++ b/kernel/include/offsets_short.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _offsets_short__h_ diff --git a/kernel/include/timeout_q.h b/kernel/include/timeout_q.h index 9903b1d428d..8982cb2b692 100644 --- a/kernel/include/timeout_q.h +++ b/kernel/include/timeout_q.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _kernel_include_timeout_q__h_ diff --git a/kernel/include/wait_q.h b/kernel/include/wait_q.h index 44b72a13c37..0637a96e408 100644 --- a/kernel/include/wait_q.h +++ b/kernel/include/wait_q.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _kernel_include_wait_q__h_ diff --git a/kernel/init.c b/kernel/init.c index ced665eb534..e4ef955c38c 100644 --- a/kernel/init.c +++ b/kernel/init.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/kernel/int_latency_bench.c b/kernel/int_latency_bench.c index cdb3b0980f6..d9fecfa06db 100644 --- a/kernel/int_latency_bench.c +++ b/kernel/int_latency_bench.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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 */ #include "toolchain.h" diff --git a/kernel/legacy_offload.c b/kernel/legacy_offload.c index 007c1d44c5d..8d94c58afd0 100644 --- a/kernel/legacy_offload.c +++ b/kernel/legacy_offload.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/legacy_timer.c b/kernel/legacy_timer.c index b538eabec9d..e166c65a7b8 100644 --- a/kernel/legacy_timer.c +++ b/kernel/legacy_timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/kernel/lifo.c b/kernel/lifo.c index 2e24f283022..c4904fddb47 100644 --- a/kernel/lifo.c +++ b/kernel/lifo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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 */ /** @file diff --git a/kernel/mailbox.c b/kernel/mailbox.c index 31da4bfb633..7f7402dd3e9 100644 --- a/kernel/mailbox.c +++ b/kernel/mailbox.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/mem_pool.c b/kernel/mem_pool.c index f3a34847a89..50ac6dea8af 100644 --- a/kernel/mem_pool.c +++ b/kernel/mem_pool.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/mem_slab.c b/kernel/mem_slab.c index 486d2b6f460..3d5d0ad05d1 100644 --- a/kernel/mem_slab.c +++ b/kernel/mem_slab.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/kernel/msg_q.c b/kernel/msg_q.c index 91e64eb2874..2c95b73e0a7 100644 --- a/kernel/msg_q.c +++ b/kernel/msg_q.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/mutex.c b/kernel/mutex.c index 949a59f07f0..1c1e98a9393 100644 --- a/kernel/mutex.c +++ b/kernel/mutex.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/pipes.c b/kernel/pipes.c index f44f841ac81..5b205106095 100644 --- a/kernel/pipes.c +++ b/kernel/pipes.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/sched.c b/kernel/sched.c index 3c8b89aad27..0771e0ecbc1 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/kernel/sem.c b/kernel/sem.c index ca420e74173..f38b398fae3 100644 --- a/kernel/sem.c +++ b/kernel/sem.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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 */ /** diff --git a/kernel/stack.c b/kernel/stack.c index a4de87c1aa9..ecf7c3b416e 100644 --- a/kernel/stack.c +++ b/kernel/stack.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-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 */ /** diff --git a/kernel/sys_clock.c b/kernel/sys_clock.c index 8afe40bf9d6..6ace8c84bce 100644 --- a/kernel/sys_clock.c +++ b/kernel/sys_clock.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-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/kernel/system_work_q.c b/kernel/system_work_q.c index 8e1151d4dc4..f7810673a5b 100644 --- a/kernel/system_work_q.c +++ b/kernel/system_work_q.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Wind River Systems, Inc. * Copyright (c) 2016 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/kernel/thread.c b/kernel/thread.c index f52267d13ec..cc9eb17c835 100644 --- a/kernel/thread.c +++ b/kernel/thread.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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/kernel/thread_abort.c b/kernel/thread_abort.c index 289b5e7c73b..ec2d019c69d 100644 --- a/kernel/thread_abort.c +++ b/kernel/thread_abort.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/kernel/timer.c b/kernel/timer.c index 1b010ee6fd6..c7afc111a8f 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 1997-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/kernel/version.c b/kernel/version.c index c33fb7aa869..5d8b978c22e 100644 --- a/kernel/version.c +++ b/kernel/version.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2012-2014 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/kernel/work_q.c b/kernel/work_q.c index 8c29270ca0a..cba0988ce21 100644 --- a/kernel/work_q.c +++ b/kernel/work_q.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation * Copyright (c) 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 */ /** diff --git a/lib/Kconfig b/lib/Kconfig index 7f63b91e908..9352f1b5d26 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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/lib/libc/Kconfig b/lib/libc/Kconfig index 1cbf7826069..91fbec22dce 100644 --- a/lib/libc/Kconfig +++ b/lib/libc/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menu "C Library" diff --git a/lib/libc/minimal/include/assert.h b/lib/libc/minimal/include/assert.h index 39e8dace7fc..b49deac0290 100644 --- a/lib/libc/minimal/include/assert.h +++ b/lib/libc/minimal/include/assert.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Intel Corporation * Copyright (c) 2016, Freescale Semiconductor, 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 */ #ifndef __INC_assert_h__ diff --git a/lib/libc/minimal/include/bits/restrict.h b/lib/libc/minimal/include/bits/restrict.h index da876cb92ef..892a600a1df 100644 --- a/lib/libc/minimal/include/bits/restrict.h +++ b/lib/libc/minimal/include/bits/restrict.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/lib/libc/minimal/include/ctype.h b/lib/libc/minimal/include/ctype.h index 5c0d471584c..39fdd38f870 100644 --- a/lib/libc/minimal/include/ctype.h +++ b/lib/libc/minimal/include/ctype.h @@ -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 */ #ifndef __INC_ctype_h__ diff --git a/lib/libc/minimal/include/errno.h b/lib/libc/minimal/include/errno.h index b389c510c92..4c15b490fcc 100644 --- a/lib/libc/minimal/include/errno.h +++ b/lib/libc/minimal/include/errno.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1984-1999, 2012 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/lib/libc/minimal/include/inttypes.h b/lib/libc/minimal/include/inttypes.h index 0267b4e0f13..56d6908e393 100644 --- a/lib/libc/minimal/include/inttypes.h +++ b/lib/libc/minimal/include/inttypes.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/lib/libc/minimal/include/limits.h b/lib/libc/minimal/include/limits.h index 6c783761094..b9b424c2d6c 100644 --- a/lib/libc/minimal/include/limits.h +++ b/lib/libc/minimal/include/limits.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_limits_h__ diff --git a/lib/libc/minimal/include/stdbool.h b/lib/libc/minimal/include/stdbool.h index 2379a2537bc..7433b53ce31 100644 --- a/lib/libc/minimal/include/stdbool.h +++ b/lib/libc/minimal/include/stdbool.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_stdbool_h__ diff --git a/lib/libc/minimal/include/stdint.h b/lib/libc/minimal/include/stdint.h index 2e4deb5da52..14f5bd08877 100644 --- a/lib/libc/minimal/include/stdint.h +++ b/lib/libc/minimal/include/stdint.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_stdint_h__ diff --git a/lib/libc/minimal/include/stdio.h b/lib/libc/minimal/include/stdio.h index 48f78db6d77..3b47d182c3d 100644 --- a/lib/libc/minimal/include/stdio.h +++ b/lib/libc/minimal/include/stdio.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_stdio_h__ diff --git a/lib/libc/minimal/include/stdlib.h b/lib/libc/minimal/include/stdlib.h index 4657258429b..99bb656b3f1 100644 --- a/lib/libc/minimal/include/stdlib.h +++ b/lib/libc/minimal/include/stdlib.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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 */ #ifndef __INC_stdlib_h__ diff --git a/lib/libc/minimal/include/string.h b/lib/libc/minimal/include/string.h index 3ef8c512d75..df2451b56f5 100644 --- a/lib/libc/minimal/include/string.h +++ b/lib/libc/minimal/include/string.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_string_h__ diff --git a/lib/libc/minimal/include/strings.h b/lib/libc/minimal/include/strings.h index 78b0e9f0eb1..232b0c2bd09 100644 --- a/lib/libc/minimal/include/strings.h +++ b/lib/libc/minimal/include/strings.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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 */ #ifndef __INC_strings_h__ diff --git a/lib/libc/minimal/include/sys/types.h b/lib/libc/minimal/include/sys/types.h index 7fee26efc22..63c6c081873 100644 --- a/lib/libc/minimal/include/sys/types.h +++ b/lib/libc/minimal/include/sys/types.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __INC_sys_types_h__ diff --git a/lib/libc/minimal/source/stdout/fprintf.c b/lib/libc/minimal/source/stdout/fprintf.c index 9656f1678df..91473519f5a 100644 --- a/lib/libc/minimal/source/stdout/fprintf.c +++ b/lib/libc/minimal/source/stdout/fprintf.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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/lib/libc/minimal/source/stdout/prf.c b/lib/libc/minimal/source/stdout/prf.c index 703f18b0639..3c3bc318af3 100644 --- a/lib/libc/minimal/source/stdout/prf.c +++ b/lib/libc/minimal/source/stdout/prf.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2012-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 */ #include diff --git a/lib/libc/minimal/source/stdout/sprintf.c b/lib/libc/minimal/source/stdout/sprintf.c index 081312046d0..5cd8a30539b 100644 --- a/lib/libc/minimal/source/stdout/sprintf.c +++ b/lib/libc/minimal/source/stdout/sprintf.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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/lib/libc/minimal/source/stdout/stdout_console.c b/lib/libc/minimal/source/stdout/stdout_console.c index 648bd9e7101..aabee1ab828 100644 --- a/lib/libc/minimal/source/stdout/stdout_console.c +++ b/lib/libc/minimal/source/stdout/stdout_console.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/lib/libc/minimal/source/string/string.c b/lib/libc/minimal/source/string/string.c index 793c10bf222..d318839477e 100644 --- a/lib/libc/minimal/source/string/string.c +++ b/lib/libc/minimal/source/string/string.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/lib/libc/newlib/libc-hooks.c b/lib/libc/newlib/libc-hooks.c index 00fd06bdffd..4de15d58654 100644 --- a/lib/libc/newlib/libc-hooks.c +++ b/lib/libc/newlib/libc-hooks.c @@ -1,17 +1,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 diff --git a/misc/Kconfig b/misc/Kconfig index 20b22ec7592..7e1778195c4 100644 --- a/misc/Kconfig +++ b/misc/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 # menu "Compile and Link Features" diff --git a/misc/cpp_ctors.c b/misc/cpp_ctors.c index 8ec409af0e2..5912ce92d57 100644 --- a/misc/cpp_ctors.c +++ b/misc/cpp_ctors.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/misc/cpp_dtors.c b/misc/cpp_dtors.c index f38fb43c492..2e6f46269e5 100644 --- a/misc/cpp_dtors.c +++ b/misc/cpp_dtors.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* diff --git a/misc/cpp_init_array.c b/misc/cpp_init_array.c index d1848e78f16..12f8d4d5b9e 100644 --- a/misc/cpp_init_array.c +++ b/misc/cpp_init_array.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/misc/cpp_virtual.c b/misc/cpp_virtual.c index 7d3b502c3d1..050f8df1735 100644 --- a/misc/cpp_virtual.c +++ b/misc/cpp_virtual.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/misc/cpp_vtable.cpp b/misc/cpp_vtable.cpp index cf9ef35c828..b8e0390fd57 100644 --- a/misc/cpp_vtable.cpp +++ b/misc/cpp_vtable.cpp @@ -1,17 +1,7 @@ /* * Copyright (c) 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/misc/printk.c b/misc/printk.c index 5047fe2021a..ff66f88ae63 100644 --- a/misc/printk.c +++ b/misc/printk.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010, 2013-2014 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/misc/reboot.c b/misc/reboot.c index 85c0835ea6b..864aa0dd5ba 100644 --- a/misc/reboot.c +++ b/misc/reboot.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/misc/ring_buffer.c b/misc/ring_buffer.c index 21cdab63a1f..395ddd4be3c 100644 --- a/misc/ring_buffer.c +++ b/misc/ring_buffer.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 diff --git a/samples/basic/blink_led/src/main.c b/samples/basic/blink_led/src/main.c index 890feded685..2d12c43af20 100644 --- a/samples/basic/blink_led/src/main.c +++ b/samples/basic/blink_led/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/basic/blinky/src/main.c b/samples/basic/blinky/src/main.c index 0ec86f71caf..0c98f476247 100644 --- a/samples/basic/blinky/src/main.c +++ b/samples/basic/blinky/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/basic/button/src/main.c b/samples/basic/button/src/main.c index b7d7d4d7bb6..0e86cb6c339 100644 --- a/samples/basic/button/src/main.c +++ b/samples/basic/button/src/main.c @@ -1,17 +1,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 */ #include diff --git a/samples/basic/disco/src/main.c b/samples/basic/disco/src/main.c index 219c6efb0d2..931ba74e1cb 100644 --- a/samples/basic/disco/src/main.c +++ b/samples/basic/disco/src/main.c @@ -1,17 +1,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 */ #include diff --git a/samples/basic/fade_led/src/main.c b/samples/basic/fade_led/src/main.c index a7a4111c72e..f4137a69807 100644 --- a/samples/basic/fade_led/src/main.c +++ b/samples/basic/fade_led/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/basic/rgb_led/src/main.c b/samples/basic/rgb_led/src/main.c index 90f45d43cd5..ce7e53060d0 100644 --- a/samples/basic/rgb_led/src/main.c +++ b/samples/basic/rgb_led/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/basic/servo_motor/src/main.c b/samples/basic/servo_motor/src/main.c index bbbd0e5ddf8..ea3350733f3 100644 --- a/samples/basic/servo_motor/src/main.c +++ b/samples/basic/servo_motor/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/bluetooth/beacon/src/main.c b/samples/bluetooth/beacon/src/main.c index 69205f8e4eb..c122ad2f327 100644 --- a/samples/bluetooth/beacon/src/main.c +++ b/samples/bluetooth/beacon/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/central/Makefile b/samples/bluetooth/central/Makefile index be3e70da573..a92cea7e915 100644 --- a/samples/bluetooth/central/Makefile +++ b/samples/bluetooth/central/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # # DESCRIPTION diff --git a/samples/bluetooth/central/src/main.c b/samples/bluetooth/central/src/main.c index 8aaea366ed8..30246eb770f 100644 --- a/samples/bluetooth/central/src/main.c +++ b/samples/bluetooth/central/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/central_hr/Makefile b/samples/bluetooth/central_hr/Makefile index be3e70da573..a92cea7e915 100644 --- a/samples/bluetooth/central_hr/Makefile +++ b/samples/bluetooth/central_hr/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # # DESCRIPTION diff --git a/samples/bluetooth/central_hr/src/main.c b/samples/bluetooth/central_hr/src/main.c index 01e75758afc..2710b2534a6 100644 --- a/samples/bluetooth/central_hr/src/main.c +++ b/samples/bluetooth/central_hr/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/eddystone/src/main.c b/samples/bluetooth/eddystone/src/main.c index ba036854ab1..96d3ab7bf2b 100644 --- a/samples/bluetooth/eddystone/src/main.c +++ b/samples/bluetooth/eddystone/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/gatt/bas.c b/samples/bluetooth/gatt/bas.c index 17ae762772a..054fd1e1bc2 100644 --- a/samples/bluetooth/gatt/bas.c +++ b/samples/bluetooth/gatt/bas.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/gatt/bas.h b/samples/bluetooth/gatt/bas.h index 616356b4c18..b1a59637022 100644 --- a/samples/bluetooth/gatt/bas.h +++ b/samples/bluetooth/gatt/bas.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/cts.c b/samples/bluetooth/gatt/cts.c index 98691b1f1c2..a0a74afefae 100644 --- a/samples/bluetooth/gatt/cts.c +++ b/samples/bluetooth/gatt/cts.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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" CTSIS, - * 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/samples/bluetooth/gatt/cts.h b/samples/bluetooth/gatt/cts.h index 9d0b21188e3..6e3cca03a0b 100644 --- a/samples/bluetooth/gatt/cts.h +++ b/samples/bluetooth/gatt/cts.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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" CTSIS, - * 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/dis.c b/samples/bluetooth/gatt/dis.c index e19d7951370..42be06ea49f 100644 --- a/samples/bluetooth/gatt/dis.c +++ b/samples/bluetooth/gatt/dis.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/gatt/dis.h b/samples/bluetooth/gatt/dis.h index 442ec2995dc..b3f5ce10ebd 100644 --- a/samples/bluetooth/gatt/dis.h +++ b/samples/bluetooth/gatt/dis.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/gap.c b/samples/bluetooth/gatt/gap.c index 51aa4b05894..5f508686cf3 100644 --- a/samples/bluetooth/gatt/gap.c +++ b/samples/bluetooth/gatt/gap.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/gatt/gap.h b/samples/bluetooth/gatt/gap.h index 6bcf123fcc1..5f984bfe4b3 100644 --- a/samples/bluetooth/gatt/gap.h +++ b/samples/bluetooth/gatt/gap.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/hog.c b/samples/bluetooth/gatt/hog.c index 86561906e2c..f811afff470 100644 --- a/samples/bluetooth/gatt/hog.c +++ b/samples/bluetooth/gatt/hog.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/gatt/hog.h b/samples/bluetooth/gatt/hog.h index 15459f688d8..7ca8b294d6d 100644 --- a/samples/bluetooth/gatt/hog.h +++ b/samples/bluetooth/gatt/hog.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/hrs.c b/samples/bluetooth/gatt/hrs.c index 8f1b150dc81..653198a4989 100644 --- a/samples/bluetooth/gatt/hrs.c +++ b/samples/bluetooth/gatt/hrs.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/gatt/hrs.h b/samples/bluetooth/gatt/hrs.h index a39b8fe3b0d..f68cbae88d8 100644 --- a/samples/bluetooth/gatt/hrs.h +++ b/samples/bluetooth/gatt/hrs.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/gatt/ipss.c b/samples/bluetooth/gatt/ipss.c index f704520f399..d2460802aef 100644 --- a/samples/bluetooth/gatt/ipss.c +++ b/samples/bluetooth/gatt/ipss.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/gatt/ipss.h b/samples/bluetooth/gatt/ipss.h index 01e344f72c4..7d46abb53ee 100644 --- a/samples/bluetooth/gatt/ipss.h +++ b/samples/bluetooth/gatt/ipss.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifdef __cplusplus diff --git a/samples/bluetooth/handsfree/Makefile b/samples/bluetooth/handsfree/Makefile index 124701b140f..be5c821d7e0 100644 --- a/samples/bluetooth/handsfree/Makefile +++ b/samples/bluetooth/handsfree/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # # DESCRIPTION diff --git a/samples/bluetooth/handsfree/src/main.c b/samples/bluetooth/handsfree/src/main.c index 91e001cde34..5fe1a80d529 100644 --- a/samples/bluetooth/handsfree/src/main.c +++ b/samples/bluetooth/handsfree/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/hci_uart/src/main.c b/samples/bluetooth/hci_uart/src/main.c index 3f9b2b3ac3f..39fdafd131b 100644 --- a/samples/bluetooth/hci_uart/src/main.c +++ b/samples/bluetooth/hci_uart/src/main.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/hci_usb/src/main.c b/samples/bluetooth/hci_usb/src/main.c index ed5d02c50a6..bea2cd2b0f5 100644 --- a/samples/bluetooth/hci_usb/src/main.c +++ b/samples/bluetooth/hci_usb/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/ipsp/src/main.c b/samples/bluetooth/ipsp/src/main.c index 6e56a01ede0..a90bef6aaf1 100644 --- a/samples/bluetooth/ipsp/src/main.c +++ b/samples/bluetooth/ipsp/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/peripheral/src/main.c b/samples/bluetooth/peripheral/src/main.c index 9ffc342d880..4b1f86e755b 100644 --- a/samples/bluetooth/peripheral/src/main.c +++ b/samples/bluetooth/peripheral/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/peripheral_csc/src/main.c b/samples/bluetooth/peripheral_csc/src/main.c index 431f647f8aa..35e12c5d676 100644 --- a/samples/bluetooth/peripheral_csc/src/main.c +++ b/samples/bluetooth/peripheral_csc/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/peripheral_dis/src/main.c b/samples/bluetooth/peripheral_dis/src/main.c index 658a348431f..5b6bfe95bc4 100644 --- a/samples/bluetooth/peripheral_dis/src/main.c +++ b/samples/bluetooth/peripheral_dis/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/peripheral_esp/src/main.c b/samples/bluetooth/peripheral_esp/src/main.c index f90d5285870..1d52b3a3403 100644 --- a/samples/bluetooth/peripheral_esp/src/main.c +++ b/samples/bluetooth/peripheral_esp/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/peripheral_hids/src/main.c b/samples/bluetooth/peripheral_hids/src/main.c index 66dcc7ed401..21955075bea 100644 --- a/samples/bluetooth/peripheral_hids/src/main.c +++ b/samples/bluetooth/peripheral_hids/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/bluetooth/peripheral_hr/src/main.c b/samples/bluetooth/peripheral_hr/src/main.c index 2b43ff461e0..e23744b4c45 100644 --- a/samples/bluetooth/peripheral_hr/src/main.c +++ b/samples/bluetooth/peripheral_hr/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/bluetooth/peripheral_sc_only/src/main.c b/samples/bluetooth/peripheral_sc_only/src/main.c index 633f899ef44..0e7c250d89d 100644 --- a/samples/bluetooth/peripheral_sc_only/src/main.c +++ b/samples/bluetooth/peripheral_sc_only/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/samples/drivers/aio_comparator/src/main.c b/samples/drivers/aio_comparator/src/main.c index 7d16684a92e..fbe5ea734a7 100644 --- a/samples/drivers/aio_comparator/src/main.c +++ b/samples/drivers/aio_comparator/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/drivers/current_sensing/src/main.c b/samples/drivers/current_sensing/src/main.c index ac0c42fec72..0504d75e261 100644 --- a/samples/drivers/current_sensing/src/main.c +++ b/samples/drivers/current_sensing/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/drivers/gpio/src/main.c b/samples/drivers/gpio/src/main.c index d467ef145f7..a9796d08ebc 100644 --- a/samples/drivers/gpio/src/main.c +++ b/samples/drivers/gpio/src/main.c @@ -1,17 +1,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/samples/drivers/i2c_fujitsu_fram/src/main.c b/samples/drivers/i2c_fujitsu_fram/src/main.c index 8731e2008eb..636e0f73942 100644 --- a/samples/drivers/i2c_fujitsu_fram/src/main.c +++ b/samples/drivers/i2c_fujitsu_fram/src/main.c @@ -1,17 +1,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 diff --git a/samples/drivers/i2c_lsm9ds0/src/main.c b/samples/drivers/i2c_lsm9ds0/src/main.c index 5622e13c604..b1f316583d8 100644 --- a/samples/drivers/i2c_lsm9ds0/src/main.c +++ b/samples/drivers/i2c_lsm9ds0/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/drivers/lcd_hd44780/src/main.c b/samples/drivers/lcd_hd44780/src/main.c index 02ee2592a9d..4a267232cbf 100644 --- a/samples/drivers/lcd_hd44780/src/main.c +++ b/samples/drivers/lcd_hd44780/src/main.c @@ -1,15 +1,5 @@ /* - * 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/samples/drivers/led_apa102c/src/main.c b/samples/drivers/led_apa102c/src/main.c index 9b4259a284a..8eb42ba19b6 100644 --- a/samples/drivers/led_apa102c/src/main.c +++ b/samples/drivers/led_apa102c/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/drivers/random/src/main.c b/samples/drivers/random/src/main.c index 62f3456e926..688af46a3dd 100644 --- a/samples/drivers/random/src/main.c +++ b/samples/drivers/random/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 ARM Ltd. * - * 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/samples/drivers/rtc/src/main.c b/samples/drivers/rtc/src/main.c index b00214688e7..66ae976fce7 100644 --- a/samples/drivers/rtc/src/main.c +++ b/samples/drivers/rtc/src/main.c @@ -1,17 +1,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 diff --git a/samples/drivers/soc_flash_nrf5/src/main.c b/samples/drivers/soc_flash_nrf5/src/main.c index 038ee03199d..c3b8c73683e 100644 --- a/samples/drivers/soc_flash_nrf5/src/main.c +++ b/samples/drivers/soc_flash_nrf5/src/main.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Linaro Limited * 2016 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 diff --git a/samples/drivers/spi_flash/src/main.c b/samples/drivers/spi_flash/src/main.c index 018f915a918..2d87592e744 100644 --- a/samples/drivers/spi_flash/src/main.c +++ b/samples/drivers/spi_flash/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/drivers/spi_fujitsu_fram/src/main.c b/samples/drivers/spi_fujitsu_fram/src/main.c index 2b5f0a6d959..bc3b8028cb5 100644 --- a/samples/drivers/spi_fujitsu_fram/src/main.c +++ b/samples/drivers/spi_fujitsu_fram/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/drivers/spi_lsm9ds0/src/main.c b/samples/drivers/spi_lsm9ds0/src/main.c index f86d3d2cfc3..52f1f5b8e00 100644 --- a/samples/drivers/spi_lsm9ds0/src/main.c +++ b/samples/drivers/spi_lsm9ds0/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/drivers/watchdog/src/main.c b/samples/drivers/watchdog/src/main.c index 4f98bbb14b0..3f0d7345fc8 100644 --- a/samples/drivers/watchdog/src/main.c +++ b/samples/drivers/watchdog/src/main.c @@ -1,17 +1,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 diff --git a/samples/environmental_sensing/ap/src/main.c b/samples/environmental_sensing/ap/src/main.c index 25d431393f7..7ae4a5c7e54 100644 --- a/samples/environmental_sensing/ap/src/main.c +++ b/samples/environmental_sensing/ap/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/environmental_sensing/sensor/src/main.c b/samples/environmental_sensing/sensor/src/main.c index b1536bab08c..7a38b41550c 100644 --- a/samples/environmental_sensing/sensor/src/main.c +++ b/samples/environmental_sensing/sensor/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/grove/lcd/src/main.c b/samples/grove/lcd/src/main.c index b74979e2ec9..7299819fc80 100644 --- a/samples/grove/lcd/src/main.c +++ b/samples/grove/lcd/src/main.c @@ -1,17 +1,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 diff --git a/samples/grove/light/src/main.c b/samples/grove/light/src/main.c index 35fd858287f..8541bf931e5 100644 --- a/samples/grove/light/src/main.c +++ b/samples/grove/light/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/grove/temperature/src/main.c b/samples/grove/temperature/src/main.c index 307473e1566..d7069c70ef9 100644 --- a/samples/grove/temperature/src/main.c +++ b/samples/grove/temperature/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/hello_world/src/main.c b/samples/hello_world/src/main.c index b7e013e7ada..04bd688f5f3 100644 --- a/samples/hello_world/src/main.c +++ b/samples/hello_world/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/samples/ipm/ipm_demo_arc/src/hello.c b/samples/ipm/ipm_demo_arc/src/hello.c index 2ca9e4a9d5f..d90e392570d 100644 --- a/samples/ipm/ipm_demo_arc/src/hello.c +++ b/samples/ipm/ipm_demo_arc/src/hello.c @@ -2,17 +2,7 @@ * Copyright (c) 2012-2014 Wind River Systems, Inc. * Copyright (c) 2016 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 diff --git a/samples/ipm/ipm_demo_lmt/src/hello.c b/samples/ipm/ipm_demo_lmt/src/hello.c index e9348ef080a..8072c515017 100644 --- a/samples/ipm/ipm_demo_lmt/src/hello.c +++ b/samples/ipm/ipm_demo_lmt/src/hello.c @@ -2,17 +2,7 @@ * Copyright (c) 2012-2014 Wind River Systems, Inc. * Copyright (c) 2016 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 diff --git a/samples/legacy/cpp_synchronization/microkernel/src/main.cpp b/samples/legacy/cpp_synchronization/microkernel/src/main.cpp index 59e46323bfc..3b7865adb8e 100644 --- a/samples/legacy/cpp_synchronization/microkernel/src/main.cpp +++ b/samples/legacy/cpp_synchronization/microkernel/src/main.cpp @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-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 */ /** diff --git a/samples/legacy/cpp_synchronization/nanokernel/src/main.cpp b/samples/legacy/cpp_synchronization/nanokernel/src/main.cpp index e28e1f97d55..83ab59efb0a 100644 --- a/samples/legacy/cpp_synchronization/nanokernel/src/main.cpp +++ b/samples/legacy/cpp_synchronization/nanokernel/src/main.cpp @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-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 */ /** diff --git a/samples/legacy/kernel_event_logger/microkernel/src/kernel_event_collector_sample.c b/samples/legacy/kernel_event_logger/microkernel/src/kernel_event_collector_sample.c index cd76e48fd6e..57fe91fe37d 100644 --- a/samples/legacy/kernel_event_logger/microkernel/src/kernel_event_collector_sample.c +++ b/samples/legacy/kernel_event_logger/microkernel/src/kernel_event_collector_sample.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 diff --git a/samples/legacy/philosophers/microkernel/src/phil.h b/samples/legacy/philosophers/microkernel/src/phil.h index 155c5a4de6e..e2b7a9b022c 100644 --- a/samples/legacy/philosophers/microkernel/src/phil.h +++ b/samples/legacy/philosophers/microkernel/src/phil.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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 */ #if defined(CONFIG_STDOUT_CONSOLE) #include diff --git a/samples/legacy/philosophers/microkernel/src/phil_fiber.c b/samples/legacy/philosophers/microkernel/src/phil_fiber.c index 54df48f6b72..83d035e06ae 100644 --- a/samples/legacy/philosophers/microkernel/src/phil_fiber.c +++ b/samples/legacy/philosophers/microkernel/src/phil_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-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 */ #include #include "phil.h" diff --git a/samples/legacy/philosophers/microkernel/src/phil_task.c b/samples/legacy/philosophers/microkernel/src/phil_task.c index 8b743a708fe..773f7b66eaa 100644 --- a/samples/legacy/philosophers/microkernel/src/phil_task.c +++ b/samples/legacy/philosophers/microkernel/src/phil_task.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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/samples/legacy/synchronization/microkernel/src/main.c b/samples/legacy/synchronization/microkernel/src/main.c index 821bcf94b3f..7d2e2fa7ca1 100644 --- a/samples/legacy/synchronization/microkernel/src/main.c +++ b/samples/legacy/synchronization/microkernel/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/samples/legacy/synchronization/nanokernel/src/main.c b/samples/legacy/synchronization/nanokernel/src/main.c index ab9cda71a8f..6b333bd9234 100644 --- a/samples/legacy/synchronization/nanokernel/src/main.c +++ b/samples/legacy/synchronization/nanokernel/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/samples/legacy/task_profiler/microkernel/src/hello.c b/samples/legacy/task_profiler/microkernel/src/hello.c index 4e4d6dc9759..28d354f524e 100644 --- a/samples/legacy/task_profiler/microkernel/src/hello.c +++ b/samples/legacy/task_profiler/microkernel/src/hello.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/samples/legacy/task_profiler/nanokernel/src/hello.c b/samples/legacy/task_profiler/nanokernel/src/hello.c index f36aa9a8e2f..2b2987c22c1 100644 --- a/samples/legacy/task_profiler/nanokernel/src/hello.c +++ b/samples/legacy/task_profiler/nanokernel/src/hello.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py index b9ca3cf93f9..d59bea8cf81 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_parse.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # import os, sys, re diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py index 3b11568db9e..84f7f5a5922 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_run.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # # A S ==> R B, A goes to sleep state, A runtime is timestamp_switch - previous_timestamp. diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py index 08e4006bcb9..c7829e0bf0f 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_timeslice.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # # IMPORTANT: timeslice must be bigger than max running time of tasks diff --git a/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py b/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py index f266cb7a640..e49835adb12 100755 --- a/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py +++ b/samples/legacy/task_profiler/profiler/scripts/contextswitch_totals.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # # 2 possible algos: at each new timestamp, update run/queue/sleep time for all threads vs update diff --git a/samples/legacy/task_profiler/profiler/scripts/profile.sh b/samples/legacy/task_profiler/profiler/scripts/profile.sh index a2fcb8451fe..04ab3f9302c 100755 --- a/samples/legacy/task_profiler/profiler/scripts/profile.sh +++ b/samples/legacy/task_profiler/profiler/scripts/profile.sh @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # function usage() { diff --git a/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py b/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py index 841cd76d1ce..b5d699ac7c5 100755 --- a/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py +++ b/samples/legacy/task_profiler/profiler/scripts/profile_kernel.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # import sys,re,os diff --git a/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py b/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py index 4c6e6955d99..c552e0282ee 100755 --- a/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py +++ b/samples/legacy/task_profiler/profiler/scripts/profile_monitor.py @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # import sys,re,os diff --git a/samples/legacy/task_profiler/profiler/scripts/term/term.c b/samples/legacy/task_profiler/profiler/scripts/term/term.c index ecedfd73cd9..e7ac026a31d 100644 --- a/samples/legacy/task_profiler/profiler/scripts/term/term.c +++ b/samples/legacy/task_profiler/profiler/scripts/term/term.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/legacy/task_profiler/profiler/src/profiler.c b/samples/legacy/task_profiler/profiler/src/profiler.c index 4e6811be977..331a9b78038 100644 --- a/samples/legacy/task_profiler/profiler/src/profiler.c +++ b/samples/legacy/task_profiler/profiler/src/profiler.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/legacy/task_profiler/profiler/src/profiler.h b/samples/legacy/task_profiler/profiler/src/profiler.h index 8d21c987393..c8837c6f744 100644 --- a/samples/legacy/task_profiler/profiler/src/profiler.h +++ b/samples/legacy/task_profiler/profiler/src/profiler.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #ifndef PROFILER_H diff --git a/samples/logger-hook/src/main.c b/samples/logger-hook/src/main.c index a168316e4ea..b9b6994260a 100644 --- a/samples/logger-hook/src/main.c +++ b/samples/logger-hook/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define SYS_LOG_DOMAIN "sample-unified" diff --git a/samples/net/common/Makefile.ipstack b/samples/net/common/Makefile.ipstack index b11ebd85800..13ac1729163 100644 --- a/samples/net/common/Makefile.ipstack +++ b/samples/net/common/Makefile.ipstack @@ -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 # PIPE_BASE=/tmp/ip-stack diff --git a/samples/net/common/cc2520_a101.c b/samples/net/common/cc2520_a101.c index 5cde647608b..959aafcaee6 100644 --- a/samples/net/common/cc2520_a101.c +++ b/samples/net/common/cc2520_a101.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/common/cc2520_frdm_k64f.c b/samples/net/common/cc2520_frdm_k64f.c index 1e34fd045dc..146f06c1640 100644 --- a/samples/net/common/cc2520_frdm_k64f.c +++ b/samples/net/common/cc2520_frdm_k64f.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/dhcpv4_client/src/main.c b/samples/net/dhcpv4_client/src/main.c index 9d25dec17a4..3d7f8ccf43e 100644 --- a/samples/net/dhcpv4_client/src/main.c +++ b/samples/net/dhcpv4_client/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #if 1 diff --git a/samples/net/dns_client/Makefile b/samples/net/dns_client/Makefile index 6c415a63434..17aa334fba7 100644 --- a/samples/net/dns_client/Makefile +++ b/samples/net/dns_client/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # BOARD ?= qemu_x86 diff --git a/samples/net/dns_client/src/Makefile b/samples/net/dns_client/src/Makefile index 1c10941fdd7..0a91bcb8e2b 100644 --- a/samples/net/dns_client/src/Makefile +++ b/samples/net/dns_client/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # obj-y += main.o diff --git a/samples/net/dns_client/src/config.h b/samples/net/dns_client/src/config.h index 344de980d00..17a774adacc 100644 --- a/samples/net/dns_client/src/config.h +++ b/samples/net/dns_client/src/config.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _CONFIG_H_ diff --git a/samples/net/dns_client/src/main.c b/samples/net/dns_client/src/main.c index 60cd44b98d8..781a931253e 100644 --- a/samples/net/dns_client/src/main.c +++ b/samples/net/dns_client/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/echo_client/Makefile b/samples/net/echo_client/Makefile index 7306f6a9a3f..4761c03a6bc 100644 --- a/samples/net/echo_client/Makefile +++ b/samples/net/echo_client/Makefile @@ -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 # BOARD ?= qemu_x86 diff --git a/samples/net/echo_client/src/echo-client.c b/samples/net/echo_client/src/echo-client.c index 5d1d755e5ec..bcdc865611c 100644 --- a/samples/net/echo_client/src/echo-client.c +++ b/samples/net/echo_client/src/echo-client.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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/samples/net/echo_server/Makefile b/samples/net/echo_server/Makefile index 9036e316eb8..24d6defed38 100644 --- a/samples/net/echo_server/Makefile +++ b/samples/net/echo_server/Makefile @@ -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 # BOARD ?= qemu_x86 diff --git a/samples/net/echo_server/src/echo-server.c b/samples/net/echo_server/src/echo-server.c index 8a66cb091a8..86490605735 100644 --- a/samples/net/echo_server/src/echo-server.c +++ b/samples/net/echo_server/src/echo-server.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #if 1 diff --git a/samples/net/ieee802154/hw/Makefile b/samples/net/ieee802154/hw/Makefile index 885c3c90506..e5a1f5de2a4 100644 --- a/samples/net/ieee802154/hw/Makefile +++ b/samples/net/ieee802154/hw/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # BOARD ?= quark_se_c1000_devboard diff --git a/samples/net/ieee802154/hw/src/ieee802154_test.c b/samples/net/ieee802154/hw/src/ieee802154_test.c index bc403c927f0..f1eed408092 100644 --- a/samples/net/ieee802154/hw/src/ieee802154_test.c +++ b/samples/net/ieee802154/hw/src/ieee802154_test.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/ieee802154/qemu/Makefile b/samples/net/ieee802154/qemu/Makefile index abc3106c31c..0dc7083c14c 100644 --- a/samples/net/ieee802154/qemu/Makefile +++ b/samples/net/ieee802154/qemu/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # BOARD = qemu_x86 diff --git a/samples/net/ieee802154/qemu/Makefile.qemu b/samples/net/ieee802154/qemu/Makefile.qemu index fb22b2716ee..f1aacfab302 100644 --- a/samples/net/ieee802154/qemu/Makefile.qemu +++ b/samples/net/ieee802154/qemu/Makefile.qemu @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # PIPE_BASE=/tmp/net-802.15.4 diff --git a/samples/net/ieee802154/qemu/src/ieee802154_qemu_test.c b/samples/net/ieee802154/qemu/src/ieee802154_qemu_test.c index 7402eaa8b8b..ed406f84622 100644 --- a/samples/net/ieee802154/qemu/src/ieee802154_qemu_test.c +++ b/samples/net/ieee802154/qemu/src/ieee802154_qemu_test.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/leds_demo/Makefile b/samples/net/leds_demo/Makefile index f985c113f10..97abb972681 100644 --- a/samples/net/leds_demo/Makefile +++ b/samples/net/leds_demo/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # BOARD ?= qemu_x86 diff --git a/samples/net/leds_demo/src/leds-demo.c b/samples/net/leds_demo/src/leds-demo.c index f600271fa27..f4904ca3934 100644 --- a/samples/net/leds_demo/src/leds-demo.c +++ b/samples/net/leds_demo/src/leds-demo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if 1 diff --git a/samples/net/mbedtls_dtlsclient/Makefile b/samples/net/mbedtls_dtlsclient/Makefile index ca435ac7bbb..55f82eefa7d 100644 --- a/samples/net/mbedtls_dtlsclient/Makefile +++ b/samples/net/mbedtls_dtlsclient/Makefile @@ -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 # BOARD ?= qemu_x86 diff --git a/samples/net/mbedtls_dtlsclient/src/Makefile b/samples/net/mbedtls_dtlsclient/src/Makefile index fa22ad8d31f..d5d613b375f 100644 --- a/samples/net/mbedtls_dtlsclient/src/Makefile +++ b/samples/net/mbedtls_dtlsclient/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # obj-y += dtls_client.o udp.o diff --git a/samples/net/mbedtls_dtlsclient/src/dtls_client.c b/samples/net/mbedtls_dtlsclient/src/dtls_client.c index 601b5b5c4fb..b00519de389 100644 --- a/samples/net/mbedtls_dtlsclient/src/dtls_client.c +++ b/samples/net/mbedtls_dtlsclient/src/dtls_client.c @@ -2,20 +2,9 @@ * (Meant to be used with config-threadnet.h) * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved + * * SPDX-License-Identifier: Apache-2.0 * - * 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. - * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/samples/net/mbedtls_dtlsclient/src/udp.c b/samples/net/mbedtls_dtlsclient/src/udp.c index 0b426e8d711..f2eb4f64edf 100644 --- a/samples/net/mbedtls_dtlsclient/src/udp.c +++ b/samples/net/mbedtls_dtlsclient/src/udp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/mbedtls_dtlsclient/src/udp.h b/samples/net/mbedtls_dtlsclient/src/udp.h index 016c77cf0d5..99743755386 100644 --- a/samples/net/mbedtls_dtlsclient/src/udp.h +++ b/samples/net/mbedtls_dtlsclient/src/udp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _UDP_H_ diff --git a/samples/net/mbedtls_dtlsclient/src/udp_cfg.h b/samples/net/mbedtls_dtlsclient/src/udp_cfg.h index 7f768837041..d2a7641115c 100644 --- a/samples/net/mbedtls_dtlsclient/src/udp_cfg.h +++ b/samples/net/mbedtls_dtlsclient/src/udp_cfg.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef UDP_CONFIG_H_ diff --git a/samples/net/mbedtls_dtlsserver/Makefile b/samples/net/mbedtls_dtlsserver/Makefile index 8da0ca3ce77..3c0606daabe 100644 --- a/samples/net/mbedtls_dtlsserver/Makefile +++ b/samples/net/mbedtls_dtlsserver/Makefile @@ -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 # BOARD ?= qemu_x86 diff --git a/samples/net/mbedtls_dtlsserver/src/Makefile b/samples/net/mbedtls_dtlsserver/src/Makefile index 2a4837ca0f8..a60845a120e 100644 --- a/samples/net/mbedtls_dtlsserver/src/Makefile +++ b/samples/net/mbedtls_dtlsserver/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # obj-y += dtls_server.o udp.o diff --git a/samples/net/mbedtls_dtlsserver/src/dtls_server.c b/samples/net/mbedtls_dtlsserver/src/dtls_server.c index fdb0a3752b3..9e63037bc63 100644 --- a/samples/net/mbedtls_dtlsserver/src/dtls_server.c +++ b/samples/net/mbedtls_dtlsserver/src/dtls_server.c @@ -2,20 +2,9 @@ * (Meant to be used with config-threadnet.h) * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved + * * SPDX-License-Identifier: Apache-2.0 * - * 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. - * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/samples/net/mbedtls_dtlsserver/src/udp.c b/samples/net/mbedtls_dtlsserver/src/udp.c index 26b32e1b131..20b68a2d554 100644 --- a/samples/net/mbedtls_dtlsserver/src/udp.c +++ b/samples/net/mbedtls_dtlsserver/src/udp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 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 diff --git a/samples/net/mbedtls_dtlsserver/src/udp.h b/samples/net/mbedtls_dtlsserver/src/udp.h index f72eefdb062..910331dac67 100644 --- a/samples/net/mbedtls_dtlsserver/src/udp.h +++ b/samples/net/mbedtls_dtlsserver/src/udp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _UDP_H_ diff --git a/samples/net/mbedtls_dtlsserver/src/udp_cfg.h b/samples/net/mbedtls_dtlsserver/src/udp_cfg.h index 3b945e5ec9c..ed9b0905211 100644 --- a/samples/net/mbedtls_dtlsserver/src/udp_cfg.h +++ b/samples/net/mbedtls_dtlsserver/src/udp_cfg.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef UDP_CONFIG_H_ diff --git a/samples/net/mbedtls_sslclient/Makefile b/samples/net/mbedtls_sslclient/Makefile index d1e0f967ab6..6f417152f4f 100644 --- a/samples/net/mbedtls_sslclient/Makefile +++ b/samples/net/mbedtls_sslclient/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # BOARD = galileo diff --git a/samples/net/mbedtls_sslclient/src/Makefile b/samples/net/mbedtls_sslclient/src/Makefile index ca063900c64..913a4a320d3 100644 --- a/samples/net/mbedtls_sslclient/src/Makefile +++ b/samples/net/mbedtls_sslclient/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # obj-y += mini_client.o tcp.o diff --git a/samples/net/mbedtls_sslclient/src/mini_client.c b/samples/net/mbedtls_sslclient/src/mini_client.c index 8e74ea40581..1fa2097234f 100644 --- a/samples/net/mbedtls_sslclient/src/mini_client.c +++ b/samples/net/mbedtls_sslclient/src/mini_client.c @@ -3,20 +3,9 @@ * (meant to be used with config-suite-b.h or config-ccm-psk-tls1_2.h) * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved + * * SPDX-License-Identifier: Apache-2.0 * - * 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. - * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/samples/net/mbedtls_sslclient/src/tcp.c b/samples/net/mbedtls_sslclient/src/tcp.c index 4d175289d19..675cef09bae 100644 --- a/samples/net/mbedtls_sslclient/src/tcp.c +++ b/samples/net/mbedtls_sslclient/src/tcp.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/mbedtls_sslclient/src/tcp.h b/samples/net/mbedtls_sslclient/src/tcp.h index b99831c6c10..e7143aa0b19 100644 --- a/samples/net/mbedtls_sslclient/src/tcp.h +++ b/samples/net/mbedtls_sslclient/src/tcp.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _TCP_H_ diff --git a/samples/net/mbedtls_sslclient/src/tcp_cfg.h b/samples/net/mbedtls_sslclient/src/tcp_cfg.h index 7e82293a0aa..dacb8c5fd47 100644 --- a/samples/net/mbedtls_sslclient/src/tcp_cfg.h +++ b/samples/net/mbedtls_sslclient/src/tcp_cfg.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef TCP_CONFIG_H_ diff --git a/samples/net/wpan_serial/src/main.c b/samples/net/wpan_serial/src/main.c index acce3ab7371..ab1cce4a190 100644 --- a/samples/net/wpan_serial/src/main.c +++ b/samples/net/wpan_serial/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/net/wpanusb/src/wpanusb.c b/samples/net/wpanusb/src/wpanusb.c index 65be1a2d8b5..9d7eb97bf42 100644 --- a/samples/net/wpanusb/src/wpanusb.c +++ b/samples/net/wpanusb/src/wpanusb.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define SYS_LOG_LEVEL 3 diff --git a/samples/net/wpanusb/src/wpanusb.h b/samples/net/wpanusb/src/wpanusb.h index 5e446071890..a0cd115391f 100644 --- a/samples/net/wpanusb/src/wpanusb.h +++ b/samples/net/wpanusb/src/wpanusb.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ enum wpanusb_requests { diff --git a/samples/net/zoap_client/Makefile b/samples/net/zoap_client/Makefile index c9f8087bb49..766d080e773 100644 --- a/samples/net/zoap_client/Makefile +++ b/samples/net/zoap_client/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # BOARD = qemu_x86 diff --git a/samples/net/zoap_client/src/zoap-client.c b/samples/net/zoap_client/src/zoap-client.c index e9c9c12c588..dc3b5416530 100644 --- a/samples/net/zoap_client/src/zoap-client.c +++ b/samples/net/zoap_client/src/zoap-client.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/zoap_server/Makefile b/samples/net/zoap_server/Makefile index 6c9591abebe..2348447076c 100644 --- a/samples/net/zoap_server/Makefile +++ b/samples/net/zoap_server/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # BOARD = qemu_x86 diff --git a/samples/net/zoap_server/src/zoap-server.c b/samples/net/zoap_server/src/zoap-server.c index 53845d334d4..e286a7da759 100644 --- a/samples/net/zoap_server/src/zoap-server.c +++ b/samples/net/zoap_server/src/zoap-server.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if 1 diff --git a/samples/net/zperf/src/shell_utils.c b/samples/net/zperf/src/shell_utils.c index 8af97096c01..da24ab81886 100644 --- a/samples/net/zperf/src/shell_utils.c +++ b/samples/net/zperf/src/shell_utils.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/zperf/src/shell_utils.h b/samples/net/zperf/src/shell_utils.h index 5904e4923ff..86e7f068573 100644 --- a/samples/net/zperf/src/shell_utils.h +++ b/samples/net/zperf/src/shell_utils.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __SHELL_UTILS_H #define __SHELL_UTILS_H diff --git a/samples/net/zperf/src/zperf.h b/samples/net/zperf/src/zperf.h index dd24650488c..1a7ab2c63be 100644 --- a/samples/net/zperf/src/zperf.h +++ b/samples/net/zperf/src/zperf.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ZPERF_H #define __ZPERF_H diff --git a/samples/net/zperf/src/zperf_internal.h b/samples/net/zperf/src/zperf_internal.h index 2a9295971ed..13422c96642 100644 --- a/samples/net/zperf/src/zperf_internal.h +++ b/samples/net/zperf/src/zperf_internal.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ZPERF_INTERNAL_H #define __ZPERF_INTERNAL_H diff --git a/samples/net/zperf/src/zperf_session.c b/samples/net/zperf/src/zperf_session.c index 6b3a564b127..88316a007d1 100644 --- a/samples/net/zperf/src/zperf_session.c +++ b/samples/net/zperf/src/zperf_session.c @@ -1,17 +1,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 diff --git a/samples/net/zperf/src/zperf_session.h b/samples/net/zperf/src/zperf_session.h index 5b8448235eb..72133b5f94f 100644 --- a/samples/net/zperf/src/zperf_session.h +++ b/samples/net/zperf/src/zperf_session.h @@ -1,17 +1,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 */ #ifndef __ZPERF_SESSION_H #define __ZPERF_SESSION_H diff --git a/samples/net/zperf/src/zperf_shell.c b/samples/net/zperf/src/zperf_shell.c index dcaed67aa9e..daf16e37934 100644 --- a/samples/net/zperf/src/zperf_shell.c +++ b/samples/net/zperf/src/zperf_shell.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #define SYS_LOG_DOMAIN "net/zperf" diff --git a/samples/net/zperf/src/zperf_tcp_receiver.c b/samples/net/zperf/src/zperf_tcp_receiver.c index 2a635f06d41..18910c56fd1 100644 --- a/samples/net/zperf/src/zperf_tcp_receiver.c +++ b/samples/net/zperf/src/zperf_tcp_receiver.c @@ -1,17 +1,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 */ #error "FIXME - TCP not supported yet" diff --git a/samples/net/zperf/src/zperf_tcp_uploader.c b/samples/net/zperf/src/zperf_tcp_uploader.c index e545b46d62d..2a79fe49b4d 100644 --- a/samples/net/zperf/src/zperf_tcp_uploader.c +++ b/samples/net/zperf/src/zperf_tcp_uploader.c @@ -1,17 +1,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 diff --git a/samples/net/zperf/src/zperf_udp_receiver.c b/samples/net/zperf/src/zperf_udp_receiver.c index 664f0337aaf..68ff53e90b2 100644 --- a/samples/net/zperf/src/zperf_udp_receiver.c +++ b/samples/net/zperf/src/zperf_udp_receiver.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/net/zperf/src/zperf_udp_uploader.c b/samples/net/zperf/src/zperf_udp_uploader.c index d573165621b..5fb2b86949e 100644 --- a/samples/net/zperf/src/zperf_udp_uploader.c +++ b/samples/net/zperf/src/zperf_udp_uploader.c @@ -1,17 +1,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 diff --git a/samples/nfc/nfc_hello/src/main.c b/samples/nfc/nfc_hello/src/main.c index 9bc8c72169c..1f42727d884 100644 --- a/samples/nfc/nfc_hello/src/main.c +++ b/samples/nfc/nfc_hello/src/main.c @@ -1,17 +1,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 diff --git a/samples/philosophers/src/main.c b/samples/philosophers/src/main.c index 19eaab24cd7..b6363598fba 100644 --- a/samples/philosophers/src/main.c +++ b/samples/philosophers/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2011-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 */ /** diff --git a/samples/philosophers/src/phil_obj_abstract.h b/samples/philosophers/src/phil_obj_abstract.h index ebd76d331e3..cb6fd281a3e 100644 --- a/samples/philosophers/src/phil_obj_abstract.h +++ b/samples/philosophers/src/phil_obj_abstract.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /** diff --git a/samples/power/power_mgr/src/main.c b/samples/power/power_mgr/src/main.c index 87ef54f6827..e7c74e4d09c 100644 --- a/samples/power/power_mgr/src/main.c +++ b/samples/power/power_mgr/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/apds9960/src/main.c b/samples/sensor/apds9960/src/main.c index 4edb6e2af7e..090ef13c8a1 100644 --- a/samples/sensor/apds9960/src/main.c +++ b/samples/sensor/apds9960/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/bme280/src/main.c b/samples/sensor/bme280/src/main.c index f27349c322b..db6725eca92 100644 --- a/samples/sensor/bme280/src/main.c +++ b/samples/sensor/bme280/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/samples/sensor/bmg160/src/arc_bmg160.c b/samples/sensor/bmg160/src/arc_bmg160.c index c9455460a87..dc5c69f739d 100644 --- a/samples/sensor/bmg160/src/arc_bmg160.c +++ b/samples/sensor/bmg160/src/arc_bmg160.c @@ -1,17 +1,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 diff --git a/samples/sensor/bmi160/src/bmi160.c b/samples/sensor/bmi160/src/bmi160.c index 5e82e246842..df00f0a447c 100644 --- a/samples/sensor/bmi160/src/bmi160.c +++ b/samples/sensor/bmi160/src/bmi160.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/fxos8700/Makefile b/samples/sensor/fxos8700/Makefile index 8d7dcde75d9..5a62fe044aa 100644 --- a/samples/sensor/fxos8700/Makefile +++ b/samples/sensor/fxos8700/Makefile @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # BOARD ?= frdm_k64f diff --git a/samples/sensor/fxos8700/src/Makefile b/samples/sensor/fxos8700/src/Makefile index 1a86794fa91..9be89c83087 100644 --- a/samples/sensor/fxos8700/src/Makefile +++ b/samples/sensor/fxos8700/src/Makefile @@ -2,17 +2,7 @@ # # Copyright (c) 2016, Freescale Semiconductor, 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 # obj-y = main.o diff --git a/samples/sensor/fxos8700/src/main.c b/samples/sensor/fxos8700/src/main.c index 3ceb4b19827..8a9224c8cbd 100644 --- a/samples/sensor/fxos8700/src/main.c +++ b/samples/sensor/fxos8700/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Freescale Semiconductor, 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/samples/sensor/magn_polling/src/main.c b/samples/sensor/magn_polling/src/main.c index 745c78015ca..61a25ff08b5 100644 --- a/samples/sensor/magn_polling/src/main.c +++ b/samples/sensor/magn_polling/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/max44009/src/main.c b/samples/sensor/max44009/src/main.c index 718eae585df..7fe3e6fd151 100644 --- a/samples/sensor/max44009/src/main.c +++ b/samples/sensor/max44009/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/mcp9808/src/main.c b/samples/sensor/mcp9808/src/main.c index c84726f9aea..76131ddfffc 100644 --- a/samples/sensor/mcp9808/src/main.c +++ b/samples/sensor/mcp9808/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/sx9500/src/main.c b/samples/sensor/sx9500/src/main.c index f9b5625a4c3..e122be02600 100644 --- a/samples/sensor/sx9500/src/main.c +++ b/samples/sensor/sx9500/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/th02/src/main.c b/samples/sensor/th02/src/main.c index 928914ac627..aa7c8e4cf34 100644 --- a/samples/sensor/th02/src/main.c +++ b/samples/sensor/th02/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/sensor/thermometer/src/main.c b/samples/sensor/thermometer/src/main.c index 1b46c337cc9..f80fffebda7 100644 --- a/samples/sensor/thermometer/src/main.c +++ b/samples/sensor/thermometer/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 ARM Ltd. * - * 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/samples/sensor/tmp112/src/main.c b/samples/sensor/tmp112/src/main.c index 465ea61fadc..8f0b768c1bf 100644 --- a/samples/sensor/tmp112/src/main.c +++ b/samples/sensor/tmp112/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Firmwave * - * 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/samples/shell/src/main.c b/samples/shell/src/main.c index 69e0b67f740..e5eb20ab6d8 100644 --- a/samples/shell/src/main.c +++ b/samples/shell/src/main.c @@ -1,17 +1,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 diff --git a/samples/static_lib/Makefile b/samples/static_lib/Makefile index 4fdcfc5a625..d601ca94ae3 100644 --- a/samples/static_lib/Makefile +++ b/samples/static_lib/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # all qemu pristine clean: diff --git a/samples/static_lib/hello_world/Makefile b/samples/static_lib/hello_world/Makefile index 46bedf10fd1..7c143e1c022 100644 --- a/samples/static_lib/hello_world/Makefile +++ b/samples/static_lib/hello_world/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # BOARD = qemu_x86 diff --git a/samples/static_lib/hello_world/src/Makefile b/samples/static_lib/hello_world/src/Makefile index 1c10941fdd7..0a91bcb8e2b 100644 --- a/samples/static_lib/hello_world/src/Makefile +++ b/samples/static_lib/hello_world/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # obj-y += main.o diff --git a/samples/static_lib/hello_world/src/main.c b/samples/static_lib/hello_world/src/main.c index cbb84c4ec25..a1c5cfad35e 100644 --- a/samples/static_lib/hello_world/src/main.c +++ b/samples/static_lib/hello_world/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/static_lib/mylib/Makefile b/samples/static_lib/mylib/Makefile index 7f43e7666f5..b245faa24c2 100644 --- a/samples/static_lib/mylib/Makefile +++ b/samples/static_lib/mylib/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # O ?= $(error $$(O) is not set. Try `make all-mylib` from hello_world) diff --git a/samples/static_lib/mylib/include/mylib.h b/samples/static_lib/mylib/include/mylib.h index 6299b2caeca..edb8818d535 100644 --- a/samples/static_lib/mylib/include/mylib.h +++ b/samples/static_lib/mylib/include/mylib.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _MYLIB_H_ diff --git a/samples/static_lib/mylib/src/mylib.c b/samples/static_lib/mylib/src/mylib.c index 1663bced9d3..74526b5dbd6 100644 --- a/samples/static_lib/mylib/src/mylib.c +++ b/samples/static_lib/mylib/src/mylib.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 "mylib.h" diff --git a/samples/synchronization/src/main.c b/samples/synchronization/src/main.c index 945d14ec711..8eceb28e2b2 100644 --- a/samples/synchronization/src/main.c +++ b/samples/synchronization/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/samples/testing/integration/src/main.c b/samples/testing/integration/src/main.c index 3abf21c3a51..373636f1721 100644 --- a/samples/testing/integration/src/main.c +++ b/samples/testing/integration/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/testing/unit/main.c b/samples/testing/unit/main.c index 21ae8798ef4..88a30b2cb72 100644 --- a/samples/testing/unit/main.c +++ b/samples/testing/unit/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/usb/cdc_acm/src/main.c b/samples/usb/cdc_acm/src/main.c index 1faba10687a..3e88c5a3a50 100644 --- a/samples/usb/cdc_acm/src/main.c +++ b/samples/usb/cdc_acm/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/usb/console/src/main.c b/samples/usb/console/src/main.c index 98886d8fc9d..68c1b4179f0 100644 --- a/samples/usb/console/src/main.c +++ b/samples/usb/console/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/samples/usb/dfu/src/main.c b/samples/usb/dfu/src/main.c index 1996085c0db..b8d2583edbc 100644 --- a/samples/usb/dfu/src/main.c +++ b/samples/usb/dfu/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/samples/usb/mass/src/main.c b/samples/usb/mass/src/main.c index e5864b0d4f5..2dbcf992b1c 100644 --- a/samples/usb/mass/src/main.c +++ b/samples/usb/mass/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ /* Sample to put the device in USB mass storage mode backed on a 16k RAMDisk. */ diff --git a/samples/usb/webusb/src/main.c b/samples/usb/webusb/src/main.c index 779993f1745..e1674dca82c 100644 --- a/samples/usb/webusb/src/main.c +++ b/samples/usb/webusb/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/scripts/Makefile.qemu b/scripts/Makefile.qemu index 618fff35389..d5a2d17fc80 100644 --- a/scripts/Makefile.qemu +++ b/scripts/Makefile.qemu @@ -1,17 +1,7 @@ # # Copyright (c) 2017 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 # Abstraction of 'run' goal with Qemu diff --git a/scripts/check_known_checkpatch_issues.sh b/scripts/check_known_checkpatch_issues.sh index cf54f8342bd..de1174ebc31 100755 --- a/scripts/check_known_checkpatch_issues.sh +++ b/scripts/check_known_checkpatch_issues.sh @@ -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/scripts/do_checkpatch.sh b/scripts/do_checkpatch.sh index a1656578e9c..a03aaa1873f 100755 --- a/scripts/do_checkpatch.sh +++ b/scripts/do_checkpatch.sh @@ -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 # [ -f $1 ] && rm $1 diff --git a/scripts/expr_parser.py b/scripts/expr_parser.py index 3047553f2f2..1d3eb3a8ddd 100644 --- a/scripts/expr_parser.py +++ b/scripts/expr_parser.py @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 import sys import os diff --git a/scripts/gen_idt/gen_idt.c b/scripts/gen_idt/gen_idt.c index 75ea0c53357..fce707f2efa 100644 --- a/scripts/gen_idt/gen_idt.c +++ b/scripts/gen_idt/gen_idt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/scripts/gen_idt/version.c b/scripts/gen_idt/version.c index fd4f786696d..cf9d3fce50d 100644 --- a/scripts/gen_idt/version.c +++ b/scripts/gen_idt/version.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/scripts/gen_idt/version.h b/scripts/gen_idt/version.h index ee0f389206e..f5cf45e20cb 100644 --- a/scripts/gen_idt/version.h +++ b/scripts/gen_idt/version.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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 */ struct version { diff --git a/scripts/gen_offset_header/elf.h b/scripts/gen_offset_header/elf.h index 449e6ada444..cf85d7ce191 100644 --- a/scripts/gen_offset_header/elf.h +++ b/scripts/gen_offset_header/elf.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2010, 2014 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 */ /* @file diff --git a/scripts/gen_offset_header/gen_offset_header.c b/scripts/gen_offset_header/gen_offset_header.c index 7f72fedd1dc..5933970be1f 100644 --- a/scripts/gen_offset_header/gen_offset_header.c +++ b/scripts/gen_offset_header/gen_offset_header.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2010-2014 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 */ /** @@ -118,6 +108,7 @@ static char preamble1[] = "\ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\ * See the License for the specific language governing permissions and\n\ * limitations under the License.\n\ + * SPDX-License-Identifier: Apache-2.0\n\ */\n\ \n\ /* THIS FILE IS AUTO GENERATED. PLEASE DO NOT EDIT */\n\ diff --git a/scripts/maintainer-checkpatch.bash b/scripts/maintainer-checkpatch.bash index b799ad79684..b13dd600b6f 100755 --- a/scripts/maintainer-checkpatch.bash +++ b/scripts/maintainer-checkpatch.bash @@ -3,17 +3,7 @@ # # Copyright (c) 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 # exe_name=$(basename $0) diff --git a/scripts/make-ll b/scripts/make-ll index 295fad3d036..1630690c9ea 100755 --- a/scripts/make-ll +++ b/scripts/make-ll @@ -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 # [ x$(which grep) = x ] && exit -1 diff --git a/scripts/size_report b/scripts/size_report index da0adb81f16..7d9bac7edb2 100755 --- a/scripts/size_report +++ b/scripts/size_report @@ -2,17 +2,7 @@ # # Copyright (c) 2016, 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 # Based on a script by: # Chereau, Fabien diff --git a/scripts/sysgen b/scripts/sysgen index 950b3c93bfc..9cc18e1555d 100755 --- a/scripts/sysgen +++ b/scripts/sysgen @@ -5,17 +5,7 @@ # # Copyright (c) 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 # # Arguments: diff --git a/scripts/timestamp b/scripts/timestamp index 4ca3b9736a2..a88cabffe47 100755 --- a/scripts/timestamp +++ b/scripts/timestamp @@ -3,17 +3,7 @@ # # Copyright (c) 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 # exe_name=$(basename $0) diff --git a/subsys/Kconfig b/subsys/Kconfig index cb4a61d91a0..4ee0fed13ca 100644 --- a/subsys/Kconfig +++ b/subsys/Kconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 # source "subsys/fs/Kconfig" diff --git a/subsys/bluetooth/Kconfig b/subsys/bluetooth/Kconfig index 5c45b8531f9..bb4320aca55 100644 --- a/subsys/bluetooth/Kconfig +++ b/subsys/bluetooth/Kconfig @@ -2,17 +2,7 @@ # # Copyright (c) 2016 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 # menuconfig BLUETOOTH diff --git a/subsys/bluetooth/controller/hal/ccm.h b/subsys/bluetooth/controller/hal/ccm.h index 3c325ec5061..f6eec37904d 100644 --- a/subsys/bluetooth/controller/hal/ccm.h +++ b/subsys/bluetooth/controller/hal/ccm.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _CCM_H_ diff --git a/subsys/bluetooth/controller/hal/cntr.h b/subsys/bluetooth/controller/hal/cntr.h index a3fe7b1f98f..9224d063aee 100644 --- a/subsys/bluetooth/controller/hal/cntr.h +++ b/subsys/bluetooth/controller/hal/cntr.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _CNTR_H_ diff --git a/subsys/bluetooth/controller/hal/cpu.h b/subsys/bluetooth/controller/hal/cpu.h index 7a54c85051c..ad466e938d2 100644 --- a/subsys/bluetooth/controller/hal/cpu.h +++ b/subsys/bluetooth/controller/hal/cpu.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _CPU_H_ diff --git a/subsys/bluetooth/controller/hal/debug.h b/subsys/bluetooth/controller/hal/debug.h index 2b5f6bb4f77..9c4738dd73b 100644 --- a/subsys/bluetooth/controller/hal/debug.h +++ b/subsys/bluetooth/controller/hal/debug.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _DEBUG_H_ diff --git a/subsys/bluetooth/controller/hal/ecb.h b/subsys/bluetooth/controller/hal/ecb.h index 77d2934ad4e..078b7c4f1f8 100644 --- a/subsys/bluetooth/controller/hal/ecb.h +++ b/subsys/bluetooth/controller/hal/ecb.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _ECB_H_ diff --git a/subsys/bluetooth/controller/hal/nrf5/cntr.c b/subsys/bluetooth/controller/hal/nrf5/cntr.c index 5687ad52a61..24e33c7234a 100644 --- a/subsys/bluetooth/controller/hal/nrf5/cntr.c +++ b/subsys/bluetooth/controller/hal/nrf5/cntr.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hal/nrf5/ecb.c b/subsys/bluetooth/controller/hal/nrf5/ecb.c index 5425869ce2c..13cef6e09b5 100644 --- a/subsys/bluetooth/controller/hal/nrf5/ecb.c +++ b/subsys/bluetooth/controller/hal/nrf5/ecb.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hal/nrf5/radio.c b/subsys/bluetooth/controller/hal/nrf5/radio.c index fc00d4047cf..957880cd8b2 100644 --- a/subsys/bluetooth/controller/hal/nrf5/radio.c +++ b/subsys/bluetooth/controller/hal/nrf5/radio.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hal/nrf5/rand.c b/subsys/bluetooth/controller/hal/nrf5/rand.c index 17955b539a7..19be736a2b8 100644 --- a/subsys/bluetooth/controller/hal/nrf5/rand.c +++ b/subsys/bluetooth/controller/hal/nrf5/rand.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hal/radio.h b/subsys/bluetooth/controller/hal/radio.h index 83ef54e097d..4eab51ea1a8 100644 --- a/subsys/bluetooth/controller/hal/radio.h +++ b/subsys/bluetooth/controller/hal/radio.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _RADIO_H_ diff --git a/subsys/bluetooth/controller/hal/rand.h b/subsys/bluetooth/controller/hal/rand.h index 85a30a620d2..ca20c85585e 100644 --- a/subsys/bluetooth/controller/hal/rand.h +++ b/subsys/bluetooth/controller/hal/rand.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _RAND_H_ diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index a268ab10fa3..0dc97e9edf4 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hci/hci_driver.c b/subsys/bluetooth/controller/hci/hci_driver.c index 390fce4560f..836cd58d806 100644 --- a/subsys/bluetooth/controller/hci/hci_driver.c +++ b/subsys/bluetooth/controller/hci/hci_driver.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/hci/hci_internal.h b/subsys/bluetooth/controller/hci/hci_internal.h index 4c8032a4e69..420accb505a 100644 --- a/subsys/bluetooth/controller/hci/hci_internal.h +++ b/subsys/bluetooth/controller/hci/hci_internal.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _HCI_CONTROLLER_H_ diff --git a/subsys/bluetooth/controller/ll/ctrl.c b/subsys/bluetooth/controller/ll/ctrl.c index a1e2bcc8344..cb178a962e0 100644 --- a/subsys/bluetooth/controller/ll/ctrl.c +++ b/subsys/bluetooth/controller/ll/ctrl.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/ll/ctrl.h b/subsys/bluetooth/controller/ll/ctrl.h index 339c06cb28d..8b4cc48f270 100644 --- a/subsys/bluetooth/controller/ll/ctrl.h +++ b/subsys/bluetooth/controller/ll/ctrl.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _CTRL_H_ diff --git a/subsys/bluetooth/controller/ll/ctrl_internal.h b/subsys/bluetooth/controller/ll/ctrl_internal.h index 3a41c4a110d..33e3630bea0 100644 --- a/subsys/bluetooth/controller/ll/ctrl_internal.h +++ b/subsys/bluetooth/controller/ll/ctrl_internal.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 */ enum llcp { diff --git a/subsys/bluetooth/controller/ll/ll.c b/subsys/bluetooth/controller/ll/ll.c index 5b335c05fe4..ce4e49e7fb4 100644 --- a/subsys/bluetooth/controller/ll/ll.c +++ b/subsys/bluetooth/controller/ll/ll.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/ll/ll.h b/subsys/bluetooth/controller/ll/ll.h index 582a01bd73a..a77f05ea484 100644 --- a/subsys/bluetooth/controller/ll/ll.h +++ b/subsys/bluetooth/controller/ll/ll.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _LL_H_ diff --git a/subsys/bluetooth/controller/ll/pdu.h b/subsys/bluetooth/controller/ll/pdu.h index 3e8ea8e86a3..9fb5271d346 100644 --- a/subsys/bluetooth/controller/ll/pdu.h +++ b/subsys/bluetooth/controller/ll/pdu.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _PDU_H_ diff --git a/subsys/bluetooth/controller/ticker/ticker.c b/subsys/bluetooth/controller/ticker/ticker.c index bcceb694a58..c002aae3310 100644 --- a/subsys/bluetooth/controller/ticker/ticker.c +++ b/subsys/bluetooth/controller/ticker/ticker.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/ticker/ticker.h b/subsys/bluetooth/controller/ticker/ticker.h index 9283f7394d0..e065d1d7975 100644 --- a/subsys/bluetooth/controller/ticker/ticker.h +++ b/subsys/bluetooth/controller/ticker/ticker.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _TICKER_H_ diff --git a/subsys/bluetooth/controller/util/config.h b/subsys/bluetooth/controller/util/config.h index c305726b818..03d9d883e82 100644 --- a/subsys/bluetooth/controller/util/config.h +++ b/subsys/bluetooth/controller/util/config.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _CONFIG_H_ diff --git a/subsys/bluetooth/controller/util/mayfly.c b/subsys/bluetooth/controller/util/mayfly.c index e78648d28bc..9aa84b721ed 100644 --- a/subsys/bluetooth/controller/util/mayfly.c +++ b/subsys/bluetooth/controller/util/mayfly.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/util/mayfly.h b/subsys/bluetooth/controller/util/mayfly.h index c7779241a53..12d480ff4fe 100644 --- a/subsys/bluetooth/controller/util/mayfly.h +++ b/subsys/bluetooth/controller/util/mayfly.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _MAYFLY_H_ diff --git a/subsys/bluetooth/controller/util/mem.c b/subsys/bluetooth/controller/util/mem.c index c770abb8bae..67c99c4e820 100644 --- a/subsys/bluetooth/controller/util/mem.c +++ b/subsys/bluetooth/controller/util/mem.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/util/mem.h b/subsys/bluetooth/controller/util/mem.h index 14eee24c44c..c0770b6f241 100644 --- a/subsys/bluetooth/controller/util/mem.h +++ b/subsys/bluetooth/controller/util/mem.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _MEM_H_ diff --git a/subsys/bluetooth/controller/util/memq.c b/subsys/bluetooth/controller/util/memq.c index b241831051d..057bad13c43 100644 --- a/subsys/bluetooth/controller/util/memq.c +++ b/subsys/bluetooth/controller/util/memq.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/util/memq.h b/subsys/bluetooth/controller/util/memq.h index 6c4a36141b0..97104023550 100644 --- a/subsys/bluetooth/controller/util/memq.h +++ b/subsys/bluetooth/controller/util/memq.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _MEMQ_H_ diff --git a/subsys/bluetooth/controller/util/util.c b/subsys/bluetooth/controller/util/util.c index 759382af269..1aeef532177 100644 --- a/subsys/bluetooth/controller/util/util.c +++ b/subsys/bluetooth/controller/util/util.c @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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/subsys/bluetooth/controller/util/util.h b/subsys/bluetooth/controller/util/util.h index ebdc7ce0ee5..91b39ef07b3 100644 --- a/subsys/bluetooth/controller/util/util.h +++ b/subsys/bluetooth/controller/util/util.h @@ -2,17 +2,7 @@ * Copyright (c) 2016 Nordic Semiconductor ASA * Copyright (c) 2016 Vinayak Kariappa Chettimada * - * 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 _UTIL_H_ diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index 2553e3ac8b7..f98f6014db7 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # comment "Host Stack Configuration" diff --git a/subsys/bluetooth/host/a2dp.c b/subsys/bluetooth/host/a2dp.c index d8712179ebc..114521c8cfd 100644 --- a/subsys/bluetooth/host/a2dp.c +++ b/subsys/bluetooth/host/a2dp.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/a2dp_internal.h b/subsys/bluetooth/host/a2dp_internal.h index ced11a95590..c0de6d81b62 100644 --- a/subsys/bluetooth/host/a2dp_internal.h +++ b/subsys/bluetooth/host/a2dp_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ enum bt_a2dp_stream_state { diff --git a/subsys/bluetooth/host/at.c b/subsys/bluetooth/host/at.c index 3671090be6e..07f5aaab0e2 100644 --- a/subsys/bluetooth/host/at.c +++ b/subsys/bluetooth/host/at.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/at.h b/subsys/bluetooth/host/at.h index 9b8839449a4..c3d0d9c27dd 100644 --- a/subsys/bluetooth/host/at.h +++ b/subsys/bluetooth/host/at.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ enum at_result { diff --git a/subsys/bluetooth/host/att.c b/subsys/bluetooth/host/att.c index 7d11d022fa6..bd04eb499b7 100644 --- a/subsys/bluetooth/host/att.c +++ b/subsys/bluetooth/host/att.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/att_internal.h b/subsys/bluetooth/host/att_internal.h index 5d41641d429..793aaa1aad2 100644 --- a/subsys/bluetooth/host/att_internal.h +++ b/subsys/bluetooth/host/att_internal.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 */ #define BT_ATT_DEFAULT_LE_MTU 23 diff --git a/subsys/bluetooth/host/avdtp.c b/subsys/bluetooth/host/avdtp.c index 80b5c8be02b..e950568a5fa 100644 --- a/subsys/bluetooth/host/avdtp.c +++ b/subsys/bluetooth/host/avdtp.c @@ -1,17 +1,7 @@ /* * Audio Video Distribution Protocol * - * 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/subsys/bluetooth/host/avdtp_internal.h b/subsys/bluetooth/host/avdtp_internal.h index 368595fcf00..1d91b557b74 100644 --- a/subsys/bluetooth/host/avdtp_internal.h +++ b/subsys/bluetooth/host/avdtp_internal.h @@ -3,17 +3,7 @@ * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/conn.c b/subsys/bluetooth/host/conn.c index 59a9ddf90f7..8500329b7fb 100644 --- a/subsys/bluetooth/host/conn.c +++ b/subsys/bluetooth/host/conn.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/conn_internal.h b/subsys/bluetooth/host/conn_internal.h index ed3832bc578..898f05d6272 100644 --- a/subsys/bluetooth/host/conn_internal.h +++ b/subsys/bluetooth/host/conn_internal.h @@ -5,17 +5,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 */ typedef enum __packed { BT_CONN_DISCONNECTED, diff --git a/subsys/bluetooth/host/ecc.h b/subsys/bluetooth/host/ecc.h index db4758a3b2a..418f0361b49 100644 --- a/subsys/bluetooth/host/ecc.h +++ b/subsys/bluetooth/host/ecc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ /* @brief Container for public key callback */ diff --git a/subsys/bluetooth/host/gatt.c b/subsys/bluetooth/host/gatt.c index 8b458136817..711aca5a100 100644 --- a/subsys/bluetooth/host/gatt.c +++ b/subsys/bluetooth/host/gatt.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/gatt_internal.h b/subsys/bluetooth/host/gatt_internal.h index e108d02cc03..9f97fca7e3d 100644 --- a/subsys/bluetooth/host/gatt_internal.h +++ b/subsys/bluetooth/host/gatt_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ void bt_gatt_connected(struct bt_conn *conn); diff --git a/subsys/bluetooth/host/hci_core.c b/subsys/bluetooth/host/hci_core.c index 6bca2550a1b..7ce14995119 100644 --- a/subsys/bluetooth/host/hci_core.c +++ b/subsys/bluetooth/host/hci_core.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/hci_core.h b/subsys/bluetooth/host/hci_core.h index 66335938b91..6ab33c8e9fc 100644 --- a/subsys/bluetooth/host/hci_core.h +++ b/subsys/bluetooth/host/hci_core.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 */ /* LL connection parameters */ diff --git a/subsys/bluetooth/host/hci_ecc.c b/subsys/bluetooth/host/hci_ecc.c index 96807f2e7f1..4cf3c116e8d 100644 --- a/subsys/bluetooth/host/hci_ecc.c +++ b/subsys/bluetooth/host/hci_ecc.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/hci_ecc.h b/subsys/bluetooth/host/hci_ecc.h index ab62fb2a354..fd7bcf6777b 100644 --- a/subsys/bluetooth/host/hci_ecc.h +++ b/subsys/bluetooth/host/hci_ecc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_BLUETOOTH_TINYCRYPT_ECC) diff --git a/subsys/bluetooth/host/hci_raw.c b/subsys/bluetooth/host/hci_raw.c index 77ff0d6fe12..db35f80a5cc 100644 --- a/subsys/bluetooth/host/hci_raw.c +++ b/subsys/bluetooth/host/hci_raw.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/hci_raw_internal.h b/subsys/bluetooth/host/hci_raw_internal.h index 270b0d23436..5355d0db3b7 100644 --- a/subsys/bluetooth/host/hci_raw_internal.h +++ b/subsys/bluetooth/host/hci_raw_internal.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __BT_HCI_RAW_INTERNAL_H #define __BT_HCI_RAW_INTERNAL_H diff --git a/subsys/bluetooth/host/hfp_hf.c b/subsys/bluetooth/host/hfp_hf.c index 34fdc7facbb..d2b0cbc45bc 100644 --- a/subsys/bluetooth/host/hfp_hf.c +++ b/subsys/bluetooth/host/hfp_hf.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 #include diff --git a/subsys/bluetooth/host/hfp_internal.h b/subsys/bluetooth/host/hfp_internal.h index 1f911e3f115..e0f22177635 100644 --- a/subsys/bluetooth/host/hfp_internal.h +++ b/subsys/bluetooth/host/hfp_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 */ #define BLUETOOTH_HFP_MAX_MTU 140 diff --git a/subsys/bluetooth/host/keys.c b/subsys/bluetooth/host/keys.c index 5efb20e24fa..bc681611398 100644 --- a/subsys/bluetooth/host/keys.c +++ b/subsys/bluetooth/host/keys.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/keys.h b/subsys/bluetooth/host/keys.h index 6e53a16cded..6a7e72df1a5 100644 --- a/subsys/bluetooth/host/keys.h +++ b/subsys/bluetooth/host/keys.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 */ enum { diff --git a/subsys/bluetooth/host/keys_br.c b/subsys/bluetooth/host/keys_br.c index 1740795c972..b096666bf19 100644 --- a/subsys/bluetooth/host/keys_br.c +++ b/subsys/bluetooth/host/keys_br.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/l2cap.c b/subsys/bluetooth/host/l2cap.c index ef2b42bf177..42566da4ff3 100644 --- a/subsys/bluetooth/host/l2cap.c +++ b/subsys/bluetooth/host/l2cap.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/l2cap_br.c b/subsys/bluetooth/host/l2cap_br.c index bb372dcd179..6529998bd14 100644 --- a/subsys/bluetooth/host/l2cap_br.c +++ b/subsys/bluetooth/host/l2cap_br.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/l2cap_internal.h b/subsys/bluetooth/host/l2cap_internal.h index 5e43c23ee96..a0bd4fcef3c 100644 --- a/subsys/bluetooth/host/l2cap_internal.h +++ b/subsys/bluetooth/host/l2cap_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/log.c b/subsys/bluetooth/host/log.c index 98d675ccab5..db3a50e552e 100644 --- a/subsys/bluetooth/host/log.c +++ b/subsys/bluetooth/host/log.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ /* Helper for printk parameters to convert from binary to hex. diff --git a/subsys/bluetooth/host/monitor.c b/subsys/bluetooth/host/monitor.c index 9cc2adf5cf9..e1e040b7038 100644 --- a/subsys/bluetooth/host/monitor.c +++ b/subsys/bluetooth/host/monitor.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/monitor.h b/subsys/bluetooth/host/monitor.h index 986845f1386..9faaee2d07d 100644 --- a/subsys/bluetooth/host/monitor.h +++ b/subsys/bluetooth/host/monitor.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_BLUETOOTH_DEBUG_MONITOR) diff --git a/subsys/bluetooth/host/rfcomm.c b/subsys/bluetooth/host/rfcomm.c index d179225c607..a4f078128c0 100644 --- a/subsys/bluetooth/host/rfcomm.c +++ b/subsys/bluetooth/host/rfcomm.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/rfcomm_internal.h b/subsys/bluetooth/host/rfcomm_internal.h index 762e8e8370e..850453040ba 100644 --- a/subsys/bluetooth/host/rfcomm_internal.h +++ b/subsys/bluetooth/host/rfcomm_internal.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/sdp.c b/subsys/bluetooth/host/sdp.c index d103c6aa50e..2d186b7d3ad 100644 --- a/subsys/bluetooth/host/sdp.c +++ b/subsys/bluetooth/host/sdp.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/sdp_internal.h b/subsys/bluetooth/host/sdp_internal.h index f6356838c6e..ba7159d7768 100644 --- a/subsys/bluetooth/host/sdp_internal.h +++ b/subsys/bluetooth/host/sdp_internal.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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/subsys/bluetooth/host/smp.c b/subsys/bluetooth/host/smp.c index 3ff57e1148d..3c4df1a72d0 100644 --- a/subsys/bluetooth/host/smp.c +++ b/subsys/bluetooth/host/smp.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/smp.h b/subsys/bluetooth/host/smp.h index 0600f783abc..a4fe98f98fb 100644 --- a/subsys/bluetooth/host/smp.h +++ b/subsys/bluetooth/host/smp.h @@ -6,17 +6,7 @@ /* * Copyright (c) 2015-2016 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 */ struct bt_smp_hdr { diff --git a/subsys/bluetooth/host/smp_null.c b/subsys/bluetooth/host/smp_null.c index 44373b7314b..fdce300168a 100644 --- a/subsys/bluetooth/host/smp_null.c +++ b/subsys/bluetooth/host/smp_null.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/bluetooth/host/storage.c b/subsys/bluetooth/host/storage.c index e7bd7449030..89224cab9e0 100644 --- a/subsys/bluetooth/host/storage.c +++ b/subsys/bluetooth/host/storage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/bluetooth/host/uuid.c b/subsys/bluetooth/host/uuid.c index 17a6aa8a6ad..52e12b987d2 100644 --- a/subsys/bluetooth/host/uuid.c +++ b/subsys/bluetooth/host/uuid.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index 675a5b1176b..97b42f808f0 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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/subsys/debug/gdb_server.c b/subsys/debug/gdb_server.c index 363d1776b91..90af4e49c0b 100644 --- a/subsys/debug/gdb_server.c +++ b/subsys/debug/gdb_server.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/subsys/debug/mem_safe_check_boundaries.c b/subsys/debug/mem_safe_check_boundaries.c index d253ddf9d16..f9243c3b56b 100644 --- a/subsys/debug/mem_safe_check_boundaries.c +++ b/subsys/debug/mem_safe_check_boundaries.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/subsys/disk/Kconfig b/subsys/disk/Kconfig index e270379f100..f7cca762d6b 100644 --- a/subsys/disk/Kconfig +++ b/subsys/disk/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "Disk" diff --git a/subsys/disk/disk_access_flash.c b/subsys/disk/disk_access_flash.c index 01471cdc93c..0c1912a1002 100644 --- a/subsys/disk/disk_access_flash.c +++ b/subsys/disk/disk_access_flash.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/disk/disk_access_ram.c b/subsys/disk/disk_access_ram.c index fac42b988b6..ceb5af3997d 100644 --- a/subsys/disk/disk_access_ram.c +++ b/subsys/disk/disk_access_ram.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/fs/Kconfig b/subsys/fs/Kconfig index c41383e28e2..d700281f542 100644 --- a/subsys/fs/Kconfig +++ b/subsys/fs/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "File System" diff --git a/subsys/fs/fat_fs.c b/subsys/fs/fat_fs.c index 116ff3e1141..4a63b3a0b4b 100644 --- a/subsys/fs/fat_fs.c +++ b/subsys/fs/fat_fs.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/fs/shell.c b/subsys/fs/shell.c index cac76c276bb..dbcaf59a14c 100644 --- a/subsys/fs/shell.c +++ b/subsys/fs/shell.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/logging/Kconfig b/subsys/logging/Kconfig index 38dbd8b00e2..7f8a7ede447 100644 --- a/subsys/logging/Kconfig +++ b/subsys/logging/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "Logging Options" diff --git a/subsys/logging/event_logger.c b/subsys/logging/event_logger.c index 3af5c58f735..9f11df9f66d 100644 --- a/subsys/logging/event_logger.c +++ b/subsys/logging/event_logger.c @@ -1,17 +1,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/subsys/logging/kernel_event_logger.c b/subsys/logging/kernel_event_logger.c index 77216a15ef9..805be2085e0 100644 --- a/subsys/logging/kernel_event_logger.c +++ b/subsys/logging/kernel_event_logger.c @@ -1,17 +1,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/subsys/logging/sys_log.c b/subsys/logging/sys_log.c index 7a1c6cad13e..dcbc63f2149 100644 --- a/subsys/logging/sys_log.c +++ b/subsys/logging/sys_log.c @@ -1,18 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/Kconfig b/subsys/net/Kconfig index 720655cbb75..f86cceaa1d7 100644 --- a/subsys/net/Kconfig +++ b/subsys/net/Kconfig @@ -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 # menu "Networking" diff --git a/subsys/net/buf.c b/subsys/net/buf.c index fc2986f3b13..ff33161d4b6 100644 --- a/subsys/net/buf.c +++ b/subsys/net/buf.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 diff --git a/subsys/net/ip/6lo.c b/subsys/net/ip/6lo.c index 9c93660df48..09c7ef77124 100644 --- a/subsys/net/ip/6lo.c +++ b/subsys/net/ip/6lo.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_6LO) diff --git a/subsys/net/ip/6lo.h b/subsys/net/ip/6lo.h index e8ed932723e..e521ea7d96d 100644 --- a/subsys/net/ip/6lo.h +++ b/subsys/net/ip/6lo.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_6LO_H diff --git a/subsys/net/ip/6lo_private.h b/subsys/net/ip/6lo_private.h index 93d4123b64f..982392ab8ca 100644 --- a/subsys/net/ip/6lo_private.h +++ b/subsys/net/ip/6lo_private.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/ip/Kconfig b/subsys/net/ip/Kconfig index 22800685268..cf2ac360b46 100644 --- a/subsys/net/ip/Kconfig +++ b/subsys/net/ip/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menu "IP stack" diff --git a/subsys/net/ip/Kconfig.debug b/subsys/net/ip/Kconfig.debug index 8c22e6700b4..3e25c6e3d35 100644 --- a/subsys/net/ip/Kconfig.debug +++ b/subsys/net/ip/Kconfig.debug @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_LOG diff --git a/subsys/net/ip/Kconfig.ipv4 b/subsys/net/ip/Kconfig.ipv4 index 7b9d0effab1..76c1c49e19c 100644 --- a/subsys/net/ip/Kconfig.ipv4 +++ b/subsys/net/ip/Kconfig.ipv4 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_IPV4 diff --git a/subsys/net/ip/Kconfig.ipv6 b/subsys/net/ip/Kconfig.ipv6 index c5fe42f99ef..945b2d526ab 100644 --- a/subsys/net/ip/Kconfig.ipv6 +++ b/subsys/net/ip/Kconfig.ipv6 @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_IPV6 diff --git a/subsys/net/ip/Kconfig.mgmt b/subsys/net/ip/Kconfig.mgmt index 6308a8526b8..2d36dedfe60 100644 --- a/subsys/net/ip/Kconfig.mgmt +++ b/subsys/net/ip/Kconfig.mgmt @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_MGMT diff --git a/subsys/net/ip/Kconfig.rpl b/subsys/net/ip/Kconfig.rpl index 96a085ed7c9..d6cd35f9fb9 100644 --- a/subsys/net/ip/Kconfig.rpl +++ b/subsys/net/ip/Kconfig.rpl @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_RPL diff --git a/subsys/net/ip/Kconfig.samples b/subsys/net/ip/Kconfig.samples index 6ab42f42e8c..dd6201a1ff1 100644 --- a/subsys/net/ip/Kconfig.samples +++ b/subsys/net/ip/Kconfig.samples @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_SAMPLES_IP_ADDRESSES diff --git a/subsys/net/ip/Kconfig.stack b/subsys/net/ip/Kconfig.stack index 2440e2289e0..36ff33ada85 100644 --- a/subsys/net/ip/Kconfig.stack +++ b/subsys/net/ip/Kconfig.stack @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menu "Stack usage" diff --git a/subsys/net/ip/Kconfig.stats b/subsys/net/ip/Kconfig.stats index 2adfcbb50a6..21a62253612 100644 --- a/subsys/net/ip/Kconfig.stats +++ b/subsys/net/ip/Kconfig.stats @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_STATISTICS diff --git a/subsys/net/ip/connection.c b/subsys/net/ip/connection.c index 4064a2ef73c..59d3f8f1b9e 100644 --- a/subsys/net/ip/connection.c +++ b/subsys/net/ip/connection.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_CONN) diff --git a/subsys/net/ip/connection.h b/subsys/net/ip/connection.h index 0a69e0017ed..c37b205e7a6 100644 --- a/subsys/net/ip/connection.h +++ b/subsys/net/ip/connection.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __CONNECTION_H diff --git a/subsys/net/ip/dhcpv4.c b/subsys/net/ip/dhcpv4.c index 379d1884161..8290ac0d2ee 100644 --- a/subsys/net/ip/dhcpv4.c +++ b/subsys/net/ip/dhcpv4.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_DHCPV4) diff --git a/subsys/net/ip/icmpv4.c b/subsys/net/ip/icmpv4.c index 1fc55709dd1..c5cceda8a34 100644 --- a/subsys/net/ip/icmpv4.c +++ b/subsys/net/ip/icmpv4.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_ICMPV4) diff --git a/subsys/net/ip/icmpv4.h b/subsys/net/ip/icmpv4.h index 2a85196edb1..5874227467d 100644 --- a/subsys/net/ip/icmpv4.h +++ b/subsys/net/ip/icmpv4.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ICMPV4_H diff --git a/subsys/net/ip/icmpv6.c b/subsys/net/ip/icmpv6.c index eed3929fb51..4f677b0e5bc 100644 --- a/subsys/net/ip/icmpv6.c +++ b/subsys/net/ip/icmpv6.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_ICMPV6) diff --git a/subsys/net/ip/icmpv6.h b/subsys/net/ip/icmpv6.h index 22e29b927f9..cfb1b4cc03b 100644 --- a/subsys/net/ip/icmpv6.h +++ b/subsys/net/ip/icmpv6.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ICMPV6_H diff --git a/subsys/net/ip/ipv4.c b/subsys/net/ip/ipv4.c index 69251078ec8..07710cdc344 100644 --- a/subsys/net/ip/ipv4.c +++ b/subsys/net/ip/ipv4.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_IPV4) diff --git a/subsys/net/ip/ipv4.h b/subsys/net/ip/ipv4.h index 6d2de3d6414..99523303910 100644 --- a/subsys/net/ip/ipv4.h +++ b/subsys/net/ip/ipv4.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IPV4_H diff --git a/subsys/net/ip/ipv6.c b/subsys/net/ip/ipv6.c index 3404e56d07b..16ea9a0919f 100644 --- a/subsys/net/ip/ipv6.c +++ b/subsys/net/ip/ipv6.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_IPV6) diff --git a/subsys/net/ip/ipv6.h b/subsys/net/ip/ipv6.h index a4caf6338b3..6d580bc3661 100644 --- a/subsys/net/ip/ipv6.h +++ b/subsys/net/ip/ipv6.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IPV6_H diff --git a/subsys/net/ip/l2/Kconfig b/subsys/net/ip/l2/Kconfig index 23bd3ec722d..e1486c116c9 100644 --- a/subsys/net/ip/l2/Kconfig +++ b/subsys/net/ip/l2/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "Link layer options" diff --git a/subsys/net/ip/l2/arp.c b/subsys/net/ip/l2/arp.c index 30e8f865d8c..1d807e70840 100644 --- a/subsys/net/ip/l2/arp.c +++ b/subsys/net/ip/l2/arp.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_ARP) diff --git a/subsys/net/ip/l2/bluetooth.c b/subsys/net/ip/l2/bluetooth.c index 95c62716139..47b9919a40c 100644 --- a/subsys/net/ip/l2/bluetooth.c +++ b/subsys/net/ip/l2/bluetooth.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_BLUETOOTH) diff --git a/subsys/net/ip/l2/bluetooth_shell.c b/subsys/net/ip/l2/bluetooth_shell.c index 4f51e6c6a83..df9debf4934 100644 --- a/subsys/net/ip/l2/bluetooth_shell.c +++ b/subsys/net/ip/l2/bluetooth_shell.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 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 diff --git a/subsys/net/ip/l2/dummy.c b/subsys/net/ip/l2/dummy.c index 0a7991511b0..32e7beac281 100644 --- a/subsys/net/ip/l2/dummy.c +++ b/subsys/net/ip/l2/dummy.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/ip/l2/ethernet.c b/subsys/net/ip/l2/ethernet.c index 8036a4ae6c8..d6acd0c79bc 100644 --- a/subsys/net/ip/l2/ethernet.c +++ b/subsys/net/ip/l2/ethernet.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_ETHERNET) diff --git a/subsys/net/ip/l2/ieee802154/Kconfig b/subsys/net/ip/l2/ieee802154/Kconfig index 6f01ece2248..9e130e7d8d0 100644 --- a/subsys/net/ip/l2/ieee802154/Kconfig +++ b/subsys/net/ip/l2/ieee802154/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menuconfig NET_L2_IEEE802154 diff --git a/subsys/net/ip/l2/ieee802154/Kconfig.radio b/subsys/net/ip/l2/ieee802154/Kconfig.radio index 280d1203730..07baffcef3c 100644 --- a/subsys/net/ip/l2/ieee802154/Kconfig.radio +++ b/subsys/net/ip/l2/ieee802154/Kconfig.radio @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "IEEE 802.15.4 Radio protocol" diff --git a/subsys/net/ip/l2/ieee802154/ieee802154.c b/subsys/net/ip/l2/ieee802154/ieee802154.c index 20d53c7f6f2..f8277b45a6a 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_fragment.c b/subsys/net/ip/l2/ieee802154/ieee802154_fragment.c index bdd9db22dec..5dc70025892 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_fragment.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_fragment.c @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154_FRAGMENT) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_fragment.h b/subsys/net/ip/l2/ieee802154/ieee802154_fragment.h index 9d3599cae46..92517d71211 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_fragment.h +++ b/subsys/net/ip/l2/ieee802154/ieee802154_fragment.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_IEEE802154_FRAGMENT_H__ diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_frame.c b/subsys/net/ip/l2/ieee802154/ieee802154_frame.c index 1e6ce92545e..6df7a002472 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_frame.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_frame.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_frame.h b/subsys/net/ip/l2/ieee802154/ieee802154_frame.h index 599a780339f..28e092ad0e6 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_frame.h +++ b/subsys/net/ip/l2/ieee802154/ieee802154_frame.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c b/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c index eb4c90d8705..39480a49e4c 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h b/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h index 4ed5dc8a17a..f1ecf5c21c1 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h +++ b/subsys/net/ip/l2/ieee802154/ieee802154_mgmt.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/subsys/net/ip/l2/ieee802154/ieee802154_radio_aloha.c b/subsys/net/ip/l2/ieee802154/ieee802154_radio_aloha.c index ccec2a52a48..21125bf3742 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_radio_aloha.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_radio_aloha.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_radio_csma_ca.c b/subsys/net/ip/l2/ieee802154/ieee802154_radio_csma_ca.c index dadc84e7cd5..f87264d74a5 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_radio_csma_ca.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_radio_csma_ca.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_L2_IEEE802154) diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_radio_utils.h b/subsys/net/ip/l2/ieee802154/ieee802154_radio_utils.h index b044643f10a..766e999d50e 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_radio_utils.h +++ b/subsys/net/ip/l2/ieee802154/ieee802154_radio_utils.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __IEEE802154_RADIO_UTILS_H__ diff --git a/subsys/net/ip/l2/ieee802154/ieee802154_shell.c b/subsys/net/ip/l2/ieee802154/ieee802154_shell.c index 4f2f8d1fd6a..d96885b2e5e 100644 --- a/subsys/net/ip/l2/ieee802154/ieee802154_shell.c +++ b/subsys/net/ip/l2/ieee802154/ieee802154_shell.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2017 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 */ /** @file diff --git a/subsys/net/ip/nbr.c b/subsys/net/ip/nbr.c index c7f96aa08db..2f021bcdddf 100644 --- a/subsys/net/ip/nbr.c +++ b/subsys/net/ip/nbr.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_IPV6_NBR_CACHE) diff --git a/subsys/net/ip/nbr.h b/subsys/net/ip/nbr.h index 7afee36555f..09570219d46 100644 --- a/subsys/net/ip/nbr.h +++ b/subsys/net/ip/nbr.h @@ -5,17 +5,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_NBR_H #define __NET_NBR_H diff --git a/subsys/net/ip/nbuf.c b/subsys/net/ip/nbuf.c index bcce325fd5e..9d27afa5d87 100644 --- a/subsys/net/ip/nbuf.c +++ b/subsys/net/ip/nbuf.c @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_NET_BUF) diff --git a/subsys/net/ip/net_context.c b/subsys/net/ip/net_context.c index 5d27299c55c..20a928b1f83 100644 --- a/subsys/net/ip/net_context.c +++ b/subsys/net/ip/net_context.c @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_CONTEXT) diff --git a/subsys/net/ip/net_core.c b/subsys/net/ip/net_core.c index 8025d4b7797..b35b0f70a3c 100644 --- a/subsys/net/ip/net_core.c +++ b/subsys/net/ip/net_core.c @@ -8,17 +8,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_CORE) diff --git a/subsys/net/ip/net_if.c b/subsys/net/ip/net_if.c index c47341bdb0b..71c90a77193 100644 --- a/subsys/net/ip/net_if.c +++ b/subsys/net/ip/net_if.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_IF) diff --git a/subsys/net/ip/net_mgmt.c b/subsys/net/ip/net_mgmt.c index 4cd77313cf4..5e994fda1e2 100644 --- a/subsys/net/ip/net_mgmt.c +++ b/subsys/net/ip/net_mgmt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_MGMT_EVENT) diff --git a/subsys/net/ip/net_private.h b/subsys/net/ip/net_private.h index b6de8a46a9d..0960dcf0cdf 100644 --- a/subsys/net/ip/net_private.h +++ b/subsys/net/ip/net_private.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/ip/net_shell.c b/subsys/net/ip/net_shell.c index 4dfab291dce..3364a1b7b43 100644 --- a/subsys/net/ip/net_shell.c +++ b/subsys/net/ip/net_shell.c @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/ip/net_shell.h b/subsys/net/ip/net_shell.h index 832fd4b7ab6..a08df234e15 100644 --- a/subsys/net/ip/net_shell.h +++ b/subsys/net/ip/net_shell.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_SHELL_H diff --git a/subsys/net/ip/net_stats.c b/subsys/net/ip/net_stats.c index 54ecdc90567..96add1513fa 100644 --- a/subsys/net/ip/net_stats.c +++ b/subsys/net/ip/net_stats.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_STATISTICS_PERIODIC_OUTPUT) diff --git a/subsys/net/ip/net_stats.h b/subsys/net/ip/net_stats.h index 37bf9592074..8d474fd24af 100644 --- a/subsys/net/ip/net_stats.h +++ b/subsys/net/ip/net_stats.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __NET_STATS_H__ diff --git a/subsys/net/ip/route.c b/subsys/net/ip/route.c index 979922f32d5..356dc620c1d 100644 --- a/subsys/net/ip/route.c +++ b/subsys/net/ip/route.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_ROUTE) diff --git a/subsys/net/ip/route.h b/subsys/net/ip/route.h index 40721e6482b..c9a6d3f814d 100644 --- a/subsys/net/ip/route.h +++ b/subsys/net/ip/route.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __ROUTE_H diff --git a/subsys/net/ip/rpl-mrhof.c b/subsys/net/ip/rpl-mrhof.c index 2836ffd292b..453f22693a3 100644 --- a/subsys/net/ip/rpl-mrhof.c +++ b/subsys/net/ip/rpl-mrhof.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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/subsys/net/ip/rpl-of0.c b/subsys/net/ip/rpl-of0.c index bfadbb525fb..d0503bd1fcc 100644 --- a/subsys/net/ip/rpl-of0.c +++ b/subsys/net/ip/rpl-of0.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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/subsys/net/ip/rpl.c b/subsys/net/ip/rpl.c index c1ea8fae715..5ac6a378ff2 100644 --- a/subsys/net/ip/rpl.c +++ b/subsys/net/ip/rpl.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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/subsys/net/ip/rpl.h b/subsys/net/ip/rpl.h index 4da5ae3e2bc..7555e18ba3d 100644 --- a/subsys/net/ip/rpl.h +++ b/subsys/net/ip/rpl.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __RPL_H diff --git a/subsys/net/ip/tcp.c b/subsys/net/ip/tcp.c index 7c1159a7b7d..4cf62cd8d15 100644 --- a/subsys/net/ip/tcp.c +++ b/subsys/net/ip/tcp.c @@ -10,17 +10,7 @@ * Copyright 2008-2010 by Andrey Butok. Freescale Semiconductor, Inc. * Copyright 2003 by Alexey Shervashidze, Andrey Butok. Motorola SPS. * - * 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 defined(CONFIG_NET_DEBUG_TCP) diff --git a/subsys/net/ip/tcp.h b/subsys/net/ip/tcp.h index d9b01553857..44aa0449727 100644 --- a/subsys/net/ip/tcp.h +++ b/subsys/net/ip/tcp.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __TCP_H diff --git a/subsys/net/ip/trickle.c b/subsys/net/ip/trickle.c index e6fe65f90fc..943e3f7e35e 100644 --- a/subsys/net/ip/trickle.c +++ b/subsys/net/ip/trickle.c @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_TRICKLE) diff --git a/subsys/net/ip/udp.h b/subsys/net/ip/udp.h index 0c17fea4da4..fb1efebf6c6 100644 --- a/subsys/net/ip/udp.h +++ b/subsys/net/ip/udp.h @@ -7,17 +7,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __UDP_H diff --git a/subsys/net/ip/utils.c b/subsys/net/ip/utils.c index 6c0ba22315c..e6a783a910c 100644 --- a/subsys/net/ip/utils.c +++ b/subsys/net/ip/utils.c @@ -6,17 +6,7 @@ /* * Copyright (c) 2016 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 */ #if defined(CONFIG_NET_DEBUG_UTILS) diff --git a/subsys/net/lib/Kconfig b/subsys/net/lib/Kconfig index b6858dcc60a..c3ea03d615c 100644 --- a/subsys/net/lib/Kconfig +++ b/subsys/net/lib/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu "Network Protocols" diff --git a/subsys/net/lib/dns/Kconfig b/subsys/net/lib/dns/Kconfig index 02ca505b12f..1589801510d 100644 --- a/subsys/net/lib/dns/Kconfig +++ b/subsys/net/lib/dns/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # config DNS_RESOLVER diff --git a/subsys/net/lib/dns/dns_client.c b/subsys/net/lib/dns/dns_client.c index 3abd0e3e12e..85430297b20 100644 --- a/subsys/net/lib/dns/dns_client.c +++ b/subsys/net/lib/dns/dns_client.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/lib/dns/dns_pack.c b/subsys/net/lib/dns/dns_pack.c index 95246610f80..aad36ac6cc3 100644 --- a/subsys/net/lib/dns/dns_pack.c +++ b/subsys/net/lib/dns/dns_pack.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 "dns_pack.h" diff --git a/subsys/net/lib/dns/dns_pack.h b/subsys/net/lib/dns/dns_pack.h index 93a06943e9b..dee7676788d 100644 --- a/subsys/net/lib/dns/dns_pack.h +++ b/subsys/net/lib/dns/dns_pack.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef _DNS_PACK_H_ diff --git a/subsys/net/lib/http/Kconfig b/subsys/net/lib/http/Kconfig index 98fe3324589..b32482d98bc 100644 --- a/subsys/net/lib/http/Kconfig +++ b/subsys/net/lib/http/Kconfig @@ -1,16 +1,6 @@ # Copyright (c) 2016 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 # config HTTP_PARSER diff --git a/subsys/net/lib/mqtt/Kconfig b/subsys/net/lib/mqtt/Kconfig index 5c9107b8606..a22f03fcb9f 100644 --- a/subsys/net/lib/mqtt/Kconfig +++ b/subsys/net/lib/mqtt/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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 # config MQTT_LIB diff --git a/subsys/net/lib/mqtt/mqtt.c b/subsys/net/lib/mqtt/mqtt.c index fc975ca180f..47d1761520a 100644 --- a/subsys/net/lib/mqtt/mqtt.c +++ b/subsys/net/lib/mqtt/mqtt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/lib/mqtt/mqtt_pkt.c b/subsys/net/lib/mqtt/mqtt_pkt.c index 3d50581111d..cd3c2b13adc 100644 --- a/subsys/net/lib/mqtt/mqtt_pkt.c +++ b/subsys/net/lib/mqtt/mqtt_pkt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/subsys/net/lib/mqtt/mqtt_pkt.h b/subsys/net/lib/mqtt/mqtt_pkt.h index 5fe5b202825..db9721a3274 100644 --- a/subsys/net/lib/mqtt/mqtt_pkt.h +++ b/subsys/net/lib/mqtt/mqtt_pkt.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/subsys/net/lib/zoap/Kconfig b/subsys/net/lib/zoap/Kconfig index 808917eccf7..ae2d080c900 100644 --- a/subsys/net/lib/zoap/Kconfig +++ b/subsys/net/lib/zoap/Kconfig @@ -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 # config ZOAP diff --git a/subsys/net/lib/zoap/zoap.c b/subsys/net/lib/zoap/zoap.c index a9443661fdf..ecb56b932a5 100644 --- a/subsys/net/lib/zoap/zoap.c +++ b/subsys/net/lib/zoap/zoap.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/net/lib/zoap/zoap_link_format.c b/subsys/net/lib/zoap/zoap_link_format.c index 37b3a27f993..db896111ff2 100644 --- a/subsys/net/lib/zoap/zoap_link_format.c +++ b/subsys/net/lib/zoap/zoap_link_format.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/shell/Kconfig b/subsys/shell/Kconfig index fbad91d762e..4b599179b5a 100644 --- a/subsys/shell/Kconfig +++ b/subsys/shell/Kconfig @@ -4,17 +4,7 @@ # Copyright (c) 2014-2015 Wind River Systems, Inc. # Copyright (c) 2016 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/subsys/shell/modules/Kconfig b/subsys/shell/modules/Kconfig index 00f428e7a9b..5a8b636aec3 100644 --- a/subsys/shell/modules/Kconfig +++ b/subsys/shell/modules/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 2016 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/subsys/shell/modules/kernel_service.c b/subsys/shell/modules/kernel_service.c index 4bb415f41a6..9685146751d 100644 --- a/subsys/shell/modules/kernel_service.c +++ b/subsys/shell/modules/kernel_service.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/subsys/shell/shell.c b/subsys/shell/shell.c index 1262e597a17..84c25de1dd0 100644 --- a/subsys/shell/shell.c +++ b/subsys/shell/shell.c @@ -1,17 +1,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/subsys/shell/shell_service.c b/subsys/shell/shell_service.c index c2ad2655895..be5f3c6b1ec 100644 --- a/subsys/shell/shell_service.c +++ b/subsys/shell/shell_service.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/subsys/usb/Kconfig b/subsys/usb/Kconfig index 66504a55f1f..43565cb1e80 100644 --- a/subsys/usb/Kconfig +++ b/subsys/usb/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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 # menuconfig USB_DEVICE_STACK diff --git a/subsys/usb/class/Kconfig b/subsys/usb/class/Kconfig index 2cca47f26e6..62c22d80da8 100644 --- a/subsys/usb/class/Kconfig +++ b/subsys/usb/class/Kconfig @@ -3,17 +3,7 @@ # # Copyright (c) 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 # if USB_DEVICE_STACK diff --git a/tests/Kconfig b/tests/Kconfig index 18336eb7e1d..4ac362705b7 100644 --- a/tests/Kconfig +++ b/tests/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # menu Testing diff --git a/tests/bluetooth/init/src/main.c b/tests/bluetooth/init/src/main.c index f189b776b34..2d7e3766cf1 100644 --- a/tests/bluetooth/init/src/main.c +++ b/tests/bluetooth/init/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/shell/Makefile b/tests/bluetooth/shell/Makefile index b15f9c53969..2045635f7b8 100644 --- a/tests/bluetooth/shell/Makefile +++ b/tests/bluetooth/shell/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # # DESCRIPTION diff --git a/tests/bluetooth/shell/src/main.c b/tests/bluetooth/shell/src/main.c index e2e505c0736..be8e60c5d9a 100644 --- a/tests/bluetooth/shell/src/main.c +++ b/tests/bluetooth/shell/src/main.c @@ -8,17 +8,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/test_bluetooth/src/bluetooth.c b/tests/bluetooth/test_bluetooth/src/bluetooth.c index 1199131affd..98eb49e29bb 100644 --- a/tests/bluetooth/test_bluetooth/src/bluetooth.c +++ b/tests/bluetooth/test_bluetooth/src/bluetooth.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/tester/Makefile b/tests/bluetooth/tester/Makefile index 42212c42b44..d52bbd8b617 100644 --- a/tests/bluetooth/tester/Makefile +++ b/tests/bluetooth/tester/Makefile @@ -3,17 +3,7 @@ # # Copyright (c) 2015-2016 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 # # DESCRIPTION diff --git a/tests/bluetooth/tester/src/bttester.c b/tests/bluetooth/tester/src/bttester.c index 62b518cc9b6..4eb36b29cfb 100644 --- a/tests/bluetooth/tester/src/bttester.c +++ b/tests/bluetooth/tester/src/bttester.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/tester/src/bttester.h b/tests/bluetooth/tester/src/bttester.h index 7c000b906a8..a75b2098085 100644 --- a/tests/bluetooth/tester/src/bttester.h +++ b/tests/bluetooth/tester/src/bttester.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/tester/src/gap.c b/tests/bluetooth/tester/src/gap.c index 41a9d604b31..4b935f0b870 100644 --- a/tests/bluetooth/tester/src/gap.c +++ b/tests/bluetooth/tester/src/gap.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/tester/src/gatt.c b/tests/bluetooth/tester/src/gatt.c index 29707a182c0..e4e3f351c12 100644 --- a/tests/bluetooth/tester/src/gatt.c +++ b/tests/bluetooth/tester/src/gatt.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/bluetooth/tester/src/l2cap.c b/tests/bluetooth/tester/src/l2cap.c index c4936c136da..51176c13ae9 100644 --- a/tests/bluetooth/tester/src/l2cap.c +++ b/tests/bluetooth/tester/src/l2cap.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/bluetooth/tester/src/main.c b/tests/bluetooth/tester/src/main.c index b2ba52380e1..5375be8a5c2 100644 --- a/tests/bluetooth/tester/src/main.c +++ b/tests/bluetooth/tester/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-2016 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 diff --git a/tests/booting/stub/src/main.c b/tests/booting/stub/src/main.c index 3c8522a3279..eaa2b743226 100644 --- a/tests/booting/stub/src/main.c +++ b/tests/booting/stub/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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 */ void main(void) diff --git a/tests/crypto/test_mbedtls/src/mbedtls_test.c b/tests/crypto/test_mbedtls/src/mbedtls_test.c index fe7ad6fc2f6..b96db460959 100644 --- a/tests/crypto/test_mbedtls/src/mbedtls_test.c +++ b/tests/crypto/test_mbedtls/src/mbedtls_test.c @@ -1,20 +1,9 @@ /* Self-test demonstration program * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved + * * SPDX-License-Identifier: Apache-2.0 * - * 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. - * * This file is part of mbed TLS (https://tls.mbed.org) */ diff --git a/tests/drivers/adc/src/main.c b/tests/drivers/adc/src/main.c index 551c1457987..bc25e8aaf87 100644 --- a/tests/drivers/adc/src/main.c +++ b/tests/drivers/adc/src/main.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 diff --git a/tests/drivers/aio/aio_basic_api/src/main.c b/tests/drivers/aio/aio_basic_api/src/main.c index 62fa57e2faf..e7efb0b7a1d 100644 --- a/tests/drivers/aio/aio_basic_api/src/main.c +++ b/tests/drivers/aio/aio_basic_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/aio/aio_basic_api/src/test_aio.h b/tests/drivers/aio/aio_basic_api/src/test_aio.h index 3b7d7e5e4b6..933641d604e 100644 --- a/tests/drivers/aio/aio_basic_api/src/test_aio.h +++ b/tests/drivers/aio/aio_basic_api/src/test_aio.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/aio/aio_basic_api/src/test_callback.c b/tests/drivers/aio/aio_basic_api/src/test_callback.c index 0af307f0bb2..f8f6adfc4fe 100644 --- a/tests/drivers/aio/aio_basic_api/src/test_callback.c +++ b/tests/drivers/aio/aio_basic_api/src/test_callback.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 "test_aio.h" diff --git a/tests/drivers/aon_counter/src/main.c b/tests/drivers/aon_counter/src/main.c index d6da483e87b..520605189a7 100644 --- a/tests/drivers/aon_counter/src/main.c +++ b/tests/drivers/aon_counter/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/drivers/build_all/src/main.c b/tests/drivers/build_all/src/main.c index c2f787ee6a1..c6d05b9836f 100644 --- a/tests/drivers/build_all/src/main.c +++ b/tests/drivers/build_all/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/drivers/dma/test_chan_blen_transfer/src/main.c b/tests/drivers/dma/test_chan_blen_transfer/src/main.c index 812f3f4a662..1874dbce816 100644 --- a/tests/drivers/dma/test_chan_blen_transfer/src/main.c +++ b/tests/drivers/dma/test_chan_blen_transfer/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/dma/test_chan_blen_transfer/src/test_dma.c b/tests/drivers/dma/test_chan_blen_transfer/src/test_dma.c index f75ca7bf395..c74caaf47aa 100644 --- a/tests/drivers/dma/test_chan_blen_transfer/src/test_dma.c +++ b/tests/drivers/dma/test_chan_blen_transfer/src/test_dma.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/dma/test_loop_transfer/src/dma.c b/tests/drivers/dma/test_loop_transfer/src/dma.c index 70d2aa0d0e8..3a032ab32a8 100644 --- a/tests/drivers/dma/test_loop_transfer/src/dma.c +++ b/tests/drivers/dma/test_loop_transfer/src/dma.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/drivers/enc28j60/src/main.c b/tests/drivers/enc28j60/src/main.c index c2f787ee6a1..c6d05b9836f 100644 --- a/tests/drivers/enc28j60/src/main.c +++ b/tests/drivers/enc28j60/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/drivers/gpio/gpio_basic_api/src/main.c b/tests/drivers/gpio/gpio_basic_api/src/main.c index 66029e3fd66..41e89561038 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/main.c +++ b/tests/drivers/gpio/gpio_basic_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c b/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c index 51ad85e1f6a..5fbec0ff3f1 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c +++ b/tests/drivers/gpio/gpio_basic_api/src/test_callback_manage.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/gpio/gpio_basic_api/src/test_callback_trigger.c b/tests/drivers/gpio/gpio_basic_api/src/test_callback_trigger.c index 79813af6a58..34afea42322 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/test_callback_trigger.c +++ b/tests/drivers/gpio/gpio_basic_api/src/test_callback_trigger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/gpio/gpio_basic_api/src/test_gpio.h b/tests/drivers/gpio/gpio_basic_api/src/test_gpio.h index 12d1d2d00e9..2b083d1672e 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/test_gpio.h +++ b/tests/drivers/gpio/gpio_basic_api/src/test_gpio.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __TEST_GPIO_H__ diff --git a/tests/drivers/gpio/gpio_basic_api/src/test_pin_rw.c b/tests/drivers/gpio/gpio_basic_api/src/test_pin_rw.c index c74a7fccf2c..85da6138507 100644 --- a/tests/drivers/gpio/gpio_basic_api/src/test_pin_rw.c +++ b/tests/drivers/gpio/gpio_basic_api/src/test_pin_rw.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/nsim_uart/src/main.c b/tests/drivers/nsim_uart/src/main.c index c2f787ee6a1..c6d05b9836f 100644 --- a/tests/drivers/nsim_uart/src/main.c +++ b/tests/drivers/nsim_uart/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/drivers/pci_enum/src/pci_enum.c b/tests/drivers/pci_enum/src/pci_enum.c index 0fa7eef230d..b6b0e374265 100644 --- a/tests/drivers/pci_enum/src/pci_enum.c +++ b/tests/drivers/pci_enum/src/pci_enum.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 #include diff --git a/tests/drivers/pinmux/src/main.c b/tests/drivers/pinmux/src/main.c index b7e013e7ada..04bd688f5f3 100644 --- a/tests/drivers/pinmux/src/main.c +++ b/tests/drivers/pinmux/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/drivers/pwm/pwm_api/src/main.c b/tests/drivers/pwm/pwm_api/src/main.c index 1a63ff1bc0d..94a8dd88556 100644 --- a/tests/drivers/pwm/pwm_api/src/main.c +++ b/tests/drivers/pwm/pwm_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/pwm/pwm_api/src/test_pwm.c b/tests/drivers/pwm/pwm_api/src/test_pwm.c index 43ead2e3c11..8881e047f89 100644 --- a/tests/drivers/pwm/pwm_api/src/test_pwm.c +++ b/tests/drivers/pwm/pwm_api/src/test_pwm.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/quark_clock/src/main.c b/tests/drivers/quark_clock/src/main.c index c2f787ee6a1..c6d05b9836f 100644 --- a/tests/drivers/quark_clock/src/main.c +++ b/tests/drivers/quark_clock/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/drivers/rtc/rtc_basic_api/src/main.c b/tests/drivers/rtc/rtc_basic_api/src/main.c index 1c6e5f5f52b..6e8b1b269ed 100644 --- a/tests/drivers/rtc/rtc_basic_api/src/main.c +++ b/tests/drivers/rtc/rtc_basic_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/rtc/rtc_basic_api/src/test_rtc.h b/tests/drivers/rtc/rtc_basic_api/src/test_rtc.h index 845dd3f810f..424d3c0fe25 100644 --- a/tests/drivers/rtc/rtc_basic_api/src/test_rtc.h +++ b/tests/drivers/rtc/rtc_basic_api/src/test_rtc.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c b/tests/drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c index 005def8a5f3..8c7b2e85930 100644 --- a/tests/drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c +++ b/tests/drivers/rtc/rtc_basic_api/src/test_rtc_alarm.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/rtc/rtc_basic_api/src/test_rtc_calendar.c b/tests/drivers/rtc/rtc_basic_api/src/test_rtc_calendar.c index ae731bdbaea..74af35fa5c5 100644 --- a/tests/drivers/rtc/rtc_basic_api/src/test_rtc_calendar.c +++ b/tests/drivers/rtc/rtc_basic_api/src/test_rtc_calendar.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/spi_test/src/spi.c b/tests/drivers/spi_test/src/spi.c index 7b8257b0808..2cd5aa89a73 100644 --- a/tests/drivers/spi_test/src/spi.c +++ b/tests/drivers/spi_test/src/spi.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 diff --git a/tests/drivers/uart/src/main.c b/tests/drivers/uart/src/main.c index 933ddfad47a..5470d49811c 100644 --- a/tests/drivers/uart/src/main.c +++ b/tests/drivers/uart/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/drivers/watchdog/wdt_basic_api/src/main.c b/tests/drivers/watchdog/wdt_basic_api/src/main.c index 0b42e551f9b..331170d5e84 100644 --- a/tests/drivers/watchdog/wdt_basic_api/src/main.c +++ b/tests/drivers/watchdog/wdt_basic_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/drivers/watchdog/wdt_basic_api/src/test_wdt_timeout.c b/tests/drivers/watchdog/wdt_basic_api/src/test_wdt_timeout.c index 59e6a775689..7940845e4b9 100644 --- a/tests/drivers/watchdog/wdt_basic_api/src/test_wdt_timeout.c +++ b/tests/drivers/watchdog/wdt_basic_api/src/test_wdt_timeout.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/fs/fat_fs/src/main.c b/tests/fs/fat_fs/src/main.c index 6e3175b370f..3f961b1d119 100644 --- a/tests/fs/fat_fs/src/main.c +++ b/tests/fs/fat_fs/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/include/tc_nano_timeout_common.h b/tests/include/tc_nano_timeout_common.h index 60c35731dae..606f80d7fee 100644 --- a/tests/include/tc_nano_timeout_common.h +++ b/tests/include/tc_nano_timeout_common.h @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #ifndef _samples_include_tc_nano_timeout_common__h_ diff --git a/tests/include/tc_util.h b/tests/include/tc_util.h index f668759ad46..3c89eb406e3 100644 --- a/tests/include/tc_util.h +++ b/tests/include/tc_util.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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 */ #ifndef __TC_UTIL_H__ diff --git a/tests/include/util_test_common.h b/tests/include/util_test_common.h index 2b3daf8cc07..3a1a98b5015 100644 --- a/tests/include/util_test_common.h +++ b/tests/include/util_test_common.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/kernel/alert/test_alert_api/src/main.c b/tests/kernel/alert/test_alert_api/src/main.c index cfaa501a28b..830484d5777 100644 --- a/tests/kernel/alert/test_alert_api/src/main.c +++ b/tests/kernel/alert/test_alert_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/alert/test_alert_api/src/test_alert_contexts.c b/tests/kernel/alert/test_alert_api/src/test_alert_contexts.c index 6d5da5c3b37..8dccf501f59 100644 --- a/tests/kernel/alert/test_alert_api/src/test_alert_contexts.c +++ b/tests/kernel/alert/test_alert_api/src/test_alert_contexts.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/arm_irq_vector_table/src/main.c b/tests/kernel/arm_irq_vector_table/src/main.c index a8d8a4f6c63..2b801f281b4 100644 --- a/tests/kernel/arm_irq_vector_table/src/main.c +++ b/tests/kernel/arm_irq_vector_table/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2014 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/tests/kernel/arm_runtime_nmi/src/main.c b/tests/kernel/arm_runtime_nmi/src/main.c index e09c87cb525..c4fefdeb775 100644 --- a/tests/kernel/arm_runtime_nmi/src/main.c +++ b/tests/kernel/arm_runtime_nmi/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Limited * - * 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/tests/kernel/bitfield/src/bitfield.c b/tests/kernel/bitfield/src/bitfield.c index 39a117c3e48..de9712ede3d 100644 --- a/tests/kernel/bitfield/src/bitfield.c +++ b/tests/kernel/bitfield/src/bitfield.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/common/src/atomic.c b/tests/kernel/common/src/atomic.c index de7f9fae78c..6a6a95831ad 100644 --- a/tests/kernel/common/src/atomic.c +++ b/tests/kernel/common/src/atomic.c @@ -1,17 +1,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 diff --git a/tests/kernel/common/src/bitfield.c b/tests/kernel/common/src/bitfield.c index be46b6c5428..d2cdf6f60c2 100644 --- a/tests/kernel/common/src/bitfield.c +++ b/tests/kernel/common/src/bitfield.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/common/src/byteorder.c b/tests/kernel/common/src/byteorder.c index 22d17f6bdff..476f499e967 100644 --- a/tests/kernel/common/src/byteorder.c +++ b/tests/kernel/common/src/byteorder.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/common/src/intmath.c b/tests/kernel/common/src/intmath.c index 05e2b4a0838..a56480d2f34 100644 --- a/tests/kernel/common/src/intmath.c +++ b/tests/kernel/common/src/intmath.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #include diff --git a/tests/kernel/common/src/main.c b/tests/kernel/common/src/main.c index 250144fc69e..af3ac0ad233 100644 --- a/tests/kernel/common/src/main.c +++ b/tests/kernel/common/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/common/src/printk.c b/tests/kernel/common/src/printk.c index bad44220fff..b28177c9d00 100644 --- a/tests/kernel/common/src/printk.c +++ b/tests/kernel/common/src/printk.c @@ -1,17 +1,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 diff --git a/tests/kernel/common/src/rand32.c b/tests/kernel/common/src/rand32.c index 6450ca0163b..42ed359643c 100644 --- a/tests/kernel/common/src/rand32.c +++ b/tests/kernel/common/src/rand32.c @@ -3,17 +3,7 @@ /* * Copyright (c) 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/tests/kernel/common/src/ring_buf.c b/tests/kernel/common/src/ring_buf.c index 4db96f32dbf..7e469b129d6 100644 --- a/tests/kernel/common/src/ring_buf.c +++ b/tests/kernel/common/src/ring_buf.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 diff --git a/tests/kernel/common/src/slist.c b/tests/kernel/common/src/slist.c index f64ba305736..aec5c69a0a9 100644 --- a/tests/kernel/common/src/slist.c +++ b/tests/kernel/common/src/slist.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/context/src/context.c b/tests/kernel/context/src/context.c index cd66490a704..cace82008f9 100644 --- a/tests/kernel/context/src/context.c +++ b/tests/kernel/context/src/context.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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/tests/kernel/critical/src/critical.c b/tests/kernel/critical/src/critical.c index 73698cb7b4d..88894464f19 100644 --- a/tests/kernel/critical/src/critical.c +++ b/tests/kernel/critical/src/critical.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/kernel/ipm/src/ipm_dummy.c b/tests/kernel/ipm/src/ipm_dummy.c index 89e6dca8e1e..e578becea15 100644 --- a/tests/kernel/ipm/src/ipm_dummy.c +++ b/tests/kernel/ipm/src/ipm_dummy.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 diff --git a/tests/kernel/ipm/src/ipm_dummy.h b/tests/kernel/ipm/src/ipm_dummy.h index 70c7603b510..6a9a3896d68 100644 --- a/tests/kernel/ipm/src/ipm_dummy.h +++ b/tests/kernel/ipm/src/ipm_dummy.h @@ -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 */ #ifndef _IPM_DUMMY_H_ diff --git a/tests/kernel/ipm/src/main.c b/tests/kernel/ipm/src/main.c index 2a0878e8a3c..ba087e5b542 100644 --- a/tests/kernel/ipm/src/main.c +++ b/tests/kernel/ipm/src/main.c @@ -1,17 +1,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 diff --git a/tests/kernel/mbox/mbox_api/src/main.c b/tests/kernel/mbox/mbox_api/src/main.c index b3f8eb597f6..f25564d81a6 100644 --- a/tests/kernel/mbox/mbox_api/src/main.c +++ b/tests/kernel/mbox/mbox_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/mbox/mbox_api/src/test_mbox_api.c b/tests/kernel/mbox/mbox_api/src/test_mbox_api.c index a8838b0ea66..207b209c3a0 100644 --- a/tests/kernel/mbox/mbox_api/src/test_mbox_api.c +++ b/tests/kernel/mbox/mbox_api/src/test_mbox_api.c @@ -1,18 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/mem_slab/src/slab.c b/tests/kernel/mem_slab/src/slab.c index 57e58912a0b..3104c895821 100644 --- a/tests/kernel/mem_slab/src/slab.c +++ b/tests/kernel/mem_slab/src/slab.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/kernel/msgq/msgq_api/src/main.c b/tests/kernel/msgq/msgq_api/src/main.c index d223a5f0ea5..409c0a6f82c 100644 --- a/tests/kernel/msgq/msgq_api/src/main.c +++ b/tests/kernel/msgq/msgq_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/msgq/msgq_api/src/test_msgq.h b/tests/kernel/msgq/msgq_api/src/test_msgq.h index 69d212e5331..d36401d10be 100644 --- a/tests/kernel/msgq/msgq_api/src/test_msgq.h +++ b/tests/kernel/msgq/msgq_api/src/test_msgq.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2015-2016 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 */ #ifndef __TEST_MSGQ_H__ diff --git a/tests/kernel/msgq/msgq_api/src/test_msgq_contexts.c b/tests/kernel/msgq/msgq_api/src/test_msgq_contexts.c index 647d2119215..b2ebc110b41 100644 --- a/tests/kernel/msgq/msgq_api/src/test_msgq_contexts.c +++ b/tests/kernel/msgq/msgq_api/src/test_msgq_contexts.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/msgq/msgq_api/src/test_msgq_fail.c b/tests/kernel/msgq/msgq_api/src/test_msgq_fail.c index 9f2e494e3d6..7ffd27894c8 100644 --- a/tests/kernel/msgq/msgq_api/src/test_msgq_fail.c +++ b/tests/kernel/msgq/msgq_api/src/test_msgq_fail.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/msgq/msgq_api/src/test_msgq_purge.c b/tests/kernel/msgq/msgq_api/src/test_msgq_purge.c index 5ad450abf01..38eaef42032 100644 --- a/tests/kernel/msgq/msgq_api/src/test_msgq_purge.c +++ b/tests/kernel/msgq/msgq_api/src/test_msgq_purge.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/multilib/src/test_multilib.c b/tests/kernel/multilib/src/test_multilib.c index c109f404628..5f32a93d8bd 100644 --- a/tests/kernel/multilib/src/test_multilib.c +++ b/tests/kernel/multilib/src/test_multilib.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 Linaro Ltd. * - * 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/tests/kernel/mutex/mutex_api/src/main.c b/tests/kernel/mutex/mutex_api/src/main.c index 6ebc34f0e49..0698afc1aad 100644 --- a/tests/kernel/mutex/mutex_api/src/main.c +++ b/tests/kernel/mutex/mutex_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/mutex/mutex_api/src/test_mutex_apis.c b/tests/kernel/mutex/mutex_api/src/test_mutex_apis.c index 7116f1b1234..d62d5c9a80c 100644 --- a/tests/kernel/mutex/mutex_api/src/test_mutex_apis.c +++ b/tests/kernel/mutex/mutex_api/src/test_mutex_apis.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/semaphore/sema_api/src/main.c b/tests/kernel/semaphore/sema_api/src/main.c index fbdc83f0e31..87f0e7e7b7f 100644 --- a/tests/kernel/semaphore/sema_api/src/main.c +++ b/tests/kernel/semaphore/sema_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/semaphore/sema_api/src/test_sema_contexts.c b/tests/kernel/semaphore/sema_api/src/test_sema_contexts.c index 85984526427..98538d18248 100644 --- a/tests/kernel/semaphore/sema_api/src/test_sema_contexts.c +++ b/tests/kernel/semaphore/sema_api/src/test_sema_contexts.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/sprintf/src/test_sprintf.c b/tests/kernel/sprintf/src/test_sprintf.c index ed76b86f04b..f24574eb3c5 100644 --- a/tests/kernel/sprintf/src/test_sprintf.c +++ b/tests/kernel/sprintf/src/test_sprintf.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/kernel/stack/stack_api/src/main.c b/tests/kernel/stack/stack_api/src/main.c index 20747f0b014..e0f58b882e0 100644 --- a/tests/kernel/stack/stack_api/src/main.c +++ b/tests/kernel/stack/stack_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/stack/stack_api/src/test_stack_contexts.c b/tests/kernel/stack/stack_api/src/test_stack_contexts.c index 31331c40f69..c75df6d6cf5 100644 --- a/tests/kernel/stack/stack_api/src/test_stack_contexts.c +++ b/tests/kernel/stack/stack_api/src/test_stack_contexts.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/stack/stack_api/src/test_stack_fail.c b/tests/kernel/stack/stack_api/src/test_stack_fail.c index b17ff5e63db..4127be4ff89 100644 --- a/tests/kernel/stack/stack_api/src/test_stack_fail.c +++ b/tests/kernel/stack/stack_api/src/test_stack_fail.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/stackprot/src/main.c b/tests/kernel/stackprot/src/main.c index db0162a0871..e77e3da33aa 100644 --- a/tests/kernel/stackprot/src/main.c +++ b/tests/kernel/stackprot/src/main.c @@ -2,17 +2,7 @@ * Copyright (c) 2012-2014 Wind River Systems, Inc. * Copyright (c) 2016 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/tests/kernel/threads_lifecycle/lifecycle_api/src/main.c b/tests/kernel/threads_lifecycle/lifecycle_api/src/main.c index 29beff21ed3..fe508f4245a 100644 --- a/tests/kernel/threads_lifecycle/lifecycle_api/src/main.c +++ b/tests/kernel/threads_lifecycle/lifecycle_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_cancel_abort.c b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_cancel_abort.c index 2dd86bc2975..79e809ff458 100644 --- a/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_cancel_abort.c +++ b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_cancel_abort.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_spawn.c b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_spawn.c index b87ee485c7c..06eddef54c9 100644 --- a/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_spawn.c +++ b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_spawn.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_suspend_resume.c b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_suspend_resume.c index 3a91d51e2e3..84cccdd63ec 100644 --- a/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_suspend_resume.c +++ b/tests/kernel/threads_lifecycle/lifecycle_api/src/test_threads_suspend_resume.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_lifecycle/thread_init/src/main.c b/tests/kernel/threads_lifecycle/thread_init/src/main.c index 250bceeb37d..b136e37fc62 100644 --- a/tests/kernel/threads_lifecycle/thread_init/src/main.c +++ b/tests/kernel/threads_lifecycle/thread_init/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/threads_lifecycle/thread_init/src/test_thread_init.c b/tests/kernel/threads_lifecycle/thread_init/src/test_thread_init.c index c468cb494dd..64c353c53e5 100644 --- a/tests/kernel/threads_lifecycle/thread_init/src/test_thread_init.c +++ b/tests/kernel/threads_lifecycle/thread_init/src/test_thread_init.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_scheduling/schedule_api/src/main.c b/tests/kernel/threads_scheduling/schedule_api/src/main.c index f42770cd277..f059bee9c0a 100644 --- a/tests/kernel/threads_scheduling/schedule_api/src/main.c +++ b/tests/kernel/threads_scheduling/schedule_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_scheduling/schedule_api/src/test_sched.h b/tests/kernel/threads_scheduling/schedule_api/src/test_sched.h index a03b33a7137..0537089e5f3 100644 --- a/tests/kernel/threads_scheduling/schedule_api/src/test_sched.h +++ b/tests/kernel/threads_scheduling/schedule_api/src/test_sched.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __TEST_SCHED_H__ diff --git a/tests/kernel/threads_scheduling/schedule_api/src/test_sched_priority.c b/tests/kernel/threads_scheduling/schedule_api/src/test_sched_priority.c index 0388c7f1c6a..8584129c380 100644 --- a/tests/kernel/threads_scheduling/schedule_api/src/test_sched_priority.c +++ b/tests/kernel/threads_scheduling/schedule_api/src/test_sched_priority.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/threads_scheduling/schedule_api/src/test_sched_timeslice_and_lock.c b/tests/kernel/threads_scheduling/schedule_api/src/test_sched_timeslice_and_lock.c index ec1f8e20c81..1c163ebaf4e 100644 --- a/tests/kernel/threads_scheduling/schedule_api/src/test_sched_timeslice_and_lock.c +++ b/tests/kernel/threads_scheduling/schedule_api/src/test_sched_timeslice_and_lock.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/timer/timer_api/src/main.c b/tests/kernel/timer/timer_api/src/main.c index d4bdd8fa9c2..dd88c2428ac 100644 --- a/tests/kernel/timer/timer_api/src/main.c +++ b/tests/kernel/timer/timer_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/timer/timer_api/src/test_timer.h b/tests/kernel/timer/timer_api/src/test_timer.h index 6a20421b8e6..baf7d20d725 100644 --- a/tests/kernel/timer/timer_api/src/test_timer.h +++ b/tests/kernel/timer/timer_api/src/test_timer.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 */ #ifndef __TEST_TIMER_H__ diff --git a/tests/kernel/timer/timer_api/src/test_timer_api.c b/tests/kernel/timer/timer_api/src/test_timer_api.c index 2adff3fe78d..4244530c6b4 100644 --- a/tests/kernel/timer/timer_api/src/test_timer_api.c +++ b/tests/kernel/timer/timer_api/src/test_timer_api.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 "test_timer.h" diff --git a/tests/kernel/workq/workq_api/src/main.c b/tests/kernel/workq/workq_api/src/main.c index 12995d77905..cfc60db36b7 100644 --- a/tests/kernel/workq/workq_api/src/main.c +++ b/tests/kernel/workq/workq_api/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/kernel/workq/workq_api/src/test_workq_api.c b/tests/kernel/workq/workq_api/src/test_workq_api.c index 425431aaaba..c93efb9f2d2 100644 --- a/tests/kernel/workq/workq_api/src/test_workq_api.c +++ b/tests/kernel/workq/workq_api/src/test_workq_api.c @@ -1,18 +1,7 @@ /* * Copyright (c) 2016 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/tests/kernel/xip/src/test.h b/tests/kernel/xip/src/test.h index ae0402281da..6f002ebcde9 100644 --- a/tests/kernel/xip/src/test.h +++ b/tests/kernel/xip/src/test.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/kernel/xip/src/test_xip.c b/tests/kernel/xip/src/test_xip.c index 19932d625d0..649274bc790 100644 --- a/tests/kernel/xip/src/test_xip.c +++ b/tests/kernel/xip/src/test_xip.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/kernel/xip/src/test_xip_helper.c b/tests/kernel/xip/src/test_xip_helper.c index 181f70caa11..0ebf126a2d0 100644 --- a/tests/kernel/xip/src/test_xip_helper.c +++ b/tests/kernel/xip/src/test_xip_helper.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/benchmark/app_kernel/src/config.h b/tests/legacy/benchmark/app_kernel/src/config.h index 96dd041cccf..cce54d2852b 100644 --- a/tests/legacy/benchmark/app_kernel/src/config.h +++ b/tests/legacy/benchmark/app_kernel/src/config.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 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 */ #ifndef _CONFIG_H diff --git a/tests/legacy/benchmark/app_kernel/src/event_b.c b/tests/legacy/benchmark/app_kernel/src/event_b.c index 374076e4cde..525bed7d7d0 100644 --- a/tests/legacy/benchmark/app_kernel/src/event_b.c +++ b/tests/legacy/benchmark/app_kernel/src/event_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/fifo_b.c b/tests/legacy/benchmark/app_kernel/src/fifo_b.c index a19af8169f2..984a29ba9c2 100644 --- a/tests/legacy/benchmark/app_kernel/src/fifo_b.c +++ b/tests/legacy/benchmark/app_kernel/src/fifo_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/fifo_r.c b/tests/legacy/benchmark/app_kernel/src/fifo_r.c index 2472cd26cb8..8fe278805ca 100644 --- a/tests/legacy/benchmark/app_kernel/src/fifo_r.c +++ b/tests/legacy/benchmark/app_kernel/src/fifo_r.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "receiver.h" diff --git a/tests/legacy/benchmark/app_kernel/src/mailbox_b.c b/tests/legacy/benchmark/app_kernel/src/mailbox_b.c index 84f2c175320..ca9568db879 100644 --- a/tests/legacy/benchmark/app_kernel/src/mailbox_b.c +++ b/tests/legacy/benchmark/app_kernel/src/mailbox_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/mailbox_r.c b/tests/legacy/benchmark/app_kernel/src/mailbox_r.c index d0aec7f9c23..8dece7db4b9 100644 --- a/tests/legacy/benchmark/app_kernel/src/mailbox_r.c +++ b/tests/legacy/benchmark/app_kernel/src/mailbox_r.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "receiver.h" diff --git a/tests/legacy/benchmark/app_kernel/src/master.c b/tests/legacy/benchmark/app_kernel/src/master.c index 48f38835f1f..13f6ca5a4ab 100644 --- a/tests/legacy/benchmark/app_kernel/src/master.c +++ b/tests/legacy/benchmark/app_kernel/src/master.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010,2013-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/tests/legacy/benchmark/app_kernel/src/master.h b/tests/legacy/benchmark/app_kernel/src/master.h index 6238ae3542d..568719808b3 100644 --- a/tests/legacy/benchmark/app_kernel/src/master.h +++ b/tests/legacy/benchmark/app_kernel/src/master.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 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 */ #ifndef _MASTER_H diff --git a/tests/legacy/benchmark/app_kernel/src/memcfg.h b/tests/legacy/benchmark/app_kernel/src/memcfg.h index e0afb45315d..18287feb578 100644 --- a/tests/legacy/benchmark/app_kernel/src/memcfg.h +++ b/tests/legacy/benchmark/app_kernel/src/memcfg.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2014 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 */ #ifndef MESSAGE_H diff --git a/tests/legacy/benchmark/app_kernel/src/memmap_b.c b/tests/legacy/benchmark/app_kernel/src/memmap_b.c index d5c8d110114..909b33f675e 100644 --- a/tests/legacy/benchmark/app_kernel/src/memmap_b.c +++ b/tests/legacy/benchmark/app_kernel/src/memmap_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/mempool_b.c b/tests/legacy/benchmark/app_kernel/src/mempool_b.c index 05c86226737..a79404651d5 100644 --- a/tests/legacy/benchmark/app_kernel/src/mempool_b.c +++ b/tests/legacy/benchmark/app_kernel/src/mempool_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/mutex_b.c b/tests/legacy/benchmark/app_kernel/src/mutex_b.c index 4c6d8bf4370..06bf2c4f776 100644 --- a/tests/legacy/benchmark/app_kernel/src/mutex_b.c +++ b/tests/legacy/benchmark/app_kernel/src/mutex_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-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 */ #include "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/pipe_b.c b/tests/legacy/benchmark/app_kernel/src/pipe_b.c index 4431276722a..532cee917d5 100644 --- a/tests/legacy/benchmark/app_kernel/src/pipe_b.c +++ b/tests/legacy/benchmark/app_kernel/src/pipe_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/pipe_r.c b/tests/legacy/benchmark/app_kernel/src/pipe_r.c index 2ea644e2b94..a61625fad08 100644 --- a/tests/legacy/benchmark/app_kernel/src/pipe_r.c +++ b/tests/legacy/benchmark/app_kernel/src/pipe_r.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "receiver.h" diff --git a/tests/legacy/benchmark/app_kernel/src/receiver.c b/tests/legacy/benchmark/app_kernel/src/receiver.c index 5a88afddd79..bf60a126159 100644 --- a/tests/legacy/benchmark/app_kernel/src/receiver.c +++ b/tests/legacy/benchmark/app_kernel/src/receiver.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010,2013-2014 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/tests/legacy/benchmark/app_kernel/src/receiver.h b/tests/legacy/benchmark/app_kernel/src/receiver.h index eaa2065f7a0..de851d4faa7 100644 --- a/tests/legacy/benchmark/app_kernel/src/receiver.h +++ b/tests/legacy/benchmark/app_kernel/src/receiver.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2014 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 */ #ifndef _RECEIVER_H diff --git a/tests/legacy/benchmark/app_kernel/src/sema_b.c b/tests/legacy/benchmark/app_kernel/src/sema_b.c index 099b3c46148..3dfbc255ccd 100644 --- a/tests/legacy/benchmark/app_kernel/src/sema_b.c +++ b/tests/legacy/benchmark/app_kernel/src/sema_b.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-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 */ #include "master.h" diff --git a/tests/legacy/benchmark/app_kernel/src/sema_r.c b/tests/legacy/benchmark/app_kernel/src/sema_r.c index dbba8b99fbf..c8c5e6df797 100644 --- a/tests/legacy/benchmark/app_kernel/src/sema_r.c +++ b/tests/legacy/benchmark/app_kernel/src/sema_r.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "receiver.h" diff --git a/tests/legacy/benchmark/boot_time/microkernel/src/boot_time.c b/tests/legacy/benchmark/boot_time/microkernel/src/boot_time.c index 1089f49b4d0..ac633723614 100644 --- a/tests/legacy/benchmark/boot_time/microkernel/src/boot_time.c +++ b/tests/legacy/benchmark/boot_time/microkernel/src/boot_time.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-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/tests/legacy/benchmark/boot_time/nanokernel/src/boot_time.c b/tests/legacy/benchmark/boot_time/nanokernel/src/boot_time.c index fc4873a482f..0dfc79ee2dc 100644 --- a/tests/legacy/benchmark/boot_time/nanokernel/src/boot_time.c +++ b/tests/legacy/benchmark/boot_time/nanokernel/src/boot_time.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-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/tests/legacy/benchmark/footprint/microkernel/src/microkernel_footprint.c b/tests/legacy/benchmark/footprint/microkernel/src/microkernel_footprint.c index ed91e9d2018..6eade5832a9 100644 --- a/tests/legacy/benchmark/footprint/microkernel/src/microkernel_footprint.c +++ b/tests/legacy/benchmark/footprint/microkernel/src/microkernel_footprint.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-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 */ #include diff --git a/tests/legacy/benchmark/footprint/nanokernel/src/nanokernel_footprint.c b/tests/legacy/benchmark/footprint/nanokernel/src/nanokernel_footprint.c index ba6967c2462..0c4d8da5ac9 100644 --- a/tests/legacy/benchmark/footprint/nanokernel/src/nanokernel_footprint.c +++ b/tests/legacy/benchmark/footprint/nanokernel/src/nanokernel_footprint.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/benchmark/latency_measure/src/main.c b/tests/legacy/benchmark/latency_measure/src/main.c index 6979a2557a6..a7b7ff9f8ac 100644 --- a/tests/legacy/benchmark/latency_measure/src/main.c +++ b/tests/legacy/benchmark/latency_measure/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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/tests/legacy/benchmark/latency_measure/src/micro_int_to_task.c b/tests/legacy/benchmark/latency_measure/src/micro_int_to_task.c index f4f1ae7f75e..ae635acc78a 100644 --- a/tests/legacy/benchmark/latency_measure/src/micro_int_to_task.c +++ b/tests/legacy/benchmark/latency_measure/src/micro_int_to_task.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/micro_int_to_task_evt.c b/tests/legacy/benchmark/latency_measure/src/micro_int_to_task_evt.c index c346f5a1718..6216c8eb5de 100644 --- a/tests/legacy/benchmark/latency_measure/src/micro_int_to_task_evt.c +++ b/tests/legacy/benchmark/latency_measure/src/micro_int_to_task_evt.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/micro_sema_lock_release.c b/tests/legacy/benchmark/latency_measure/src/micro_sema_lock_release.c index 2697a2ea28b..9c3dcf930e5 100644 --- a/tests/legacy/benchmark/latency_measure/src/micro_sema_lock_release.c +++ b/tests/legacy/benchmark/latency_measure/src/micro_sema_lock_release.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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/tests/legacy/benchmark/latency_measure/src/micro_task_switch_yield.c b/tests/legacy/benchmark/latency_measure/src/micro_task_switch_yield.c index a1d55a41302..4edf4fadab9 100644 --- a/tests/legacy/benchmark/latency_measure/src/micro_task_switch_yield.c +++ b/tests/legacy/benchmark/latency_measure/src/micro_task_switch_yield.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/nano_ctx_switch.c b/tests/legacy/benchmark/latency_measure/src/nano_ctx_switch.c index cda573e93f6..a79271e73fc 100644 --- a/tests/legacy/benchmark/latency_measure/src/nano_ctx_switch.c +++ b/tests/legacy/benchmark/latency_measure/src/nano_ctx_switch.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/nano_int.c b/tests/legacy/benchmark/latency_measure/src/nano_int.c index 45892ab68cf..77a69590b5f 100644 --- a/tests/legacy/benchmark/latency_measure/src/nano_int.c +++ b/tests/legacy/benchmark/latency_measure/src/nano_int.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/nano_int_lock_unlock.c b/tests/legacy/benchmark/latency_measure/src/nano_int_lock_unlock.c index 59c65a40899..27707cf5563 100644 --- a/tests/legacy/benchmark/latency_measure/src/nano_int_lock_unlock.c +++ b/tests/legacy/benchmark/latency_measure/src/nano_int_lock_unlock.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber.c b/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber.c index 0ea118d817f..5ce1cf0609a 100644 --- a/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber.c +++ b/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber_sem.c b/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber_sem.c index bd271834e6a..994f8440cb1 100644 --- a/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber_sem.c +++ b/tests/legacy/benchmark/latency_measure/src/nano_int_to_fiber_sem.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/test_asm_inline_gcc.h b/tests/legacy/benchmark/latency_measure/src/test_asm_inline_gcc.h index 439ff8922b7..258a1324686 100644 --- a/tests/legacy/benchmark/latency_measure/src/test_asm_inline_gcc.h +++ b/tests/legacy/benchmark/latency_measure/src/test_asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _TEST_ASM_INLINE_GCC_H diff --git a/tests/legacy/benchmark/latency_measure/src/timestamp.h b/tests/legacy/benchmark/latency_measure/src/timestamp.h index c2567c3b1e5..ed04718ca58 100644 --- a/tests/legacy/benchmark/latency_measure/src/timestamp.h +++ b/tests/legacy/benchmark/latency_measure/src/timestamp.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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/tests/legacy/benchmark/latency_measure/src/utils.c b/tests/legacy/benchmark/latency_measure/src/utils.c index 0aa97806b8e..f7b7366dfbc 100644 --- a/tests/legacy/benchmark/latency_measure/src/utils.c +++ b/tests/legacy/benchmark/latency_measure/src/utils.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/latency_measure/src/utils.h b/tests/legacy/benchmark/latency_measure/src/utils.h index db6038934ce..2941b4ea9e2 100644 --- a/tests/legacy/benchmark/latency_measure/src/utils.h +++ b/tests/legacy/benchmark/latency_measure/src/utils.h @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/benchmark/object_footprint/src/nanokernel_objects.c b/tests/legacy/benchmark/object_footprint/src/nanokernel_objects.c index 1bba2b602a6..91cd72b7020 100644 --- a/tests/legacy/benchmark/object_footprint/src/nanokernel_objects.c +++ b/tests/legacy/benchmark/object_footprint/src/nanokernel_objects.c @@ -1,17 +1,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 diff --git a/tests/legacy/benchmark/sys_kernel/src/lifo.c b/tests/legacy/benchmark/sys_kernel/src/lifo.c index f63aa35b2a3..86974af9e62 100644 --- a/tests/legacy/benchmark/sys_kernel/src/lifo.c +++ b/tests/legacy/benchmark/sys_kernel/src/lifo.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "syskernel.h" diff --git a/tests/legacy/benchmark/sys_kernel/src/mwfifo.c b/tests/legacy/benchmark/sys_kernel/src/mwfifo.c index 3504773923d..7fe7571ce7b 100644 --- a/tests/legacy/benchmark/sys_kernel/src/mwfifo.c +++ b/tests/legacy/benchmark/sys_kernel/src/mwfifo.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "syskernel.h" diff --git a/tests/legacy/benchmark/sys_kernel/src/sema.c b/tests/legacy/benchmark/sys_kernel/src/sema.c index 1be61da81a1..3d8c2dd9b74 100644 --- a/tests/legacy/benchmark/sys_kernel/src/sema.c +++ b/tests/legacy/benchmark/sys_kernel/src/sema.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "syskernel.h" diff --git a/tests/legacy/benchmark/sys_kernel/src/stack.c b/tests/legacy/benchmark/sys_kernel/src/stack.c index 1da546eb214..c477bd0036b 100644 --- a/tests/legacy/benchmark/sys_kernel/src/stack.c +++ b/tests/legacy/benchmark/sys_kernel/src/stack.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2013-2014 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 "syskernel.h" diff --git a/tests/legacy/benchmark/sys_kernel/src/syskernel.c b/tests/legacy/benchmark/sys_kernel/src/syskernel.c index 0c92004bd2a..37c48585f18 100644 --- a/tests/legacy/benchmark/sys_kernel/src/syskernel.c +++ b/tests/legacy/benchmark/sys_kernel/src/syskernel.c @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2012-2014 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/tests/legacy/benchmark/sys_kernel/src/syskernel.h b/tests/legacy/benchmark/sys_kernel/src/syskernel.h index 139ff4f4563..7df9eaa02c4 100644 --- a/tests/legacy/benchmark/sys_kernel/src/syskernel.h +++ b/tests/legacy/benchmark/sys_kernel/src/syskernel.h @@ -3,17 +3,7 @@ /* * Copyright (c) 1997-2010, 2014 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 */ #ifndef SYSKERNEK_H diff --git a/tests/legacy/kernel/test_arm_irq_vector_table/src/main.c b/tests/legacy/kernel/test_arm_irq_vector_table/src/main.c index 573d961d8ec..29e7f97706d 100644 --- a/tests/legacy/kernel/test_arm_irq_vector_table/src/main.c +++ b/tests/legacy/kernel/test_arm_irq_vector_table/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_context/src/context.c b/tests/legacy/kernel/test_context/src/context.c index 108d7500f49..0b34123cb23 100644 --- a/tests/legacy/kernel/test_context/src/context.c +++ b/tests/legacy/kernel/test_context/src/context.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-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/tests/legacy/kernel/test_critical/src/critical.c b/tests/legacy/kernel/test_critical/src/critical.c index c1467dd5aed..8c069024e79 100644 --- a/tests/legacy/kernel/test_critical/src/critical.c +++ b/tests/legacy/kernel/test_critical/src/critical.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/kernel/test_early_sleep/src/early_sleep.c b/tests/legacy/kernel/test_early_sleep/src/early_sleep.c index de3d41c9f01..a94598f93f5 100644 --- a/tests/legacy/kernel/test_early_sleep/src/early_sleep.c +++ b/tests/legacy/kernel/test_early_sleep/src/early_sleep.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* diff --git a/tests/legacy/kernel/test_errno/src/main.c b/tests/legacy/kernel/test_errno/src/main.c index 46633392fc3..20b5449aa46 100644 --- a/tests/legacy/kernel/test_errno/src/main.c +++ b/tests/legacy/kernel/test_errno/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #include diff --git a/tests/legacy/kernel/test_events/src/events.c b/tests/legacy/kernel/test_events/src/events.c index cfd030c8825..61bc777daac 100644 --- a/tests/legacy/kernel/test_events/src/events.c +++ b/tests/legacy/kernel/test_events/src/events.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_events/src/test_fiber.c b/tests/legacy/kernel/test_events/src/test_fiber.c index da594da5480..1faa088dcea 100644 --- a/tests/legacy/kernel/test_events/src/test_fiber.c +++ b/tests/legacy/kernel/test_events/src/test_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_fifo/microkernel/src/fifo.c b/tests/legacy/kernel/test_fifo/microkernel/src/fifo.c index c2564bfed32..a042f848f56 100644 --- a/tests/legacy/kernel/test_fifo/microkernel/src/fifo.c +++ b/tests/legacy/kernel/test_fifo/microkernel/src/fifo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_fifo/nanokernel/src/fifo.c b/tests/legacy/kernel/test_fifo/nanokernel/src/fifo.c index 3b03101f971..33f206986f5 100644 --- a/tests/legacy/kernel/test_fifo/nanokernel/src/fifo.c +++ b/tests/legacy/kernel/test_fifo/nanokernel/src/fifo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_fifo/nanokernel/src/fifo_timeout.c b/tests/legacy/kernel/test_fifo/nanokernel/src/fifo_timeout.c index ffc545de0e2..f54c1b8db55 100644 --- a/tests/legacy/kernel/test_fifo/nanokernel/src/fifo_timeout.c +++ b/tests/legacy/kernel/test_fifo/nanokernel/src/fifo_timeout.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #include diff --git a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_context.h b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_context.h index e8388960878..b51693d2c61 100644 --- a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_context.h +++ b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_context.h @@ -6,17 +6,7 @@ /* * Copyright (c) 2011-2014 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 */ #ifndef _FLOATCONTEXT_H diff --git a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_arm_gcc.h b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_arm_gcc.h index c986de6fd88..deafff1aa10 100644 --- a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_arm_gcc.h +++ b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_arm_gcc.h @@ -6,17 +6,7 @@ /* * Copyright (c) 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 */ #ifndef _FLOAT_REGS_ARM_GCC_H diff --git a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_x86_gcc.h b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_x86_gcc.h index 22551faf9d2..0995c64b31c 100644 --- a/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_x86_gcc.h +++ b/tests/legacy/kernel/test_fp_sharing/microkernel/src/float_regs_x86_gcc.h @@ -6,17 +6,7 @@ /* * Copyright (c) 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 */ #ifndef _FLOAT_REGS_X86_GCC_H diff --git a/tests/legacy/kernel/test_fp_sharing/microkernel/src/main.c b/tests/legacy/kernel/test_fp_sharing/microkernel/src/main.c index 08433a3a595..093ceabcb44 100644 --- a/tests/legacy/kernel/test_fp_sharing/microkernel/src/main.c +++ b/tests/legacy/kernel/test_fp_sharing/microkernel/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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/tests/legacy/kernel/test_fp_sharing/microkernel/src/pi.c b/tests/legacy/kernel/test_fp_sharing/microkernel/src/pi.c index d74ace4d561..6d6a6c62354 100644 --- a/tests/legacy/kernel/test_fp_sharing/microkernel/src/pi.c +++ b/tests/legacy/kernel/test_fp_sharing/microkernel/src/pi.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_context.h b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_context.h index e8388960878..b51693d2c61 100644 --- a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_context.h +++ b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_context.h @@ -6,17 +6,7 @@ /* * Copyright (c) 2011-2014 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 */ #ifndef _FLOATCONTEXT_H diff --git a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_arm_gcc.h b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_arm_gcc.h index c986de6fd88..deafff1aa10 100644 --- a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_arm_gcc.h +++ b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_arm_gcc.h @@ -6,17 +6,7 @@ /* * Copyright (c) 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 */ #ifndef _FLOAT_REGS_ARM_GCC_H diff --git a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_x86_gcc.h b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_x86_gcc.h index 22551faf9d2..0995c64b31c 100644 --- a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_x86_gcc.h +++ b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/float_regs_x86_gcc.h @@ -6,17 +6,7 @@ /* * Copyright (c) 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 */ #ifndef _FLOAT_REGS_X86_GCC_H diff --git a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/main.c b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/main.c index 3abef8f7060..a691b508c9b 100644 --- a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/main.c +++ b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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/tests/legacy/kernel/test_fp_sharing/nanokernel/src/pi.c b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/pi.c index d74ace4d561..6d6a6c62354 100644 --- a/tests/legacy/kernel/test_fp_sharing/nanokernel/src/pi.c +++ b/tests/legacy/kernel/test_fp_sharing/nanokernel/src/pi.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-2014 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/tests/legacy/kernel/test_irq_offload/src/main.c b/tests/legacy/kernel/test_irq_offload/src/main.c index b06ed731802..782c377c1b2 100644 --- a/tests/legacy/kernel/test_irq_offload/src/main.c +++ b/tests/legacy/kernel/test_irq_offload/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ #include diff --git a/tests/legacy/kernel/test_libs/src/libraries.c b/tests/legacy/kernel/test_libs/src/libraries.c index 4bb9f1eb0f2..93c38d349ea 100644 --- a/tests/legacy/kernel/test_libs/src/libraries.c +++ b/tests/legacy/kernel/test_libs/src/libraries.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_libs/src/main.c b/tests/legacy/kernel/test_libs/src/main.c index 366555457f3..1552a78cc8a 100644 --- a/tests/legacy/kernel/test_libs/src/main.c +++ b/tests/legacy/kernel/test_libs/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_lifo/src/lifo.c b/tests/legacy/kernel/test_lifo/src/lifo.c index 0fa67587397..627238383a9 100644 --- a/tests/legacy/kernel/test_lifo/src/lifo.c +++ b/tests/legacy/kernel/test_lifo/src/lifo.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-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/tests/legacy/kernel/test_mail/src/mail.c b/tests/legacy/kernel/test_mail/src/mail.c index 6e360202f63..59718360fb6 100644 --- a/tests/legacy/kernel/test_mail/src/mail.c +++ b/tests/legacy/kernel/test_mail/src/mail.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_mail/src/main.c b/tests/legacy/kernel/test_mail/src/main.c index fbb58d2b846..0c47b1f2230 100644 --- a/tests/legacy/kernel/test_mail/src/main.c +++ b/tests/legacy/kernel/test_mail/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/kernel/test_map/src/map.c b/tests/legacy/kernel/test_map/src/map.c index a3fc48611bf..3ca0c07bf87 100644 --- a/tests/legacy/kernel/test_map/src/map.c +++ b/tests/legacy/kernel/test_map/src/map.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_mem_safe/src/asm_x86.S b/tests/legacy/kernel/test_mem_safe/src/asm_x86.S index 1e24e11e138..a1e85189c05 100644 --- a/tests/legacy/kernel/test_mem_safe/src/asm_x86.S +++ b/tests/legacy/kernel/test_mem_safe/src/asm_x86.S @@ -1,17 +1,7 @@ /* * Copyright (c) 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/tests/legacy/kernel/test_mem_safe/src/main.c b/tests/legacy/kernel/test_mem_safe/src/main.c index 44fdacc0ffd..62cba06b005 100644 --- a/tests/legacy/kernel/test_mem_safe/src/main.c +++ b/tests/legacy/kernel/test_mem_safe/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/tests/legacy/kernel/test_mutex/src/mutex.c b/tests/legacy/kernel/test_mutex/src/mutex.c index 0d616cb459c..4ab2074b77a 100644 --- a/tests/legacy/kernel/test_mutex/src/mutex.c +++ b/tests/legacy/kernel/test_mutex/src/mutex.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-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 */ /** diff --git a/tests/legacy/kernel/test_mutex/src/task12.c b/tests/legacy/kernel/test_mutex/src/task12.c index 0df734d5838..40b102f0746 100644 --- a/tests/legacy/kernel/test_mutex/src/task12.c +++ b/tests/legacy/kernel/test_mutex/src/task12.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2015-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 */ /* diff --git a/tests/legacy/kernel/test_nano_work/src/main.c b/tests/legacy/kernel/test_nano_work/src/main.c index ff9f05a3fee..f038c011b6a 100644 --- a/tests/legacy/kernel/test_nano_work/src/main.c +++ b/tests/legacy/kernel/test_nano_work/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/legacy/kernel/test_obj_tracing/microkernel/src/object_monitor.c b/tests/legacy/kernel/test_obj_tracing/microkernel/src/object_monitor.c index 4d716983b75..0fa4ed51040 100644 --- a/tests/legacy/kernel/test_obj_tracing/microkernel/src/object_monitor.c +++ b/tests/legacy/kernel/test_obj_tracing/microkernel/src/object_monitor.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil.h b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil.h index 0bb27cb5ac8..585074c7d6f 100644 --- a/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil.h +++ b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil.h @@ -3,16 +3,6 @@ /* * Copyright (c) 2011-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 */ #define N_PHILOSOPHERS 5 diff --git a/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_fiber.c b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_fiber.c index 6b272716a07..a92d2209b14 100644 --- a/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_fiber.c +++ b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-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/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_task.c b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_task.c index ac11f75d6ee..0027a80f39e 100644 --- a/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_task.c +++ b/tests/legacy/kernel/test_obj_tracing/microkernel/src/phil_task.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-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/tests/legacy/kernel/test_obj_tracing/nanokernel/src/object_monitor.c b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/object_monitor.c index 9229b1692c2..901b0798ac5 100644 --- a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/object_monitor.c +++ b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/object_monitor.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil.h b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil.h index 0bb27cb5ac8..585074c7d6f 100644 --- a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil.h +++ b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil.h @@ -3,16 +3,6 @@ /* * Copyright (c) 2011-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 */ #define N_PHILOSOPHERS 5 diff --git a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_fiber.c b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_fiber.c index 9ab1a09fe40..0140609bfdd 100644 --- a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_fiber.c +++ b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-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/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_task.c b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_task.c index 3a235c993fe..17b49a5ac94 100644 --- a/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_task.c +++ b/tests/legacy/kernel/test_obj_tracing/nanokernel/src/phil_task.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011-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/tests/legacy/kernel/test_pend/src/pend.c b/tests/legacy/kernel/test_pend/src/pend.c index fe67048820e..f43e73fdef6 100644 --- a/tests/legacy/kernel/test_pend/src/pend.c +++ b/tests/legacy/kernel/test_pend/src/pend.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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/tests/legacy/kernel/test_pipe/src/main.c b/tests/legacy/kernel/test_pipe/src/main.c index de79a632e54..cf008bd507f 100644 --- a/tests/legacy/kernel/test_pipe/src/main.c +++ b/tests/legacy/kernel/test_pipe/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/kernel/test_pipe/src/pipe.c b/tests/legacy/kernel/test_pipe/src/pipe.c index 8709c286c80..6f99992d205 100644 --- a/tests/legacy/kernel/test_pipe/src/pipe.c +++ b/tests/legacy/kernel/test_pipe/src/pipe.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_pool/src/pool.c b/tests/legacy/kernel/test_pool/src/pool.c index fd0ce43e46f..b221a213af7 100644 --- a/tests/legacy/kernel/test_pool/src/pool.c +++ b/tests/legacy/kernel/test_pool/src/pool.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_sema/microkernel/src/main.c b/tests/legacy/kernel/test_sema/microkernel/src/main.c index e4778d0e952..12018adbf35 100644 --- a/tests/legacy/kernel/test_sema/microkernel/src/main.c +++ b/tests/legacy/kernel/test_sema/microkernel/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/kernel/test_sema/microkernel/src/sema.c b/tests/legacy/kernel/test_sema/microkernel/src/sema.c index 120bcdcd6fd..5b7c0243f75 100644 --- a/tests/legacy/kernel/test_sema/microkernel/src/sema.c +++ b/tests/legacy/kernel/test_sema/microkernel/src/sema.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_sema/microkernel/src/test_fiber.c b/tests/legacy/kernel/test_sema/microkernel/src/test_fiber.c index 90658bb0ca7..365f4bfcdd7 100644 --- a/tests/legacy/kernel/test_sema/microkernel/src/test_fiber.c +++ b/tests/legacy/kernel/test_sema/microkernel/src/test_fiber.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_sema/nanokernel/src/sema.c b/tests/legacy/kernel/test_sema/nanokernel/src/sema.c index 1aef3349cf9..be14b275682 100644 --- a/tests/legacy/kernel/test_sema/nanokernel/src/sema.c +++ b/tests/legacy/kernel/test_sema/nanokernel/src/sema.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-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/tests/legacy/kernel/test_sleep/src/sleep.c b/tests/legacy/kernel/test_sleep/src/sleep.c index ca7ae700aea..aff03aa0d61 100644 --- a/tests/legacy/kernel/test_sleep/src/sleep.c +++ b/tests/legacy/kernel/test_sleep/src/sleep.c @@ -1,17 +1,7 @@ /* * Copyright (c) 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 */ /* diff --git a/tests/legacy/kernel/test_stack/nanokernel/src/stack.c b/tests/legacy/kernel/test_stack/nanokernel/src/stack.c index cd0d0ec1bdf..7c3c6a3d939 100644 --- a/tests/legacy/kernel/test_stack/nanokernel/src/stack.c +++ b/tests/legacy/kernel/test_stack/nanokernel/src/stack.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_stackprot/microkernel/src/stackprot.c b/tests/legacy/kernel/test_stackprot/microkernel/src/stackprot.c index 625dfa0f666..86a87d8af15 100644 --- a/tests/legacy/kernel/test_stackprot/microkernel/src/stackprot.c +++ b/tests/legacy/kernel/test_stackprot/microkernel/src/stackprot.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_stackprot/nanokernel/src/stackprot.c b/tests/legacy/kernel/test_stackprot/nanokernel/src/stackprot.c index 1ec08895283..8a229f7db85 100644 --- a/tests/legacy/kernel/test_stackprot/nanokernel/src/stackprot.c +++ b/tests/legacy/kernel/test_stackprot/nanokernel/src/stackprot.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_static_idt/microkernel/src/static_idt.c b/tests/legacy/kernel/test_static_idt/microkernel/src/static_idt.c index 7d5d618d43c..90e644f21aa 100644 --- a/tests/legacy/kernel/test_static_idt/microkernel/src/static_idt.c +++ b/tests/legacy/kernel/test_static_idt/microkernel/src/static_idt.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_static_idt/microkernel/src/test_asm_inline_gcc.h b/tests/legacy/kernel/test_static_idt/microkernel/src/test_asm_inline_gcc.h index 31172528b2c..a39181442df 100644 --- a/tests/legacy/kernel/test_static_idt/microkernel/src/test_asm_inline_gcc.h +++ b/tests/legacy/kernel/test_static_idt/microkernel/src/test_asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _TEST_ASM_INLINE_GCC_H diff --git a/tests/legacy/kernel/test_static_idt/microkernel/src/test_stubs.S b/tests/legacy/kernel/test_static_idt/microkernel/src/test_stubs.S index b104d840c25..69fd54621c4 100644 --- a/tests/legacy/kernel/test_static_idt/microkernel/src/test_stubs.S +++ b/tests/legacy/kernel/test_static_idt/microkernel/src/test_stubs.S @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_static_idt/nanokernel/src/static_idt.c b/tests/legacy/kernel/test_static_idt/nanokernel/src/static_idt.c index ad0c2c9ef0c..ef478614dba 100644 --- a/tests/legacy/kernel/test_static_idt/nanokernel/src/static_idt.c +++ b/tests/legacy/kernel/test_static_idt/nanokernel/src/static_idt.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_static_idt/nanokernel/src/test_asm_inline_gcc.h b/tests/legacy/kernel/test_static_idt/nanokernel/src/test_asm_inline_gcc.h index 31172528b2c..a39181442df 100644 --- a/tests/legacy/kernel/test_static_idt/nanokernel/src/test_asm_inline_gcc.h +++ b/tests/legacy/kernel/test_static_idt/nanokernel/src/test_asm_inline_gcc.h @@ -3,17 +3,7 @@ /* * Copyright (c) 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 */ #ifndef _TEST_ASM_INLINE_GCC_H diff --git a/tests/legacy/kernel/test_static_idt/nanokernel/src/test_stubs.S b/tests/legacy/kernel/test_static_idt/nanokernel/src/test_stubs.S index b104d840c25..69fd54621c4 100644 --- a/tests/legacy/kernel/test_static_idt/nanokernel/src/test_stubs.S +++ b/tests/legacy/kernel/test_static_idt/nanokernel/src/test_stubs.S @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_task/src/task.c b/tests/legacy/kernel/test_task/src/task.c index 18ae03bfe9b..796ff8ae5f0 100644 --- a/tests/legacy/kernel/test_task/src/task.c +++ b/tests/legacy/kernel/test_task/src/task.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/legacy/kernel/test_tickless/microkernel/src/test_tickless.c b/tests/legacy/kernel/test_tickless/microkernel/src/test_tickless.c index 37c43f4d365..e3bda2d1a86 100644 --- a/tests/legacy/kernel/test_tickless/microkernel/src/test_tickless.c +++ b/tests/legacy/kernel/test_tickless/microkernel/src/test_tickless.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2011, 2013-2014 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/tests/legacy/kernel/test_tickless/microkernel/src/timestamps.c b/tests/legacy/kernel/test_tickless/microkernel/src/timestamps.c index 0d944cba819..d9ded1453f1 100644 --- a/tests/legacy/kernel/test_tickless/microkernel/src/timestamps.c +++ b/tests/legacy/kernel/test_tickless/microkernel/src/timestamps.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2014 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/tests/legacy/kernel/test_timer/microkernel/src/timer.c b/tests/legacy/kernel/test_timer/microkernel/src/timer.c index f92a01d3d06..82933ffd0e4 100644 --- a/tests/legacy/kernel/test_timer/microkernel/src/timer.c +++ b/tests/legacy/kernel/test_timer/microkernel/src/timer.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2013-2014 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/tests/legacy/kernel/test_timer/nanokernel/src/timer.c b/tests/legacy/kernel/test_timer/nanokernel/src/timer.c index fbc0dfad290..57f91fb6ba2 100644 --- a/tests/legacy/kernel/test_timer/nanokernel/src/timer.c +++ b/tests/legacy/kernel/test_timer/nanokernel/src/timer.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2012-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/tests/net/6lo/src/main.c b/tests/net/6lo/src/main.c index c15df7a7186..b666326a108 100644 --- a/tests/net/6lo/src/main.c +++ b/tests/net/6lo/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/arp/src/main.c b/tests/net/arp/src/main.c index 699c68db5fe..088e380d32d 100644 --- a/tests/net/arp/src/main.c +++ b/tests/net/arp/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/buf/src/main.c b/tests/net/buf/src/main.c index e5016a12578..6f08509d6f1 100644 --- a/tests/net/buf/src/main.c +++ b/tests/net/buf/src/main.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 diff --git a/tests/net/context/src/main.c b/tests/net/context/src/main.c index bea1c17e289..76d2df3b854 100644 --- a/tests/net/context/src/main.c +++ b/tests/net/context/src/main.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 diff --git a/tests/net/dhcpv4/src/main.c b/tests/net/dhcpv4/src/main.c index 595df9b5915..84a4733c559 100644 --- a/tests/net/dhcpv4/src/main.c +++ b/tests/net/dhcpv4/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/icmpv6/src/main.c b/tests/net/icmpv6/src/main.c index 0e33584dba3..7a721cbaeda 100644 --- a/tests/net/icmpv6/src/main.c +++ b/tests/net/icmpv6/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/ieee802154/fragment/src/main.c b/tests/net/ieee802154/fragment/src/main.c index e631303b946..76106e5d18c 100644 --- a/tests/net/ieee802154/fragment/src/main.c +++ b/tests/net/ieee802154/fragment/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/ieee802154/l2/src/ieee802154_fake_driver.c b/tests/net/ieee802154/l2/src/ieee802154_fake_driver.c index 6911ec1e0bd..e395ba0183c 100644 --- a/tests/net/ieee802154/l2/src/ieee802154_fake_driver.c +++ b/tests/net/ieee802154/l2/src/ieee802154_fake_driver.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/ieee802154/l2/src/ieee802154_test.c b/tests/net/ieee802154/l2/src/ieee802154_test.c index d7393016bc7..2457c3a8a9d 100644 --- a/tests/net/ieee802154/l2/src/ieee802154_test.c +++ b/tests/net/ieee802154/l2/src/ieee802154_test.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/ip-addr/src/main.c b/tests/net/ip-addr/src/main.c index aa8457b1cfe..13a36f20eff 100644 --- a/tests/net/ip-addr/src/main.c +++ b/tests/net/ip-addr/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/ipv6/src/main.c b/tests/net/ipv6/src/main.c index fea0803e16b..db8f64d7fff 100644 --- a/tests/net/ipv6/src/main.c +++ b/tests/net/ipv6/src/main.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 diff --git a/tests/net/lib/http_header_fields/Makefile b/tests/net/lib/http_header_fields/Makefile index 4136dcf9117..8d1ab8fa681 100644 --- a/tests/net/lib/http_header_fields/Makefile +++ b/tests/net/lib/http_header_fields/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # BOARD ?= qemu_x86 diff --git a/tests/net/lib/http_header_fields/src/Makefile b/tests/net/lib/http_header_fields/src/Makefile index 7a974a6bcd4..af00f4782be 100644 --- a/tests/net/lib/http_header_fields/src/Makefile +++ b/tests/net/lib/http_header_fields/src/Makefile @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # ccflags-y += -I$(ZEPHYR_BASE)/tests/include diff --git a/tests/net/lib/mqtt_packet/src/mqtt_packet.c b/tests/net/lib/mqtt_packet/src/mqtt_packet.c index befc3c99ba8..fc8e982d5ee 100644 --- a/tests/net/lib/mqtt_packet/src/mqtt_packet.c +++ b/tests/net/lib/mqtt_packet/src/mqtt_packet.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/lib/zoap/src/main.c b/tests/net/lib/zoap/src/main.c index ad4469db7e9..cf4e1fa27ac 100644 --- a/tests/net/lib/zoap/src/main.c +++ b/tests/net/lib/zoap/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/mgmt/src/mgmt.c b/tests/net/mgmt/src/mgmt.c index 9fb02027fe0..1982c41c901 100644 --- a/tests/net/mgmt/src/mgmt.c +++ b/tests/net/mgmt/src/mgmt.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/nbuf/src/main.c b/tests/net/nbuf/src/main.c index 1d90837562c..f46a1579a76 100644 --- a/tests/net/nbuf/src/main.c +++ b/tests/net/nbuf/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/neighbor/src/main.c b/tests/net/neighbor/src/main.c index 63ce7f14a8d..7f8a53f95f6 100644 --- a/tests/net/neighbor/src/main.c +++ b/tests/net/neighbor/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/route/src/main.c b/tests/net/route/src/main.c index 5f4ffd9f045..aefe2e18e1d 100644 --- a/tests/net/route/src/main.c +++ b/tests/net/route/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/rpl/src/main.c b/tests/net/rpl/src/main.c index d50e27b57bd..eb2dbc495ef 100644 --- a/tests/net/rpl/src/main.c +++ b/tests/net/rpl/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/tcp/src/main.c b/tests/net/tcp/src/main.c index 909901c6ade..442e1efb7a9 100644 --- a/tests/net/tcp/src/main.c +++ b/tests/net/tcp/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/trickle/src/main.c b/tests/net/trickle/src/main.c index 38f93681222..33adfbe64fa 100644 --- a/tests/net/trickle/src/main.c +++ b/tests/net/trickle/src/main.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 diff --git a/tests/net/udp/src/main.c b/tests/net/udp/src/main.c index 177cd92467e..2884de09a28 100644 --- a/tests/net/udp/src/main.c +++ b/tests/net/udp/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/net/utils/src/main.c b/tests/net/utils/src/main.c index f2955b3788a..c83da89d07d 100644 --- a/tests/net/utils/src/main.c +++ b/tests/net/utils/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/power/power_states/src/main.c b/tests/power/power_states/src/main.c index f5e5618972c..a7e6a803fa3 100644 --- a/tests/power/power_states/src/main.c +++ b/tests/power/power_states/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/power/power_states/src/soc_watch_logger.c b/tests/power/power_states/src/soc_watch_logger.c index a4d4e638fc6..abba1f94ea7 100644 --- a/tests/power/power_states/src/soc_watch_logger.c +++ b/tests/power/power_states/src/soc_watch_logger.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 "soc_watch_logger.h" diff --git a/tests/power/power_states/src/soc_watch_logger.h b/tests/power/power_states/src/soc_watch_logger.h index 3eaeab833a2..12038d13597 100644 --- a/tests/power/power_states/src/soc_watch_logger.h +++ b/tests/power/power_states/src/soc_watch_logger.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/subsys/debug/gdb_server/src/main.c b/tests/subsys/debug/gdb_server/src/main.c index 6a0b0938cb7..f7004ccac31 100644 --- a/tests/subsys/debug/gdb_server/src/main.c +++ b/tests/subsys/debug/gdb_server/src/main.c @@ -3,17 +3,7 @@ /* * Copyright (c) 2012-2014 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/tests/unit/net/buf/main.c b/tests/unit/net/buf/main.c index 21ae8798ef4..88a30b2cb72 100644 --- a/tests/unit/net/buf/main.c +++ b/tests/unit/net/buf/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/ztest/Kconfig b/tests/ztest/Kconfig index c8d453d4e56..ea9cafe74e1 100644 --- a/tests/ztest/Kconfig +++ b/tests/ztest/Kconfig @@ -1,17 +1,7 @@ # # Copyright (c) 2016 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 # config ZTEST diff --git a/tests/ztest/include/ztest.h b/tests/ztest/include/ztest.h index ff6bc391037..8f392dc1c61 100644 --- a/tests/ztest/include/ztest.h +++ b/tests/ztest/include/ztest.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/ztest/include/ztest_assert.h b/tests/ztest/include/ztest_assert.h index 332d14293e0..54061830b9e 100644 --- a/tests/ztest/include/ztest_assert.h +++ b/tests/ztest/include/ztest_assert.h @@ -2,17 +2,7 @@ /* * Copyright (c) 2016 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/tests/ztest/include/ztest_mock.h b/tests/ztest/include/ztest_mock.h index 77fce868355..04d81950241 100644 --- a/tests/ztest/include/ztest_mock.h +++ b/tests/ztest/include/ztest_mock.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/ztest/include/ztest_test.h b/tests/ztest/include/ztest_test.h index 94d81d198dc..b9e4f976b09 100644 --- a/tests/ztest/include/ztest_test.h +++ b/tests/ztest/include/ztest_test.h @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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/tests/ztest/src/ztest.c b/tests/ztest/src/ztest.c index 3f94e27caf9..28b1bb47c85 100644 --- a/tests/ztest/src/ztest.c +++ b/tests/ztest/src/ztest.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/ztest/src/ztest_mock.c b/tests/ztest/src/ztest_mock.c index 15ae492d6f8..26a9731d8ac 100644 --- a/tests/ztest/src/ztest_mock.c +++ b/tests/ztest/src/ztest_mock.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/ztest/test/base/src/main.c b/tests/ztest/test/base/src/main.c index 6f3ad478634..5be2bce7df7 100644 --- a/tests/ztest/test/base/src/main.c +++ b/tests/ztest/test/base/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/tests/ztest/test/mock/src/main.c b/tests/ztest/test/mock/src/main.c index e150ad60d47..1ea1c089873 100644 --- a/tests/ztest/test/mock/src/main.c +++ b/tests/ztest/test/mock/src/main.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2016 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 diff --git a/zephyr-env.sh b/zephyr-env.sh index f81c6382f91..2027ae5cc62 100644 --- a/zephyr-env.sh +++ b/zephyr-env.sh @@ -1,17 +1,7 @@ # # Copyright (c) 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 # # In zsh the value of $0 depends on the FUNCTION_ARGZERO option which is