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 d988d1fd2ac4aa..94a9afebc2488a 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 a75bd670048a78..45b52acaf6e8b1 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 0af160817f7ba4..d7777964c338dc 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 7abac3f43d9e96..88faac1839ad3b 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 8bbc0fe7635f40..6c642500ee0e47 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 0f4483ee12cbe1..6a00ee93578716 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 08e34c2f765c65..6a7f1240262c9d 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 47b41ea2c4715f..ec9e431e1f847f 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 c70b02f60d79bf..c0c76988fda6e0 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 711b026d97201d..59cb17cfe359d9 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 cc6ce830123ee5..22e540fc350a52 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 64d61cfdb1e098..11f1e5bf870d5f 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 c92a0aa846bd2f..b0d979353eb113 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 af6a1bdfd22e51..d06c630203bea3 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 a7fef580ebdb69..0daca7acb161aa 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 196c91f1f503d6..1a463e4ffa299a 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 bf6366d69a9030..52f885167956f0 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 17cc085b8603d8..506732d7e44503 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 dd31a7825e6e69..70efb087ec4e18 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 2d6ed5fe3c321a..ae42bf2adcdf5b 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 7df1c1f1073ffe..11e3e5a03d6e1b 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 0fe2ba96ec9450..6e446faba4eb62 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 143fd943248d43..22f0fc6ea0e164 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 79e84eb2d026ca..97e785098485d8 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 c7bb37fba25b9f..7b754407c22483 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 9dc3e5e4264d4c..dd34fa1f21758e 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 55bc4d3b2ae32e..a717ee9c0f6fb4 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 d19a9e8683e4fa..e798ee37bb4e7d 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 e158b142d765e1..eccf45ece8c5a7 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 7a732eb7ceb8bb..f3e9f7b38860fb 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 891d3298f8678b..9bdb766c0e2457 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 8886e1a2df4a05..a2ec7ed158c6d0 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 624e1df00465fd..d815f09b27c80c 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 9b964605d69d80..47ea3876d18844 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 4e338c45ecd4e7..805a38744e4a29 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 eda9bc17cc85da..460336c74dcb8b 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 1c69e0e6bbf4f3..52f8173b2659be 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 9b8a5ab3641ae1..720aa4b18cb398 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 3f4a563dd3ac8b..529c229db92016 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 887c7446bc5eb5..3a7cdb3c5bcc75 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 eda9bc17cc85da..460336c74dcb8b 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 1c69e0e6bbf4f3..52f8173b2659be 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 9b8a5ab3641ae1..720aa4b18cb398 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 f73577d54020cf..4dba9be11877bc 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 7894c2d7dff56e..04de9032382345 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 eda9bc17cc85da..460336c74dcb8b 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 1c69e0e6bbf4f3..52f8173b2659be 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 9b8a5ab3641ae1..720aa4b18cb398 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 af259c2c87abb2..8f9ff7e9b42812 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 619625550eadbc..e85ef6fdd91072 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 893acea40e684f..aa43c352d29e1f 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 d3284862a2bb91..2f4df3deff69c9 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 fc5ca1e8b3d6b7..3986556f2add51 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 463ab56a0e854d..3c35970bf23606 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 685c8c7ce900c5..070efa549529f8 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 36c2d1f4b48581..ecbef056798b79 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 6fa373dd740a35..5c8e763cfc0d54 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 034f3bc0b21499..a689848ab3256e 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 b4218443a6c42e..6031717587fd74 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 a2f8ad8090cddf..6ef0bdffb1976a 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 dc35cad4014544..df8ab118198f9c 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 70df9568fa6d77..d421957702c587 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 5f53773d5ac646..25c3e1e8d3d0bc 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 468fe3c8bada79..467e68af74a3c5 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 3e329a876036e5..7df5bc93fe7fa1 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 449d2be700adfa..a476b367aed899 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 d69f3d086f17cb..5c60f48a10ed0d 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 0e23d3a4cce296..1ce219a9865711 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 f63ff8481d2c63..74d4bdf80f37a9 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 7e081818833f2a..b440c37f3d8ed6 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 ceff57798b3b04..ea58412133b6ef 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 a8857e1eda8b52..e07d90520f8e67 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 7f78e30494fcfa..0360bb8fa7a6d2 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 e02cd7bfccde5f..faa00dfdce564c 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 2d784cf532dec5..d5a2308176e87d 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 b5d60d7fbab0b9..60ca5a0c6f5ef4 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 cdf064aa5b6ec9..01748bcba3d54d 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 856c19685c0bc9..b121c7f1a9ddf2 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 214913067bee81..dbb645f6a6784e 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 0236e36644c853..85ac49112f5e00 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 4eee9fb43f08c3..01cb9b032c9743 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 18c89fe659ec53..230e9ed55ecaa2 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 93f18e0f29a921..dd0912546111d0 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 b9634f489a702f..7ca627cb4bb8c4 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 fdfd775f9f87b7..d01ada481dbe8a 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 17c5e7c438429c..ec1a18e532a556 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 4e64bd0cfb5ac3..023a8e3992642b 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 3c74d7e7b7d010..19494f1a80667b 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 5d030aeb78b555..ab25ebd77c951d 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 f0396d58cea3b4..266b25e8ea4fae 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 4863ecb41a0658..763d03c41218d2 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 965c6eb0a34283..fea2aa9e2a653e 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 01ac3d970302b4..6444812e5a469f 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 983d0693805242..fa16348929c87c 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 3cb15c7e04ddcb..efd8af8e62e576 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 d7177864ac7927..77cb98d51a5335 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 a2b2494ce3588a..765ebbcb42c76d 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 9c8e69bf6e0515..649d83501d5c8b 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 126161de7fd666..7134510ae7bfb0 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 726ad2de79f84d..1df64539cf48dc 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 6d5d4c82626abe..ecd754c8196e9a 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 45f79db38c6528..7972d329e62d9c 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 c13e1effb681e9..d53ee3b08b9a48 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 cf2cfad594266f..b6ccb02793c627 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 d12c82e442abab..61216102700818 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 950a0e464ff55d..d52c00c7792164 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 3b572b7acb0124..927ebe8a8343d0 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 0f60dc6f5d2aeb..e5efc9c6e97b6b 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 403ff21608cac7..ed2a5c46d8fbb5 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 ff18ea1e242940..c420171a6769fd 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 0eb884b2a98985..64d68f24bb6814 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 2cd99599dc2724..269f397dac9331 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 2563cc5be08fb7..2164cda3e3dc28 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 de9d486ceb276b..3ba839cb24c582 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 cf2cfad594266f..b6ccb02793c627 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 0620b0834b0dd7..879f376845f675 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 767ab7b249a779..39945d13be5508 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 9f9db1c81087c7..e86c9a5fac5998 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 dbac02d7e629a5..170e7eb11616d5 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 abd46a0c260f1a..de0030fc1ff633 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 922a486f4b3c6d..e3dee746059ef5 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 0677056650f513..e4fe6474576067 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 e1e031ab739f09..706c756fcc2055 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 be53d0c6ebeb39..e3476627a641ec 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 9ac707a8bf5a16..5e669445746376 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 121b46cf49b621..bf697eb5de447e 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 9eb44d7af920cd..f4b2d2dc537209 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 70d9bf84dac48c..ee9ab37e8112a4 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 cf2cfad594266f..b6ccb02793c627 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 cea06efea77d07..d3ff5e0859583c 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 c721c7489a4215..80589fcbaa693d 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 4e59583d172486..29f66eaf010199 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 11a45a5d03a71c..d880477537caca 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 ad4354c34839f5..e92bef8960de54 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 103c6010f31c9b..02fc3a0f99c7c1 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 5caec5dfbf4b38..1a36ae8e15a4d4 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 cf2cfad594266f..b6ccb02793c627 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 d0a9afc40f1277..5fa74e6f85b1df 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 62fb92c13afb80..bfd16e8e9865a3 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 ebb7abd6c18b99..c0b01b56d72f97 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 fc01277ca999ff..31cadb6126bb3f 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 a86e54e3584f4c..edaea08ad41acc 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 17fbd0e8e5be8a..7cb1e414b13182 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 4d05064ca6e82f..74e0aed25e7365 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 afa068b163f4de..1c948d7ed17635 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 19cee853e2bcbf..a7fbabf8157ddb 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 889072edf2f79f..d0f0da43985915 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 6fc7df9619db39..ab9cab3f299aef 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 0ef7313e849d30..e97c7c9ed3536b 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 9b52fd1c04b6d1..56db546588d313 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 d73229f3b199f1..62fa8c1d38df66 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 96538fd133ad1d..5f2c10840fc81e 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 fc6d05e605990f..af58ae25a22749 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 32c6ebe1412fbf..2143798876b4fe 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 41fccecc4b01b9..4ecf2f5ececd00 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 7aa0c56b214691..28b88abd7636ac 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 a212723ea3a7b9..ec21a87a3b5c10 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 f307369e9b8b51..d1648357ac36ab 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 8f1b5021e982d7..276e23e70c469e 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 82dae1f57e86bf..48d4f4b46961a8 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 220d80cc101f23..ba0abaf5051e09 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 90f2d81ba1aa55..b4e0d563a5976e 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 efd25204246df2..08131f7c44d595 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 f716f6b03558c7..b277095b96d3e9 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 403f19b4dc08c9..cc44211bfd9cdb 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 37acf4bc7ec446..ade46ee798c069 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 5db91d6c82fc16..538ddaf540b666 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 53d505bd88a77a..cd07cc3b8cbb44 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 a9b243f3e667f7..f7c975cfc7f2ee 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 e204600b7617c1..7044f75a0a9601 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 fc42c9632734b3..69ee3e023c1ca7 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 243a5f80531723..e5449470079e98 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 d4076ffdeedc28..a8e5d56fee453e 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 a3a464f37487a8..1f598b8faa73d9 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 a750ebdef55e28..f6a0657788a7b4 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 220d80cc101f23..ba0abaf5051e09 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 bdaaa8fb77fbc2..45a1f05086337a 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 cecdd30e028862..2fa73ae5a059d5 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 f48ae1a504481b..372d2afcff18e1 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 f5918d994e7f90..03c9bfe8f54a24 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 2c77a3d9361997..e34cdaaaffd1c2 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 5c66abdcd02a09..711372f582d909 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 4fc2ea7b6ada03..1ad979890b7f3b 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 604dcaefb32ed9..e76c396492b3ab 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 2e9ae70527b6d1..7ddfabfa0577dc 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 9731505809a7cf..6e0cf6bd25d3c0 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 7c8bfdb93e7659..dd11275808caea 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 653ed6588266e8..bb8f042f8d6e1f 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 220d80cc101f23..ba0abaf5051e09 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 582a88525ef58e..f89e9cab5ab298 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 28cfe4b3235ad9..c1466a44f598dc 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 1dac28117b1599..cb6c5639c34d16 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 70315b60e8f637..b7ea73dc0adb1d 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 d3fb966d3ff837..bed99cc4002f88 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 7931633d6c07e4..81a6106241286f 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 389265ead05943..b1590650bcafc5 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 ee5c26c153f21c..733f96d6651d41 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 10a4014e86001a..1f095d83ea438f 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 6fd3b6790dab01..fc04b4e9558ee9 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 3e14ea56c04fce..c7f87d229f3e85 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 cf2cfad594266f..b6ccb02793c627 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 79985d34f3a012..291b3acf18e02f 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 d10c3b5ceb2f47..f35c657f124fa8 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 0d4043afa5bedc..402a84db29a41a 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 4f8aacad492165..6ae548ca648d14 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 71c59df8b3cad5..c65ec1d560cddd 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 2477151e703d08..61ac3bd1f3e1a5 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 7226cfb3185e0b..41555a183f73bb 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 e682b2ca3fb853..44cb7a86953def 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 48cea3dfe8a721..f0fc0c9dd30870 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 8b10c5638bfce0..348df8bb81e0df 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 5413bcf5d9dbe4..5aece89cd21b5f 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 ff1536ce440235..618d59e3e85f81 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 5156d51bbc3851..c6dbc55753feb2 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 48682e9001c115..b56aee91497f4c 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 921e6d9c79402b..a020244980bf56 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 fa8a9472eeb4f8..faf3211cc4b823 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 96099fbf807aed..8c9cb4c65e81f6 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 697aedd6c45a7b..eb0ca7f5672227 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 a9b1a2b02662ed..34b59c1e38a065 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 6427c037a66bd2..eade327f27afe5 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 bf27be90b27d2e..64b4b819f9b43b 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 27ef1fd6891c79..db7a7c49a0cd4a 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 de66a62f83e201..865e15ab5d1b5b 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 b7fb6b4975f1e7..f972f0e3088ff9 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 47cd7dc3fe46fe..1e9276eee288ea 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 b87adfd8d25e15..e5ad723ae08696 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 4351acb84fd65f..47da5767acca1d 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 b779189a4809de..fbb21e1576429a 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 4351acb84fd65f..47da5767acca1d 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 69ceb489e1389a..c52b3db546314f 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 48fdf13acb79d5..cf7aa2e9f6a3a7 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 fe7762aebfcdee..d51477f4a344bb 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 e4108ea143edf0..d0c75a7a406f16 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 007f7602675ad7..044c2a109c0c42 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 17be4c5052b146..f26d845b0a9348 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 ff5a327a738beb..673fc5c70c421b 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 682ca247f30407..2ad84a8b5d81fa 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 83de38322e4532..0cd9202a491d5a 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 e45f863455d3dd..0cc022ae11ca7f 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 8fe00f629a993d..713ba641d3e6a3 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 78b5148cf77457..05453f446a7be4 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 2ec9b9755634de..b0f1714361a996 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 fa5b99e337d9fa..afbce15a93cb1e 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 fb03d6c923a78e..dad678392f3c15 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 4a4481f7369b48..080d2c4ddc5908 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 e47ed0d4852089..8d890fe7c116db 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 93992917c69469..61878f14c42489 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 d95086e96ca057..3afd12e9bd74d6 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 c49c88de60816c..4f0e0b90af429d 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 26fd6b096709a9..699e3dc47bdb8a 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 a5a7579fd36f26..f702c1f35d66e1 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 2de5ccb41c915b..43f19bc3c3d44a 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 71320cb58aafac..1c74d622a4c5b0 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 3e6e8ba3345064..d91a4b23ba5e74 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 1adcff16136354..75ced0f576acee 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 bc673cd6ba7956..bb80a2cb686183 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 761b2fddb47678..9d4dffe801ccde 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 6be09a71565b7e..3ef3d7a93b3a1e 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 6e5e8f58ee4405..a617881010f4a8 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 cd9f2906ae5db6..7125e369374f47 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 c273459d3b7da1..bbf9966ac39b93 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 57e4d7aaac7653..669a16bc481429 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 ccc6864165d13c..828fced210d213 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 d6e75e1e164ce2..f6895f1a63fd69 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 0d04d1f8a20b4e..6f24ede119063c 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 bf12239452e9c9..e1feb66326d413 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 72bb510e7a5fe9..0fb0737c0679f6 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 3c01cff12951b3..8bf77f259b4103 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 d81f90b864807a..2a43066da37ff2 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 3cf05a66afa449..a3c38fcc4d8a1c 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 e46d0c61e1cab6..8768eaa47579cd 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 be967fe1591cfb..2c5fe776c02c74 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 bb511188a30887..2efade7739fe1e 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 8f1679e284de40..06847432606bb5 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 7c58fec45cfb8e..c23c7c8bdda1e7 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 233c2fb2b87b3b..180db9dce29150 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 dac586072ca546..61f11ab5748bed 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 718b382ce263d1..de5cf382d1b036 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 0d5241bde9cd6f..ee780173c00678 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 abcda0a7d962c9..4a7c9ee237b25f 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 da129849af90ac..d575bc57d87c75 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 028e64d40df4a5..2dbd18446bdb01 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 c81dfd467f897e..d91f6776a7841f 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 0fdbf4406d824d..bb941d044bef23 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 2c4e529449c02e..51b3f2e5240a8e 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 9547ec4c2d9747..cd320ef97e5fb7 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 167bec7b2d743d..a9f7f5f80f1811 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 e092b3c4d032de..a0cf3a62669573 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 90dcaff38f4c11..a918a984e1106f 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 6b7ede99a68a1e..04c2479fa7bb6b 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 e51f1e5b2877f4..ab0f5d97ae6c9a 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 5b46d7e763a1b9..251282c4ab05aa 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 88d1d1a932b317..0cbefbe3f25ac3 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 54b1bee6181a45..92547f15e6c73a 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 e51f1e5b2877f4..ab0f5d97ae6c9a 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 5b46d7e763a1b9..251282c4ab05aa 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 94e5e90badfd04..9740e947337857 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 c1e6a6f4760abc..140ee6fbb3f27c 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 5bebe8eb829a53..de93ceb83ce208 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 28cea52302c251..4bdd65fcd18109 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 eef7c4ecedc5b8..c8d044cef297c7 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 9862223dbc4c12..94778a35bf404a 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 2da291ad496383..2e62eab36067df 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 120ec45b975508..c8fef60cb42f11 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 21405a0dc68726..503dffce9bc530 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 6a4b29df5aa9e2..f70eecb79e49a4 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 2130fd8bec5523..ea7d5f1ba11439 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 6b8f51ce9e6d15..12c1b773693435 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 ee574f4daef139..6b8a9e4484931d 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 961433542a23cc..19acbf01dbffeb 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 402bcf244b55f2..742aea984840e2 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 68968cdd0d36aa..7a3f75c6befaf4 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 f1dfb31009f876..b158f0269bb839 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 cb911c4eaeeecc..213c2156e4713b 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 8fd69f703bf227..15bf131925aadd 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 0152adaf85aeaf..e3931dfbf88c49 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 7b1ef7337dffcc..b06a293ee90ff9 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 4cd35bb4d962e8..dda0c412080074 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 f5a860a80bc8c1..1562d1ea0255bf 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 7148a66c4f48d8..a6e2111afe7a29 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 9fe2d0b2812417..6f19abddf32482 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 e51f1e5b2877f4..ab0f5d97ae6c9a 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 8c3e4d8bd68f33..9f5a3d2c9ee1aa 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 6a4d8dddce3b25..d868b180236775 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 6473c4aeb8374e..31e09deb1569fd 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 8588727fc2d353..c323e15cc9d804 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 92bacc96c03293..5580515e240c5f 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 b664f0c7add5b7..a706a89af233ea 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 4c09c0e72facb8..001cad07368d93 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 3992a28d42ad42..72441d7b3da635 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 a793beb55b14a1..bcc10536d956fc 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 11b2c559beaaaa..2c79679cff9646 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 4ad64e654f5e6c..d540cbfae67a9e 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 0866500fd5b3b4..20947b1047306f 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 a793beb55b14a1..bcc10536d956fc 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 302c595b593f38..59b4cf0191cf68 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 2812b229cc669f..ab090cbd52d589 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 66dd23fd7dbfbd..65b22b46e4c7db 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 f56445210465d8..07fc537bad8838 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 13b9d8bb064378..93275175a5c74b 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 2d92d6075e4d7f..4aa47204c114c8 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 ef097b62e16402..e555e5162ef6fa 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 f898dd6edbd186..6329925ecfde4b 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 56265c18d47b80..811997316523b4 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 7b4984ac6eddd3..226f31c89861f9 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 d6b2efc01ab42a..673bf50c52f4a2 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 23afa66949846d..20395a91444a7e 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 8d9d00c0b75f09..3108b024dd5afc 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 29be85ccf74cf4..6d878ed61ae094 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 ddf96d10bca7d2..9b85667fbea139 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 520fb87f6d32d4..59df854e232bef 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 85d9ce85f663b3..88c80b45ba0a09 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 7356891215c18d..8d1bdaf3af7129 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 7b8e6e439c3f2d..5deeb0c788b626 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 a793beb55b14a1..bcc10536d956fc 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 ac103e2687ccf3..64fd1591894139 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 8d5468fa281d97..8ebd6a272ffa60 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 ec208c0fe0c630..5869b15a9ebad2 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 b6ae123121db97..aad2d9b7c1038b 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 d2be37ac889cf1..676a2038c12354 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 d130d4a653d8cc..790c1372c9bb40 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 dbdcb086de8114..34de1e0a593646 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 ba88651f7d2583..fc9737942c82d9 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 83def618f0b086..49b6e1895d64c6 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 9d469c27cd68bf..6c3b3a4a8aa8fa 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 dc6452f8e5851e..4775bbc456103d 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 638719a7d80601..eb69d2098c7686 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 96146fca07eab7..22c56c4c4b6af1 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 1b586ab64cb288..496234f8319dab 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 c4c4c66cbea0b9..b742c2528e86d6 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 40cb8a9907a25e..48cfa3259749ae 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 3f6e05812b41de..7e12cda9e14a61 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 b8297f29862d6c..3797e469c10b9f 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 f283f483ff2a44..ac8812ca63d4d8 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 62cbb9bb91a93d..d10257c61010c3 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 82d9645f698391..27db7c33b55799 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 d2370a232c681a..adcb9ea00a944f 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 1b586ab64cb288..496234f8319dab 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 5b109cd7bd94a0..c715dab5ebb115 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 073487a5319c30..4b74459edae800 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 55029f6e45080e..39d984a6c10e8e 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 55029f6e45080e..39d984a6c10e8e 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 be80eb36210ba3..db947ad9402b23 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 05571556d9d338..464166f4eff574 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 66dd23fd7dbfbd..65b22b46e4c7db 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 ee8fc10ece759d..f967e72c0b8206 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 154c081b1bae69..faad382d488067 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 a9529ee4e1ea18..f7a67a47b099b4 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 abbac593c5f17a..6817a53bcba2d6 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 22eda568829baf..46f0fec75cb8b0 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 55029f6e45080e..39d984a6c10e8e 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 59619613aea2d3..9b5894513c0af4 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 1f6d447e40cf44..27453b810ad6ca 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 e2c3669d37e3f8..29b19c20433eb6 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 401f449cd52254..ed4c79ce097609 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 1ec1a8c69fc855..25e5836851ad8e 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 55029f6e45080e..39d984a6c10e8e 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 96dcedd1c7f0d3..6f45889a580cb5 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 8b825dc1f61613..4704f1ff27d7e6 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 0ef98c3785a11a..9ab9bad589a826 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 3b2b4fd73a4766..c6d08b84923bac 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 20ccf501903228..f3a44fd0899838 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 1735c0462498c0..42d51641f017c4 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 b9f2d32cac26e0..ed96418ea1ddc3 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 92b41574a070ad..e76da0b4d20b22 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 d9c4022436b368..b645925651b6a6 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 b47452cb360284..c9858e3a88ed5f 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 55029f6e45080e..39d984a6c10e8e 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 55029f6e45080e..39d984a6c10e8e 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 56d16c8f382355..0a37a8c46afb2d 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 8dc32cbe0b62d2..6a25855485b913 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 2285f18c628c1e..d837ef7f6c7fd4 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 dafe8d919ea0b2..ca7ed244beddcd 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 e3e148d92da3e5..b13201c412cc44 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 0ebecb91edf7db..f61ba37ff9b1a8 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 821bcf94b3f0e3..7d2e2fa7ca168c 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 ab9cda71a8fa9a..6b333bd9234472 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 945d14ec71101b..8eceb28e2b2fd9 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 57d7294e5c753c..9773875f61c1a7 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 9002545cae33cb..ad2212368ee1e2 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 3d22274842827f..e96d380fe944b3 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 d0b8a1a88e6e76..a8ea5bf84158b7 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 e0a5f7393ca378..2334750535f30e 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 dfa57b0bb1e5ab..0582b4b2559ebb 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 e61c50fa3a8e83..291a119d6cd243 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 3572e26d6c4d07..f9afff09518d1f 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 c7f6a201d3d6dc..cfbee9c0275d17 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 80396e93c19899..5fedc8760697bf 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 5375396b3048a7..9929984979e2bc 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 1d0d09aa745269..943390687d3597 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 b9e46cd66254bb..d7af42baf07c2b 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 293ff7bc2d9b0d..b234000dcf01d9 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 eb12e71ed10477..44758734e214f4 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 9084a42ef46226..45429132a43200 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 8c4e058ce14c39..297efb34aa2281 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 bf13a6befaca27..c1729b5423acbc 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 d59e8a3d2698ca..c536b1aea5852f 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 5f7de59e097683..b260c3b8b1aaad 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 341aa0373e2aa8..614c21d074bf1f 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 47c5579246e30f..365b9f5dad7c81 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 8baec8d3268d33..c879bd26190eef 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 6036ed53c62aea..8bb0f5374c0f79 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 878da8cccbd768..ce4008fc3011b9 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 4370b5b8ab3930..cb8b25c7f6642c 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 b738bc9c14576c..c65f3312e7fb1d 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 e7618d9bdbf4cc..2d6095b0a203e2 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 4ff45e944d3055..4feaecb6d5fd55 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 76ab2ca6b6cc04..02a90cfe8c8546 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 ea3e8984b741bb..ab2476f058bdf2 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 764d7c42f5a17b..d5c43de0216107 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 82f3b29b846247..1214693d895668 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 92ea318424596c..a3f8f333d68902 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 27190274675e8b..74bd38dd94aa5d 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 a223da7e8e3858..149ca05805f28f 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 89429740ac2c0f..3e4c1520b62153 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 0d0c9a5462a6e4..5328836bedfe94 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 e9ce86565a6fce..042a534d6523a4 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 5d25b12b67adad..f49f20022a9af5 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 baa69b5263510e..d96805fc210e6a 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 90db4cfc545823..c6d4f22db01e98 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 d59150cacba3e7..8683308a9272c4 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 e4e2e423d26483..fce6b100fd243a 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 ba8df08916337b..5501e6e33f7c11 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 4123fa3dbdc179..bd705a0dea0cd8 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 02ad047cd976eb..551b5484013c97 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 4d2859398c471a..16f16e35c81d0f 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 b5b259b43ab2af..330776a68193ee 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 c4ae845dc4029c..979051bdce8c81 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 637e13d5ee6814..750712a5215a20 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 2601e19b095fe1..1a43008d3ba6b0 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 cc15598821b283..b12493ff8f07b8 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 83db8d1a24ab30..308df468b07d8d 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 c2656ec07af30e..beed4158028551 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 85523c5a2b6359..40bb425513218f 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 d8a48b647a555c..44f711e14773d3 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 73ca3f33e392fb..730acc5a3f09a0 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 99d90818c803a2..b3f34be53fdbc4 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 5d69a1b976c51d..e3ed8c34da5d9b 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 cb1435fa3af64c..cc1995abc41462 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 2ac9e34fee40ae..5506d95af3ec01 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 0440460e50a29c..cfb409812b9b96 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 6596ad11414bd1..b51adfff1527c3 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 3d54ca28bf92af..634b91b55e681b 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 67897443fd6692..5a2fbeaf0f82b8 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 0179d6fe2e1e1f..32f858a712e73f 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 9cc797ffb34e89..01fd0557dcea40 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 242050f53ae048..2661f2b91e7202 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 529c7529065b35..5f0bf527cf37a9 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 d6907fceedf686..7e2324225ea434 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 57bf982284e50d..c29abb5765c64d 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 a55007bd44a4dd..cca9a76bee1a60 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 2dbcd90b7cc709..51ab6685839e4a 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 c0d5b38f7368b8..d59421dc37a0d7 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 68c6305d520d0c..90b92e1d821822 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 143b20fc7f437f..548deaffed893b 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 7a7841b4043a42..1f40273e0466e4 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 a362ca722b33b7..ec3882bc4fd34e 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 14d3cf7e75211e..d005a812d08a07 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 b93df3f0b13348..6c6e3ce6099aae 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 af3bbdc394b6d9..99bbea3329dc48 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 219534b1c1d2ae..8413a8b606ce02 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 f0853dda032444..1adb94a5bed586 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 df8c5eec69d5b2..a918cf920f3bd1 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 0915ee835a9730..4e966785bca89f 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 e591112bdd7a08..27f21e0d7124ff 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 0cec68b36d5605..e14c32767f6bff 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 b05e36878748bc..314a84dea437c4 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 1c2d03fcfc3385..e375abe2dcaec5 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 d080b4086ed19e..e84abe4f0e0ce1 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 2d687a0dc43d28..b8042a4f71c7b4 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 e8a30081334a10..b736f681b7df09 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 de8c8dc7be8140..7687e82b24d92e 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 0600a704ff447e..8f8900287881e3 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 862eaf50b7f0ab..4aa35948bc6aa5 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 a3c55f25eaf8f0..0ea8280e17fb4b 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 e7b226324dcea4..c9f6efc1bc2b2a 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 b2393dd83e7237..0a2a6d40493974 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 18aa13c085c73c..7bb77253966dfc 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 e1e05d943e68fa..b77630443e625f 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 4214e708b75acb..a01643e3d86c25 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 69ff1413ad5baf..413b1e338419a8 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 1deb7b33dc228d..febe1aa6b7cf02 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 f53f535314b1c8..4abe8fe5ae4a66 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 c875a17a800e4c..ead1dd460b7ece 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 a5d6a08eaaad1e..34fb07d646a2b5 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 de3e7d7f7486b6..06cd568c4d49d8 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 eccb37e144ce65..f0199d3e5fc570 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 915fc1a1eca244..57828f205da5ab 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 09cef06b187498..65a8f3b337a382 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 a45626a0c230bd..04a332c100fe77 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 6ebe697ff74cfa..57bef796d9d893 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 4872f1046f9f8c..6c3b3344bdcf14 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 b978f43ffac2f2..eb2986e0f7528b 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 c663e72dc209db..283e956f3e1e19 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 9d61c487114d67..61f55ad1188cee 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 c161b287aeccfe..c3a8e87034d288 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 1a421aa32cfc43..42429f5c6329b1 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 10615bdce5c94d..ebba47ce36ad1e 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 5e4ee6796b1495..c694353e39437c 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 2a13637050a9a3..1d9a71d796eda2 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 c36a0b1a66891e..17114d4b134a88 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 846697d76ed322..0c9de9562687ff 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 fdf25a8b45e427..44cd60b5b2cfe6 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 927842985e277f..84a6330e137894 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 14ff507b3e50fc..e1d71bc1632af3 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 7f7b7ed8615137..0ff7cd3fbf87f5 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 4aa8974842d27a..4d97a9bb07cbfe 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 ae081903efd2be..ea9aed4d912c08 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 b132f6ae18271e..8b78d8e5558e25 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 b0a45b13950537..76419d852f8531 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 c2382ada7aacc5..eafbc365c9537c 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 7a95198dd7348c..f5917879ca97d0 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 9e3f874b1d7115..08f454d497cc21 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 ff33fafdeea74d..5ef77481ae8036 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 eb0613f83481e8..aa9535f37ff4c8 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 44f32ec0f2d89e..e1b511f6ab95ec 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 649a59efee4da3..24ab2b0b858e29 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 7830fc4e403445..def3b19b5bbcb4 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 70ce9cbffe0599..f923e859c570eb 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 ff23168c83bea5..f71ae12b9c406a 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 fc06f8e55360a6..7b865d5ec0a7de 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 26e140f7826167..2ff8704165b8e6 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 5c324066fdad45..5fbc6398c85949 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 03fd692fb5276a..618760c89081f9 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 9dace10fbffc2c..208a71c0accecf 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 266cd0b0a462ca..225b1939b91c37 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 6ae9679f49825e..b5812f372dd9f1 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 78cf81c344a154..8563f1330aefe9 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 b888b71dc266bb..0897e33e2f1c99 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 5f22186e8d1f6f..13e347ed97e3a5 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 64354f4d0ae858..8a0f6451803557 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 815c7f6d17abf4..8d093fb352bfd8 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 fd236f28e0a446..94b8cd16bc05f8 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 49dd0b10dfd17a..d2448f8fe13f2e 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 26bc1db3ddfd94..62ce098c45509b 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 dc4ca185dbeacb..956ac016def1f6 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 453346509311fb..6c85d7cdd38620 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 092215e96049b9..fd9fcdb0cb7599 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 3077d15c1774b9..619df8d870cb74 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 e0bf200b3702cc..85f60a5bad5d7b 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 475680b8cdd8fc..ddd9e9d4892060 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 8ed90520e5664a..e4b6cdbf5f44c0 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 2a8ae5ce238f42..29a087221fa48e 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 cac7cb0649ba33..da42c1cba049c5 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 3654dee920abf7..9314bf7b78f07e 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 dcd234b2550275..2a243e68d1efbd 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 202c232bc6ac0f..97d4a05bff54fe 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 1b1503c1990e67..423ffc9b271d62 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 8ea4c17a517c64..af694d75ddb660 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 dfc13b4514c17e..b8c2dd44f2c09e 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 9a7aed4d184ee3..455e4f110d02ed 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 d67f677f16d85b..664e3df51ad753 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 e6d27626630761..02403bc87c2d2b 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 07531ef1281550..6b99c2489698b3 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 aaede520cfb52c..cd495540f01673 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 05d01f0dbcff54..6f3f90d345e5b3 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 6c2955a488c4a1..fb578cb2835ad8 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 01e89121a860f8..779272cb195e93 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 3586ccba6b8527..dc7bcb4373d87d 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 386cfe54637ec4..bfc738c336deda 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 092150351f9421..4ed530de95ac93 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 b9ef06f1bb0dca..bcf39329d2107e 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 e50fe235d2ebb3..9bf17069e070b1 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 b586020e5028ca..5457f14718dd28 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 085458601a795c..e6ddb77e3c393f 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 d89c0e8dc87e3b..eb28f80dc18b7f 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 daf6c657bab357..d7754a9bf1a1f1 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 e7a1972fbabc70..97762c138eef95 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 c3658f4ed4385a..4efccd7fadc2b8 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 54d79788e31612..eb991a8d08f32f 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 8b6f28bae063c3..3f2e881bbff339 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 c507acc03f7553..8253dacfe05673 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 8b42631c9debaa..8d86c8764b3e29 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 f799048ea97bcd..e28ecc40432dd1 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 3ada356d4f8743..8dfa4ed5577ece 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 ab347779aaba15..c47a32c832140e 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 b824094a962255..a2b43169421c56 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 96f91eb1330ce1..299bbb04f8f2c1 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 dc4f1b5af58faa..f6c38d6310876c 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 19106665334a07..d16c7c5871bc60 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 4307359eb9d0ba..5779176169989a 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 346c0169547d53..7aa6a2d8db3201 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 d3121330fbe67d..74457804355e19 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 868a2dc59f2cf1..54840960a2f34d 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 ba6a51e4030870..e6e3813299faa7 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 482d1eb2f96445..0cb3b4c2a435fe 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 eaec63a2acbc55..b684a65ddd2700 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 34c6f7f6f7a8dd..23fccf5bd29cb3 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 1a3a2a326c2cff..f1426952535385 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 ef8f5a57ddf29c..6a5d228f6e85ba 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 1be0ee534b5f58..00023d7fba17b8 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 3104e2d9d17b89..4a72c5ab5b494f 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 80f244a7affaad..2f01c1b54a9225 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 c7061dda4aea1e..2cd09db5a9b6ed 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 4d349719d4fc53..9ae217dc074d9d 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 0bf43ee732a5cb..d8b54fdcc59742 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 f14ae861e8f90c..fec2ba1c235457 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 0f4fa410ab4ba8..ccd385670c0ded 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 d287a525b46858..62cb55438fab83 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 5220df9247aab0..0044cfaa1b88c8 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 42c90f708f67cf..cf2b9cac7f541e 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 337c03a65276aa..fb442c718b489d 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 0f551dda84c187..5f16111f0cf6dd 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 218c59406409db..03b0ed4df4a25e 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 1c5a87ad800c2c..2668afcc116170 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 d3988e529eae7a..d15cbb98261234 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 8792dc37a28198..88866b583214d9 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 c95e631f3a59d9..0caab4029860fb 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 d54c810140b727..399b03db0ae235 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 7b566c1bfcc39e..a91a96b3884831 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 f5178fb68e360a..4e326ae74bec48 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 4255a619da4d40..a070fc27b00a7b 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 419a03233d8472..799d7ac1168210 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 2673e36b125977..9153f8bb4ff0d9 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 32d96467241916..281ca661144ccb 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 597c93347348e1..a6d95e34e24110 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 e9ac23e1df89be..8538180c41cbd5 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 a53974b0b45bf4..cb3c36a86a9cb9 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 5d023132837870..1a1ecb25b81d42 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 01a50bdb5ae919..be46996a25597f 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 3199c96fa947f7..a212a7023d7f70 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 5aeee522cb8254..d8dc61ad71dc4d 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 ccc5c838bed369..0d6b0a06c3fe00 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 2553b16ae6b77d..16129db783b041 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 ed87cf9d2d8012..0fb639baa52e1e 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 c00c80ec57a1d8..134b433ffd2c47 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 278816ea482d2f..ebe8a866ac3a2d 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 b3f05eae9c61a6..7adf7843e9dc45 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 889758b90f491e..2729a99c5dd2ba 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 f051146df6594f..64d1b30dc2abdc 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 bc18c5cd699b06..d03ab4f669ce58 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 624e67df6d0c3b..8fa48f89107970 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 c17e8a2e0609cc..df2a157a294467 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 a0e32854293082..89bf368f909ab7 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 f0c83191928a62..cfd7a6ffd63dde 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 05f1f930167045..8b7ba00469399d 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 5a0cba6a16028c..330a519eea65e5 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 2cbe248d98a46b..0963833d6f0d9a 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 a3ccd968206fbd..7ed3805afb57a0 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 4e35c2724c08ed..01d954b9fba942 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 f958a484fc82f3..5de4909f7c5b80 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 1fc884b2552be7..da4a27a33fd381 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 70f6d852b26cff..cb0851ac0bf34f 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 e05d84f80a36a6..1d253723d00649 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 d64abdbd8611f3..244a1c36de620e 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 9e4e9b92a8aca8..317b42ec9ae5b1 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 1ea8068923ef83..12fb5e622728fd 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 9a738ad8cb3b89..bfbceb58d75eb5 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 c73928064a6007..da1077b96c7ad8 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 9ae45c9cf7a345..107d3ec1fc3285 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 177bf6571b9d78..7eec462cc5e9e7 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 98f28ef438421e..59a57882734dba 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 79b46ad541a521..f80e33fcea6252 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 75520615cfc694..3234797d5f7f7c 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 eb7d96af8b6c72..2838f7788c09a4 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 c1cd3e3c0ad0fd..c7da001b46cca1 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 99cbde976cbe2f..cc5e1891cb2401 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 88a0cd1e920de4..89be757e5431e7 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 8404e58d943471..c1ff1e464e135f 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 0f31225055d14f..5011ee09aebd25 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 ab2a7167ed5a84..91c777f3137002 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 c0c2262dc7bdb8..ae173b1ae239b7 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 de9a9f6ff96c0d..7913a311a7863c 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 b00db8a69019f2..b233a708bb006a 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 a798e32e495df6..e5c3e44c321ae4 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 284042ae1941c1..68269f78f5cb53 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 f998239559f0be..145a83ef05eae6 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 8783cb0f88b9cf..a6f1438087b3ca 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 ae656df255fa15..74f9e2bd2b8e7f 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 7fbe9ef2403317..e8f0ee2a528982 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 45378db05e72c8..3e088c26c6b296 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 9b7cb5abe1f6fe..5cc465c5ba8679 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 771c914db8c99c..1dac3b91e67ddf 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 663f4fd0c2062b..0e86470d495b9c 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 e4a16ac934b944..347a43318d915c 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 8f9582902cee71..0395633c45f1ac 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 71f7416daf7f68..cc936af840a778 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 7bbe73cff57400..464349be7920a3 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 fc704f9bb8374c..53923d0ac510b4 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 a36f08dc1e29fc..3592cd68284481 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 75960586aac532..bfa514edb13400 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 301a945c332a99..087698afa0953d 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 2b906eef7ac7fe..e0a18021961fd7 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 c5571d248f1ef5..8e7b405a9d7dd0 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 d2c1605da5793c..d513df4ad854d1 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 ca9285962a85d6..49a5986709b526 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 beac7516001873..9f137bb6cf87c1 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 55d0661763cca0..92fb895b7bbc5b 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 16b75080820f1b..98dc68154d47b7 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 5f6300a9d83b8b..cb9441ae4fa609 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 f0f1a4369a3db5..f3636077b38751 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 46ef395db8d937..ff89de0963724f 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 01d2a6a828e4d5..14250ce5e39661 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 99224a8ab51fc6..0572255da3a3b7 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 f6f2ce80846951..59de5be9688e6f 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 50152ad00f2345..090cf6095b61b5 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 efd0fcde2a7ed1..d3b9704e4784a0 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 ad5b24de08b102..94074b73204da6 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 e5de83936c7f8c..b245bcada3f9dd 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 18d484d54927e1..14ebaaf6cfb553 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 b5107268022ef3..8c03c233fce916 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 c45b797105c1f6..5ae6008cf71aea 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 ff37784147cf97..18db605fc64042 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 900a04e9b0df83..3cf7711ee2cce9 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 aafde1a7ca8cbb..2bb4279e540aaf 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 da7ae3813c4c82..0291c57fb23ec2 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 5b4ab15c703fcf..c3e26ab2c6812d 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 6c795276c49f1e..3dfbda496f6d38 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 656998fb5871f9..01d52083d088ac 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 03676eb6196edd..02718f035c0898 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 d23f33aec3b92c..1a38199554c3f9 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 69dfe21300a7ec..92086d579167b7 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 867542646ee72a..59e40cd31e9c76 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 bb5aa78b41a575..8033939ce4c4a1 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 1e2e2a211b1bd6..6416a7aa6e0f21 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 e3bf1d10420e69..f700a8fc1bc0f8 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 801f3bc82163f3..628b29645b573d 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 036138e19f82ce..db52f6d3c52683 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 cd6a6aeab39ff6..a26c925c3ee086 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 3ee55ae3e0e7ef..154e2c30cacc36 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 260f1f95c6b8ff..65adf94004f350 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 0d9aabac5c8c09..0f2a50e380e92b 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 99f434ba14e301..85cea19ed2891a 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 89d0ef7b4ea987..7b693884b2bc18 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 f8f0b1f6b24dcb..a409ad42811ffc 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 ebb5be508c6c51..0a14569f938df1 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 d1a78ab1c14a6c..f202cfdf8ac9c6 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 d9aa474b794d01..0cb8fb501f937d 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 0d4eb0bfacb0ab..d6b9f489029000 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 0d3c73a87d5480..0a5029cd9dd1d4 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 3d4e0859d93a44..fc1065ea307bb0 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 0a26d0343e7c61..ffd48ef0c60a84 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 493e88a3c11cf7..50ff4b899f2e67 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 571827d78ca2a7..b25e4228f3e6af 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 dc8efa4b2fc24e..9ad567eff5db8a 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 46a7a8acba931e..0202847b0570b2 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 eeab2704e8d47d..84876a5922c280 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 c051b3f3d8a6a6..eedc1f2d542be2 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 5f4cda8812fcaf..10de5ceacc0b87 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 63b92a305f5bc6..bc42d7d150981c 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 03e262f48768ba..4c828086b5ea05 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 592d89a14637af..7343c868051473 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 c89e6a37f130d9..727ea9354bdf9c 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 6a287d7040bde4..5e942377e203ab 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 9249b54fa7a627..fc75f67c693985 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 33814477f708fe..038ee3c4078667 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 02ead7f95fe97c..fb243f935169a3 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 e59c0960c539b2..fc45ddf5945aca 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 3cc3dc802b5ece..82c8ad4173d258 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 defe5d81b92145..547ca61fd3d4a8 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 65032d296e97a3..905d872c835981 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 4cc01fc8cd849f..fedf156db6d119 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 e01064eea4f2b2..efe7fdc08db1ef 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 b7628ca67bd6c1..fb9b2a773097d6 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 f0d41efb9f3678..78706aa7d432ce 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 b0560a4c74a13d..52e520dff0c907 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 80189d604e5376..76b3d931c29183 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 230dd6cd0b1f8e..74a1c2fe7c3ea4 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 f35a13279348be..fdbab32923f388 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 e0a164cbbd4486..f4c3bdbf19a790 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 93acf51d0248cb..781a92ea217ff9 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 8eaaac200ab8da..436a6807a9772e 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 0bb28173ba94b0..bf18de27971025 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 c5a9fb270bfadd..41f646a1e65124 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 f3a897ebf1bf25..5fbf6c8ac81f40 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 cf30d79d856b14..6a1a2c654445c5 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 b4de7c4ad77874..8b8b9d3bf7000b 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 33fd40dac450ee..3d9b3ac8ec7b16 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 40617dcb56746c..316f73b1c3c811 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 e8f55a269b1769..621285cb2dac58 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 a9093cf2978059..de1afd2aa39c9a 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 29de6d2b25fe06..74a653befd1cf8 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 4f9b053d023528..55b88bdbef3b7d 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 a38d35b38dda9d..74bd69c8bfe402 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 6dc9700fd369ec..7f9d1eb0a26078 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 1ddb405632906d..2bede94c3261c5 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 9651d7b2b6bf45..078e93f28ecb5f 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 b8998a13432427..fc43dd000cf7fc 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 4562985e2c3a96..7b874bfb169d83 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 15507787c4ee87..239c073646e281 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 fb215750b37a83..4f23f3f794a6b6 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 089c4634757064..f89e87f689ac77 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 97880c537b919c..bc8856457c9a32 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 1099f9955206eb..f81f47e97468fb 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 bbbe135910e2b4..97e5bf2a79d91d 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 f3f9c18a39f392..fd55a4d0c91530 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 1917ea859cffd1..e77adfff9bc5ce 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 057c628f0c3511..36d4ad61531cc7 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 6577538c0332d9..45155f31343392 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 3fb3560a6ab499..feeaae13926775 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 9a035cbcb1a737..333e76a7dcf249 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 1433cd72a866f2..a9ab7997f2f016 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 cfaf4a10e9b10a..44ed746cd7457d 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 7e6b8a3cf5a135..4e074ca86501ef 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 604722113b5459..29e1c61dd94224 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 34df366dc1609c..6b51981e5221d9 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 5bfa15135a0c7a..81420d97097baf 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 81554f26f67383..8f7c3ffa14715b 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 3922c3c1d63eb8..e5c564b17c9623 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 057ba147d25301..d54f57434cab5a 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 3bb1f1b17b2b47..292286c8283d18 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 30c98534f16eba..89aab75e3b9b08 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 d6b16d3a3d179d..39c3d709010ca9 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 bb5fb2e971a908..f193dde4e7c2ee 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 cc06f8be4aeb14..5c78f30d4ceaa2 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 66061d56eef0b4..818b46fd776f00 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 ac05146d70d7f9..2d13662421c6ce 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 1179cd078275f4..955ada778e23eb 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 bdc8be8697feef..72ce25894de7df 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 920ccf868e4c28..010d3ffc8c9af7 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 6b491f783afa6a..f625752069bce4 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 e19f18d3c1d625..8c6bf1cdaf382e 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 1db445aadc3700..09a09cca7d383b 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 45137d62052ff8..5884f998346456 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 e794fee1307ed2..acc6fd235b212b 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 ee9f26679d2561..45733d5149795e 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 19af49c2a72e55..06fca28402c12d 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 d317f5cc791dfe..a1b9eca2aede60 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 639b80e52526c9..afae6eccc3ac28 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 0fa42d831b7c65..910f16128e88d1 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 d6e53b8e944505..75c9629a621c8a 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 af48e92e7dfdbf..49fb1f6a5d45f9 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 107e3e070412f3..5f44712f429d6a 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 6f37d007230fe1..f45ce88da5f295 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 8ff73aa72306e5..7f0ef53580a096 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 9181d327c0c0fd..ee8f41e5c60c77 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 3a339063dce58f..14199f0bfc4f72 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 c3f741748ce719..7c2edece23af63 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 7f60d86694809b..f6f9991648018b 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 3297756c900cdb..f2be2fa943a825 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 b30fd499478fc5..11e7378248cd8c 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 8df3c7e03879cb..1f8f8be459b2de 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 ea8c0bd40c8f74..209ef86beb3704 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 62efe1398ccbd5..1897b59e88ac1f 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 65563948d53dab..f1761f4c7e9de2 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 ff7ff6508f8c68..2ac0d36fa2bc84 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 f1d2a5f25c2c3c..b49583c2616fb2 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 b73d1050c1ad7f..24da618f9b88cc 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 30ec6b9130b5f3..99afe162401ab9 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 b8a959634581d3..f223ab6b64258b 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 0e1ccb3b5ddd20..10df7de1374ae7 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 36f71a5625ee69..5836f5c18a26bc 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 c4a9666ae201a9..13ce9c94646f7b 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 039ac1a6204e6d..64ffb5419493fc 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 e6a0f4492da321..d9d13b657b5e83 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 9c5511db16fec3..597e6c516c7c29 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 ef3425dccb800f..1d90a22fd2f0e4 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 07b55848b42a5c..7ed9e1c8cb2d46 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 8ddad07855a633..8bc3842fc907ef 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 d145c4e6645dea..69d3a906715fb2 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 357856ef639f16..52b3c5d46c7290 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 59e0e694c8d0a1..3d6d47ff27a0b6 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 e0c66dcb83c0fe..2e93f94be7a72d 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 ef69e57b35cba4..b4572f23c1f72d 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 c11be62b2615a6..b1a948e7d6b88b 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 fb0f4bea200701..17beb14b058794 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 1a0cecced92c93..fccb79e73d7ae5 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 9e2ed5e67d9d01..6754b70cf5b4f1 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 a08217f8446e53..667454f047e246 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 21432f73a60d39..c22db5511174ed 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 7f6e33592ab454..529d887202c4c6 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 82d7ee4b6e8c6f..eeca036a81dcae 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 a658724e942366..0985d6ae026b43 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 643a884c5a0640..34c300ec180175 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 d7e0708b1de2ac..ef4d06a62e9d3d 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 b7d05ce47c0880..cb490baa18c8ed 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 3d58ec7780f6d3..48e1d326cdbef9 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 a8f0baa647d4a5..a8531466d99f56 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 8d6d8436873965..dd4cd56e521b77 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 d2c41024959cae..9bd44ef74b27a4 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 fd48dcf4627b1e..bd8e5cd262ae9f 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 3687b83e259be7..dec1fcde50ef69 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 0bdd5437d6e780..f7cbc5c307bbf4 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 d26751ea9595db..9a8ca0b00196b9 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 0df9ae2c5116cb..441cbe3ff41c24 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 2dd2b47d741ddf..6d35bbad76c8ff 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 ccef2f36953830..2604a8c375878b 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 17367176440582..7cbce9d2c802cd 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 2fd2534df8f2b7..90bdd825644c73 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 eae3dbc89f4ab6..51668379cd2168 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 cedf295945b5cc..6e691ee13ef6ff 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 6e683d1bf0f852..de9b246a82e911 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 9bc6d0342626ea..fcddd9703e7edb 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 201f5e987dec07..1d1215064da9cb 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 802c965ec39b3b..9e5e6ab85a560b 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 71847c00ae84d1..34d43e89e2dc84 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 28603edc11c48a..3163c2d5547482 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 1cdfc48804cd45..96feae983c69f0 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 0dcec3eeb261fe..2f093908784cd4 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 8cb51af75f32c2..a74e82965c6d4e 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 0266e00eb52991..6a45f2eb20191c 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 e8c6b364d1efb8..9758ea25524755 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 c7f3739629f414..c4d4c3cbbfd92e 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 a3920cbceb0f49..f058bc552c236b 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 c8c7b65ace87eb..1820639b82e636 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 e0e5b54854010c..1e96b5219f201b 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 3fa30193b2df17..bb4c105c35b0de 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 3118d0ea6224fb..1277a1868945ac 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 6c09ef296b43b3..ee4f07988b3495 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 e649af963857e9..f3962ab38f177a 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 2d97d25e985f1f..af3105aaefbc58 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 d5e4f58cafa30e..47a39c0c1bb1d5 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 4902e6cdf6eb87..80fb5674050c12 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 7b549c3bb301c6..f8e1e2c645fd05 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 639c5a594c3889..84b4494fb00916 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 47789842866d83..f354d2ef742fc3 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 de13eb3e21b740..40c24c5cb813a2 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 251f839243fe67..d4cc5d6495dbad 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 317264f11c4356..cfa51c7d9cf50e 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 733831523a25bc..fae9650bd9bd31 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 a85f9502f9eefd..e8ae0080f2506a 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 79e0c128fb9df4..c0746302cca278 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 3e160c950cc637..c068bf429be733 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 04274f8286d41a..f0977876e9f4af 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 b360523426462c..a83a657c57d251 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 803ef1123dff00..96685d01fb0d4d 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 37bf8f491df9d9..11c90024b2a6d6 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 ac5f4899f7e8f8..0a5edbae02c861 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 e2f8eac8d13b40..a076f0707132ef 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 2162e661de368c..b3960c45d3663c 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 f49093674b267c..e62753c50de331 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 fb2797532c41ad..0fee5c1f78451a 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 d1699471b6589d..a556da8ed73a05 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 d466d7bf3a9e73..ccbcda0b92ea2a 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 e9e3005e3a61a6..d1bb62e277d87d 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 a4c2f9246c94da..508d714ec92320 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 b8f2a19bfe8b5e..003e00c9515ddb 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 d47b7af83d0b4a..3fc37c837d5fad 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 65d3616d02d07a..28210b5e1184d5 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 9305faba452e89..249a31ff74cdc2 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 fae8fb7c588c2c..a820ac2b1b4918 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 674569a58127f2..c3eb2910dc70aa 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 de5ae4f2f8e185..0fd71a3bbb7216 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 546d9fb21944c0..18651d0545cb36 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 13ae5cf2e915b0..31da33f914bcaf 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 389de2df47d20a..04c430d07c3195 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 dfc4fbb478f388..7e7d9baf3e5cb3 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 079558b514d7e3..38716fff66b6eb 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 9903b1d428d32a..8982cb2b692e00 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 44b72a13c375d9..0637a96e408431 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 ced665eb53487d..e4ef955c38c81f 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 cdb3b0980f6356..d9fecfa06db761 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 007c1d44c5d737..8d94c58afd0564 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 b538eabec9da62..e166c65a7b87a8 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 2e24f2830220a6..c4904fddb47183 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 31da4bfb6338c0..7f7402dd3e91c1 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 f3a34847a89d6a..50ac6dea8afee8 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 486d2b6f460b5c..3d5d0ad05d15eb 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 91e64eb2874cec..2c95b73e0a7f4b 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 949a59f07f0a10..1c1e98a9393c38 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 f44f841ac81571..5b2051060951b1 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 3c8b89aad2787f..0771e0ecbc1dfa 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 ca420e741738c1..f38b398fae344a 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 a4de87c1aa9689..ecf7c3b416e288 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 8afe40bf9d65ff..6ace8c84bce878 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 8e1151d4dc4bb0..f7810673a5bd78 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 f52267d13ec048..cc9eb17c835c3f 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 289b5e7c73b803..ec2d019c69dd81 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 1b010ee6fd66b5..c7afc111a8f6bc 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 c33fb7aa86903f..5d8b978c22e295 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 8c29270ca0a404..cba0988ce21291 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 7f63b91e9087da..9352f1b5d262ce 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 1cbf7826069704..91fbec22dcef15 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 39e8dace7fcc72..b49deac0290382 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 da876cb92ef02c..892a600a1df386 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 5c0d471584c9c2..39fdd38f8704b2 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 b389c510c921d8..4c15b490fccfae 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 0267b4e0f13524..56d6908e393704 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 6c783761094302..b9b424c2d6c957 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 2379a2537bc887..7433b53ce31f4b 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 2e4deb5da52f40..14f5bd08877ce4 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 48f78db6d77619..3b47d182c3d734 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 4657258429b8ce..99bb656b3f1848 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 3ef8c512d75131..df2451b56f56bd 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 78b0e9f0eb1552..232b0c2bd09f05 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 7fee26efc22cdb..63c6c08187357a 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 9656f1678dfd7d..91473519f5aa3e 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 703f18b0639a15..3c3bc318af3213 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 081312046d0ef2..5cd8a30539b4a3 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 648bd9e71019a2..aabee1ab828423 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 793c10bf222ba9..d318839477eaf2 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 00fd06bdffd25b..4de15d58654779 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 20b22ec7592b7f..7e1778195c40e6 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 8ec409af0e2f50..5912ce92d57696 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 f38fb43c492405..2e6f46269e5727 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 d1848e78f16107..12f8d4d5b9e5b9 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 7d3b502c3d16f9..050f8df173502f 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 cf9ef35c828032..b8e0390fd57b87 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 5047fe2021ac0a..ff66f88ae63963 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 85c0835ea6b084..864aa0dd5ba7fe 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 21cdab63a1f7de..395ddd4be3cd58 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 890feded685aa0..2d12c43af2039f 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 0ec86f71caf414..0c98f47624753e 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 b7d7d4d7bb689f..0e86cb6c339df3 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 219c6efb0d2629..931ba74e1cb6b5 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 a7a4111c72eaab..f4137a69807897 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 90f45d43cd5af1..ce7e53060d00a2 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 bbbd0e5ddf8c64..ea3350733f3bc5 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 69205f8e4eb47f..c122ad2f327a19 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 be3e70da573d25..a92cea7e915b37 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 8aaea366ed824c..30246eb770f785 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 be3e70da573d25..a92cea7e915b37 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 01e75758afc3d8..2710b2534a6ad3 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 ba036854ab1290..96d3ab7bf2b34a 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 17ae762772aa0b..054fd1e1bc258b 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 616356b4c18544..b1a59637022fed 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 98691b1f1c2c55..a0a74afefae7fe 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 9d0b21188e343c..6e3cca03a0b970 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 e19d7951370f6f..42be06ea49f025 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 442ec2995dcddb..b3f5ce10ebd132 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 51aa4b05894bff..5f508686cf3b1b 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 6bcf123fcc147e..5f984bfe4b317c 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 86561906e2c79a..f811afff470faa 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 15459f688d8e6e..7ca8b294d6d5a1 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 8f1b150dc819a7..653198a49898fe 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 a39b8fe3b0d3ab..f68cbae88d8269 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 f704520f399392..d2460802aef551 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 01e344f72c4d74..7d46abb53ee166 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 124701b140ff41..be5c821d7e0e24 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 91e001cde341da..5fe1a80d5291d1 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 3f9b2b3ac3f9b0..39fdafd131b3f6 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 ed5d02c50a6fd5..bea2cd2b0f5496 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 6e56a01ede0345..a90bef6aaf15a0 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 9ffc342d880e78..4b1f86e755bf4c 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 431f647f8aaf15..35e12c5d676cca 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 658a348431fb53..5b6bfe95bc47c7 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 f90d52858700ce..1d52b3a34039a6 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 66dcc7ed4016fc..21955075beaab2 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 2b43ff461e0016..e23744b4c45f5a 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 633f899ef44c62..0e7c250d89ddd9 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 7d16684a92ee38..fbe5ea734a755c 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 ac0c42fec7216f..0504d75e261a45 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 d467ef145f77ac..a9796d08ebcc6f 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 8731e2008eb11f..636e0f739426da 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 5622e13c60490f..b1f316583d8e63 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 02ee2592a9d9a0..4a267232cbfe48 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 9b4259a284a213..8eb42ba19b6547 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 62f3456e92647b..688af46a3dd093 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 b00214688e7581..66ae976fce79ef 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 038ee03199d7ec..c3b8c73683e83c 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 018f915a918630..2d87592e74415e 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 2b5f0a6d959140..bc3b8028cb5f9a 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 f86d3d2cfc3d6f..52f1f5b8e00362 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 4f98bbb14b0e6d..3f0d7345fc865f 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 25d431393f7093..7ae4a5c7e54df8 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 b1536bab08cbd9..7a38b41550cde6 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 b74979e2ec98a4..7299819fc808a0 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 35fd858287f366..8541bf931e5da3 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 307473e1566cbe..d7069c70ef9afe 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 b7e013e7ada3ac..04bd688f5f3712 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 2ca9e4a9d5f657..d90e392570d52f 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 e9348ef080ab79..8072c515017f5f 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 59e46323bfc8f7..3b7865adb8e751 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 e28e1f97d553cf..83ab59efb0a769 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 cd76e48fd6e17a..57fe91fe37d653 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 155c5a4de6eb82..e2b7a9b022c604 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 54df48f6b729b3..83d035e06ae8b2 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 8b743a708fe286..773f7b66eaa4eb 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 821bcf94b3f0e3..7d2e2fa7ca168c 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 ab9cda71a8fa9a..6b333bd9234472 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 4e4d6dc97597b2..28d354f524e573 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 f36aa9a8e2f97f..2b2987c22c1c39 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 b9ca3cf93f905a..d59bea8cf81f8d 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 3b11568db9ed5b..84f7f5a5922448 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 08e4006bcb95cf..c7829e0bf0f827 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 f266cb7a640877..e49835adb12382 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 a2fcb8451fecb3..04ab3f9302c01f 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 841cd76d1cead6..b5d699ac7c557a 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 4c6e6955d99c49..c552e0282eecac 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 ecedfd73cd9548..e7ac026a31d783 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 4e6811be977d36..331a9b78038089 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 8d21c9873937a0..c8837c6f7444ac 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 a168316e4ead1c..b9b6994260a754 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 b11ebd85800606..13ac172916311e 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 5cde647608b768..959aafcaee64a6 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 1e34fd045dc95a..146f06c1640c1e 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 9d25dec17a4828..3d7f8ccf43e1ad 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 6c415a6343471b..17aa334fba7c02 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 1c10941fdd7bad..0a91bcb8e2b1fa 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 344de980d0051b..17a774adaccd90 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 60cd44b98d8366..781a931253e111 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 7306f6a9a3f16a..4761c03a6bc488 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 5d1d755e5ec230..bcdc865611c62c 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 9036e316eb805d..24d6defed38a7d 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 8a66cb091a8ba6..86490605735d02 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 885c3c9050630c..e5a1f5de2a44d4 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 bc403c927f017e..f1eed408092a57 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 abc3106c31c591..0dc7083c14cb39 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 fb22b2716ee2b1..f1aacfab3025b7 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 7402eaa8b8bc63..ed406f84622354 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 f985c113f10e83..97abb9726811ab 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 f600271fa2788c..f4904ca3934042 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 ca435ac7bbbee2..55f82eefa7d964 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 fa22ad8d31fc9b..d5d613b375fcc8 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 601b5b5c4fbe00..b00519de3896e2 100644 --- a/samples/net/mbedtls_dtlsclient/src/dtls_client.c +++ b/samples/net/mbedtls_dtlsclient/src/dtls_client.c @@ -2,19 +2,8 @@ * (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. + * SPDX-License-Identifier: Apache-2.0 * * 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 0b426e8d7112d4..f2eb4f64edfa43 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 016c77cf0d55e9..99743755386c64 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 7f76883704179d..d2a7641115c0d0 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 8da0ca3ce77ec3..3c0606daabe9c4 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 2a4837ca0f8744..a60845a120ee83 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 fdb0a3752b3c92..9e63037bc63c1c 100644 --- a/samples/net/mbedtls_dtlsserver/src/dtls_server.c +++ b/samples/net/mbedtls_dtlsserver/src/dtls_server.c @@ -2,19 +2,8 @@ * (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. + * SPDX-License-Identifier: Apache-2.0 * * 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 26b32e1b131761..20b68a2d55482a 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 f72eefdb062413..910331dac67bc0 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 3b945e5ec9cfa4..ed9b09052115e1 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 d1e0f967ab6b3b..6f417152f4f555 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 ca063900c64457..913a4a320d3fe0 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 8e74ea40581a77..1fa2097234f572 100644 --- a/samples/net/mbedtls_sslclient/src/mini_client.c +++ b/samples/net/mbedtls_sslclient/src/mini_client.c @@ -3,19 +3,8 @@ * (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. + * SPDX-License-Identifier: Apache-2.0 * * 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 4d175289d196ab..675cef09baef77 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 b99831c6c106a1..e7143aa0b193a0 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 7e82293a0aaf95..dacb8c5fd47c69 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 acce3ab7371da0..ab1cce4a1902b4 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 65be1a2d8b5be9..9d7eb97bf42dfb 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 5e44607189074b..a0cd115391fe45 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 c9f8087bb49bc9..766d080e773a3b 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 e9c9c12c588d14..dc3b5416530bc5 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 6c9591abebea25..2348447076c3d4 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 53845d334d400c..e286a7da759ac1 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 8af97096c01182..da24ab81886ba7 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 5904e4923ffe3a..86e7f068573002 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 dd24650488cc89..1a7ab2c63be95f 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 2a9295971ed1bd..13422c96642dd2 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 6b3a564b127c87..88316a007d1e65 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 5b8448235ebc14..72133b5f94f331 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 dcaed67aa9ea25..daf16e37934ebe 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 2a635f06d4165d..18910c56fd146f 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 e545b46d62dd6f..2a79fe49b4d841 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 664f0337aaf31f..68ff53e90b2a80 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 d573165621b387..5fb2b86949e32a 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 9bc8c72169c26a..1f42727d884bd1 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 19eaab24cd7dae..b6363598fbaa1e 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 ebd76d331e3815..cb6fd281a3e5c7 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 87ef54f68276ff..e7c74e4d09c148 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 4edb6e2af7e4a8..090ef13c8a1133 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 f27349c322b202..db6725eca92741 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 c9455460a87c85..dc5c69f739dc80 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 5e82e246842c7a..df00f0a447c85a 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 8d7dcde75d999c..5a62fe044aad22 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 1a86794fa9112d..9be89c83087596 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 3ceb4b19827b89..8a9224c8cbd10c 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 745c78015ca754..61a25ff08b59c2 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 718eae585df745..7fe3e6fd151eeb 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 c84726f9aea58b..76131ddfffcbd0 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 f9b5625a4c3d31..e122be02600fef 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 928914ac6272fb..aa7c8e4cf34f50 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 1b46c337cc93c8..f80fffebda7524 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 465ea61fadc90f..8f0b768c1bf80a 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 69e0b67f740c6b..e5eb20ab6d890e 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 4fdcfc5a6257b1..d601ca94ae38d8 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 46bedf10fd16c8..7c143e1c022799 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 1c10941fdd7bad..0a91bcb8e2b1fa 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 cbb84c4ec25378..a1c5cfad35eb56 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 7f43e7666f5903..b245faa24c275e 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 6299b2caeca9ac..edb8818d53508d 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 1663bced9d37ca..74526b5dbd62a0 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 945d14ec71101b..8eceb28e2b2fd9 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 3abf21c3a5153c..373636f17214c4 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 21ae8798ef4426..88a30b2cb72942 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 1faba10687a47f..3e88c5a3a50c42 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 98886d8fc9de72..68c1b4179f01f1 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 1996085c0db294..b8d2583edbcca0 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 e5864b0d4f59d8..2dbcf992b1cb73 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 779993f174584c..e1674dca82cef1 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 618fff3538948d..d5a2d17fc8059a 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 cf54f8342bddd3..de1174ebc31382 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 a1656578e9c9e6..a03aaa1873f6b2 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 3047553f2f2a07..1d3eb3a8ddd9e4 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 75ea0c53357ed9..fce707f2efa20f 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 fd4f786696d29b..cf9d3fce50d739 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 ee0f389206e3b0..f5cf45e20cb84d 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 449e6ada444b31..cf85d7ce191ec6 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 7f72fedd1dcc66..5933970be1f931 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 b799ad79684ca6..b13dd600b6f5f2 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 295fad3d036c93..1630690c9ea677 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 da0adb81f16023..7d9bac7edb2494 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 950b3c93bfc6d0..9cc18e1555d070 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 4ca3b9736a2fb9..a88cabffe47c8b 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 cb4a61d91a092b..4ee0fed13ca4aa 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 5c45b8531f9a5a..bb4320aca55fd4 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 3c325ec5061220..f6eec37904d30e 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 a3fe7b1f98fcda..9224d063aee75e 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 7a54c85051c5e3..ad466e938d2f94 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 2b5f6bb4f77a11..9c4738dd73b8a7 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 77d2934ad4e7c4..078b7c4f1f8724 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 5687ad52a61b57..24e33c7234adff 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 5425869ce2c66e..13cef6e09b5c9b 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 fc00d4047cf76e..957880cd8b2da1 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 17955b539a7d08..19be736a2b8db6 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 83ef54e097dd06..4eab51ea1a8991 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 85a30a620d2a07..ca20c85585e19e 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 a268ab10fa3698..0dc97e9edf43c7 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 390fce4560fb5e..836cd58d806e45 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 4c8032a4e69370..420accb505a315 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 a1e2bcc8344180..cb178a962e03a2 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 339c06cb28da68..8b4cc48f27080b 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 3a41c4a110d8cb..33e3630bea0c30 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 5b335c05fe49b7..ce4e49e7fb4ffc 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 582a01bd73a789..a77f05ea4848df 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 3e8ea8e86a3743..9fb5271d346af7 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 bcceb694a58114..c002aae3310de1 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 9283f7394d00a1..e065d1d79756cc 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 c305726b818fd0..03d9d883e82e6e 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 e78648d28bcd44..9aa84b721ed4d0 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 c7779241a53543..12d480ff4fe0bf 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 c770abb8bae746..67c99c4e820cf7 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 14eee24c44c282..c0770b6f241daa 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 b241831051d581..057bad13c43094 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 6c4a36141b030b..97104023550c8e 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 759382af2691b4..1aeef532177311 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 ebdc7ce0ee58a1..91b39ef07b3f76 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 2553e3ac8b7aeb..f98f6014db79b7 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 d8712179ebcc4d..114521c8cfd532 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 ced11a955905da..c0de6d81b6284c 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 3671090be6ecfb..07f5aaab0e25d5 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 9b8839449a407b..c3d0d9c27dd8f4 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 7d11d022fa6a6c..bd04eb499b7238 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 5d41641d429616..793aaa1aad2e47 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 80b5c8be02bdec..e950568a5fa78c 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 368595fcf00c51..1d91b557b749c8 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 59a9ddf90f79d9..8500329b7fb455 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 ed3832bc578ff4..898f05d627279c 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 db4758a3b2a461..418f0361b49334 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 8b4581368170be..711aca5a100194 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 e108d02cc037c7..9f97fca7e3da62 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 6bca2550a1bf11..7ce149951190ff 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 66335938b91c1c..6ab33c8e9fcb67 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 96807f2e7f1029..4cf3c116e8d118 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 ab62fb2a354c89..fd7bcf6777ba7c 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 77ff0d6fe129a0..db35f80a5cc22d 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 270b0d2343641a..5355d0db3b7874 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 34fdc7facbb8a3..d2b0cbc45bc1ca 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 1f911e3f11524d..e0f22177635724 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 5efb20e24fa233..bc6816113987f1 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 6e53a16cded0a7..6a7e72df1a5083 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 1740795c972e09..b096666bf19150 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 ef2b42bf17763b..42566da4ff3b08 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 bb372dcd1796c7..6529998bd14b08 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 5e43c23ee96ec2..a0bd4fcef3c9a5 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 98d675ccab5ef4..db3a50e552ee17 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 9cc2adf5cf9925..e1e040b7038df4 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 986845f13861ac..9faaee2d07d91f 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 d179225c60797f..a4f078128c0efd 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 762e8e8370ebd8..850453040ba202 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 d103c6aa50edd9..2d186b7d3ad85f 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 f6356838c6e50b..ba7159d77683d2 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 3ff57e1148dcfb..3c4df1a72d03f7 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 0600f783abc069..a4fe98f98fbc6c 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 44373b7314bfa2..fdce300168ac3c 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 e7bd74490309d5..89224cab9e0f39 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 17a6aa8a6ad220..52e12b987d2f9e 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 675a5b1176bb67..97b42f808f0b42 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 363d1776b910c0..90af4e49c0b70e 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 d253ddf9d16a84..f9243c3b56b6af 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 e270379f100694..f7cca762d6b138 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 01471cdc93cf27..0c1912a1002246 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 fac42b988b6e01..ceb5af3997dbec 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 c41383e28e259e..d700281f542339 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 116ff3e114193b..4a63b3a0b4b8ac 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 cac76c276bb8a1..dbcaf59a14c6a8 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 38dbd8b00e2192..7f8a7ede44792b 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 3af5c58f735792..9f11df9f66d1aa 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 77216a15ef938e..805be2085e098d 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 7a1c6cad13e282..dcbc63f2149c69 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 720655cbb75267..f86cceaa1d7a52 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 fc2986f3b13baa..ff33161d4b6976 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 9c93660df48261..09c7ef771247b7 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 e8ed932723e055..e521ea7d96d40d 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 93d4123b64f071..982392ab8cadce 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 22800685268ac2..cf2ac360b46e5b 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 8c22e6700b4e44..3e25c6e3d355db 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 7b9d0effab1553..76c1c49e19c565 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 c5fe42f99ef066..945b2d526abb1b 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 6308a8526b8246..2d36dedfe60729 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 96a085ed7c9440..d6cd35f9fb9128 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 6ab42f42e8c504..dd6201a1ff1213 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 2440e2289e0cb5..36ff33ada8522c 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 2adfcbb50a64fa..21a6225361228c 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 4064a2ef73c3ec..59d3f8f1b9e64d 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 0a69e0017ed445..c37b205e7a62b9 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 379d18841611f0..8290ac0d2eeb2e 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 1fc55709dd1017..c5cceda8a349ea 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 2a85196edb1efa..5874227467d739 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 eed3929fb515fc..4f677b0e5bc927 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 22e29b927f9132..cfb1b4cc03b276 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 69251078ec8a16..07710cdc3446b6 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 6d2de3d6414c54..99523303910cca 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 3404e56d07bca7..16ea9a0919f904 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 a4caf6338b3c75..6d580bc3661c69 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 23bd3ec722d5d0..e1486c116c9047 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 30e8f865d8ccff..1d807e70840740 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 95c627161394b3..47b9919a40c729 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 4f51e6c6a8329f..df9debf49348ed 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 0a7991511b0cf7..32e7beac2817cb 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 8036a4ae6c8664..d6acd0c79bcb5b 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 6f01ece2248258..9e130e7d8d0532 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 280d1203730741..07baffcef3c608 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 20d53c7f6f28a9..f8277b45a6ab98 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 bdd9db22dec9ae..5dc70025892e46 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 9d3599cae4662b..92517d712110f3 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 1e6ce92545e543..6df7a002472501 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 599a780339fbda..28e092ad0e6a8c 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 eb4c90d87059cb..39480a49e4ca31 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 4ed5dc8a17aa7a..f1ecf5c21c1843 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 ccec2a52a480f6..21125bf3742108 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 dadc84e7cd5712..f87264d74a54c3 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 b044643f10adeb..766e999d50e693 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 4f2f8d1fd6a7ed..d96885b2e5e0f3 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 c7f96aa08db722..2f021bcdddfdad 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 7afee36555fb59..09570219d467f7 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 bcce325fd5e3e8..9d27afa5d872bc 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 5d27299c55cb91..20a928b1f83973 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 8025d4b7797f20..b35b0f70a3c76c 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 c47341bdb0bd0f..71c90a771932e0 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 4cd77313cf4ae5..5e994fda1e2542 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 b6de8a46a9dad4..0960dcf0cdff17 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 4dfab291dce958..3364a1b7b43ef6 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 832fd4b7ab642e..a08df234e157f7 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 54ecdc90567325..96add1513fae03 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 37bf9592074f2a..8d474fd24af90f 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 979922f32d5975..356dc620c1de1c 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 40721e6482b3e7..c9a6d3f814d486 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 2836ffd292b01f..453f22693a3687 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 bfadbb525fbfbf..d0503bd1fccb0c 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 c1ea8fae7158d3..5ac6a378ff2d3c 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 4da5ae3e2bcae5..7555e18ba3d2f4 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 7c1159a7b7de6e..4cf62cd8d15a9b 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 d9b015538579ef..44aa0449727ead 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 e6fe65f90fc6c0..943e3f7e35ef9e 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 0c17fea4da416b..fb1efebf6c695c 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 6c0ba22315c61c..e6a783a910ca82 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 b6858dcc60a02b..c3ea03d615c262 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 02ca505b12f063..1589801510d9ef 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 3abd0e3e12edc6..85430297b203f8 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 95246610f80ba4..aad36ac6cc35f8 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 93a06943e9b4aa..dee7676788d4b4 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 98fe3324589b67..b32482d98bcf18 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 5c9107b8606cae..a22f03fcb9feab 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 fc975ca180f92f..47d1761520a1dd 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 3d50581111dc85..cd3c2b13adcedc 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 5fe5b202825eec..db9721a3274456 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 808917eccf7a13..ae2d080c9000c4 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 a9443661fdfd5e..ecb56b932a5178 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 37b3a27f993577..db896111ff23c5 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 fbad91d762ed28..4b599179b5a3e2 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 00f428e7a9ba43..5a8b636aec36dd 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 4bb415f41a6d9a..9685146751d6de 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 1262e597a17a9d..84c25de1dd0e00 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 c2ad2655895307..be5f3c6b1ec8b7 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 66504a55f1fc61..43565cb1e80263 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 2cca47f26e6f85..62c22d80da8630 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 18336eb7e1dbca..4ac362705b7a4f 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 f189b776b341c9..2d7e3766cf124b 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 b15f9c539694f3..2045635f7b8e4a 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 e2e505c073657c..be8e60c5d9a284 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 1199131affd491..98eb49e29bb33e 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 42212c42b44abd..d52bbd8b617da4 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 62b518cc9b65ed..4eb36b29cfbfc0 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 7c000b906a8ace..a75b2098085618 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 41a9d604b31065..4b935f0b870266 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 29707a182c07b0..e4e3f351c12c37 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 c4936c136da877..51176c13ae977f 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 b2ba52380e13a2..5375be8a5c23d0 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 3c8522a327928e..eaa2b743226bbd 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 fe7ad6fc2f6c7e..b96db4609590d1 100644 --- a/tests/crypto/test_mbedtls/src/mbedtls_test.c +++ b/tests/crypto/test_mbedtls/src/mbedtls_test.c @@ -1,19 +1,8 @@ /* 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. + * SPDX-License-Identifier: Apache-2.0 * * 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 551c14579873b3..bc25e8aaf8799b 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 62fa57e2faf48d..e7efb0b7a1da14 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 3b7d7e5e4b6412..933641d604efbd 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 0af307f0bb2c80..f8f6adfc4feb56 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 d6da483e87b92f..520605189a7bfd 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 c2f787ee6a1e6e..c6d05b9836fe51 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 812f3f4a662bd5..1874dbce816009 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 f75ca7bf39524b..c74caaf47aac5c 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 70d2aa0d0e8896..3a032ab32a83db 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 c2f787ee6a1e6e..c6d05b9836fe51 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 66029e3fd66eff..41e89561038ec8 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 51ad85e1f6a148..5fbec0ff3f1e84 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 79813af6a58b4f..34afea42322196 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 12d1d2d00e9814..2b083d1672eca2 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 c74a7fccf2c06f..85da61385078b7 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 c2f787ee6a1e6e..c6d05b9836fe51 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 0fa7eef230d4aa..b6b0e3742655a1 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 b7e013e7ada3ac..04bd688f5f3712 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 1a63ff1bc0dfe7..94a8dd885568d7 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 43ead2e3c1178b..8881e047f89a44 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 c2f787ee6a1e6e..c6d05b9836fe51 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 1c6e5f5f52b4bb..6e8b1b269ed694 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 845dd3f810f921..424d3c0fe2583f 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 005def8a5f32ab..8c7b2e85930e91 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 ae731bdbaeac67..74af35fa5c5038 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 7b8257b08085c9..2cd5aa89a73dba 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 933ddfad47a310..5470d49811ce17 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 0b42e551f9b330..331170d5e84b46 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 59e6a77568977b..7940845e4b9694 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 6e3175b370f9d8..3f961b1d119006 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 60c35731daeba3..606f80d7fee5ab 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 f668759ad46438..3c89eb406e3e7a 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 2b3daf8cc07a54..3a1a98b5015141 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 cfaa501a28b09d..830484d57771dc 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 6d5da5c3b37204..8dccf501f5983b 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 a8d8a4f6c63ec6..2b801f281b4906 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 e09c87cb5255cc..c4fefdeb775f9e 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 39a117c3e480ce..de9712ede3d2c8 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 de7f9fae78cb03..6a6a95831ad38f 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 be46b6c5428f83..d2cdf6f60c29bf 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 22d17f6bdffd0f..476f499e967140 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 05e2b4a0838887..a56480d2f3483a 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 250144fc69e8ff..af3ac0ad233183 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 bad44220fff4a2..b28177c9d0000f 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 6450ca0163bec5..42ed359643cca8 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 4db96f32dbfce3..7e469b129d6594 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 f64ba3057362f8..aec5c69a0a9c36 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 cd66490a704383..cace82008f9b5a 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 73698cb7b4dbab..88894464f195ea 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 89e6dca8e1e063..e578becea15c89 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 70c7603b5105ee..6a9a3896d6810c 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 2a0878e8a3c1fc..ba087e5b542b57 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 b3f8eb597f62e0..f25564d81a6732 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 a8838b0ea66669..207b209c3a0068 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 57e58912a0b7a9..3104c895821ed0 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 d223a5f0ea5311..409c0a6f82c352 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 69d212e5331e7d..d36401d10be32d 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 647d2119215859..b2ebc110b4189a 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 9f2e494e3d6f6c..7ffd27894c8101 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 5ad450abf01b2e..38eaef42032b71 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 c109f404628a52..5f32a93d8bda12 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 6ebc34f0e4957f..0698afc1aad67c 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 7116f1b1234cf2..d62d5c9a80c8cd 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 fbdc83f0e3139e..87f0e7e7b7f11b 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 859845264273fd..98538d18248413 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 ed76b86f04bbb7..f24574eb3c507c 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 20747f0b01435e..e0f58b882e0d42 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 31331c40f69c02..c75df6d6cf52b5 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 b17ff5e63db270..4127be4ff89ef5 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 db0162a0871a58..e77e3da33aa3ec 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 29beff21ed39b6..fe508f4245aa90 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 2dd86bc2975ed3..79e809ff458ba2 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 b87ee485c7c39b..06eddef54c9fc4 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 3a91d51e2e3348..84cccdd63ec870 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 250bceeb37d8b5..b136e37fc62c93 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 c468cb494dda0a..64c353c53e517a 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 f42770cd277449..f059bee9c0a627 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 a03b33a7137e23..0537089e5f31a8 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 0388c7f1c6aca7..8584129c380263 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 ec1f8e20c81eec..1c163ebaf4ecfb 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 d4bdd8fa9c25ae..dd88c2428ac6f1 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 6a20421b8e606d..baf7d20d725bf2 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 2adff3fe78dfbd..4244530c6b488a 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 12995d77905831..cfc60db36b7cfb 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 425431aaabab61..c93efb9f2d2129 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 ae0402281daef0..6f002ebcde9a52 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 19932d625d0865..649274bc790b1a 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 181f70caa116bf..0ebf126a2d0e53 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 96dd041cccf87a..cce54d2852b6da 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 374076e4cde329..525bed7d7d0847 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 a19af8169f28ac..984a29ba9c2b39 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 2472cd26cb8a62..8fe278805ca9ae 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 84f2c175320220..ca9568db879c96 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 d0aec7f9c231db..8dece7db4b920c 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 48f38835f1f129..13f6ca5a4ab43c 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 6238ae3542d12c..568719808b34c8 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 e0afb45315dd1a..18287feb5781f4 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 d5c8d11011430f..909b33f675e667 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 05c862267377e4..a79404651d5ea0 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 4c6d8bf4370090..06bf2c4f776ec0 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 4431276722a243..532cee917d5f29 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 2ea644e2b94f10..a61625fad0834c 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 5a88afddd7957b..bf60a126159df8 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 eaa2065f7a0d11..de851d4faa7b80 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 099b3c46148907..3dfbc255ccdb66 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 dbba8b99fbfe3c..c8c5e6df797fed 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 1089f49b4d0b0a..ac6337236141f0 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 fc4873a482f426..0dfc79ee2dc59d 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 ed91e9d2018b49..6eade5832a9c9a 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 ba6967c24626c6..0c4d8da5ac9455 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 6979a2557a65c4..a7b7ff9f8ac72a 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 f4f1ae7f75e19a..ae635acc78af27 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 c346f5a171897f..6216c8eb5de885 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 2697a2ea28bb5e..9c3dcf930e58cd 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 a1d55a413020b4..4edf4fadab930e 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 cda573e93f6d4f..a79271e73fc69d 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 45892ab68cfae6..77a69590b5fb21 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 59c65a40899e1c..27707cf5563523 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 0ea118d817fd3e..5ce1cf0609a623 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 bd271834e6a7c0..994f8440cb170b 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 439ff8922b7689..258a1324686503 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 c2567c3b1e561b..ed04718ca58584 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 0aa97806b8ee22..f7b7366dfbc3a6 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 db6038934ce8c7..2941b4ea9e296e 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 1bba2b602a6a79..91cd72b7020a6e 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 f63aa35b2a37f0..86974af9e629c8 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 3504773923d7db..7fe7571ce7be8a 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 1be61da81a13ba..3d8c2dd9b7423d 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 1da546eb214c03..c477bd0036b413 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 0c92004bd2a6b3..37c48585f18374 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 139ff4f4563f46..7df9eaa02c4f08 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 573d961d8ec2e0..29e7f97706ded7 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 108d7500f49bb3..0b34123cb23e54 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 c1467dd5aede53..8c069024e795b7 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 de3d41c9f01764..a94598f93f519e 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 46633392fc3326..20b5449aa468c0 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 cfd030c88258ed..61bc777daac51b 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 da594da548059c..1faa088dcea0c2 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 c2564bfed323cf..a042f848f56341 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 3b03101f9714e3..33f206986f5b95 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 ffc545de0e295d..f54c1b8db5578b 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 e8388960878120..b51693d2c613bd 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 c986de6fd88fd7..deafff1aa10974 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 22551faf9d2608..0995c64b31c470 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 08433a3a595374..093ceabcb44df2 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 d74ace4d56164e..6d6a6c62354533 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 e8388960878120..b51693d2c613bd 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 c986de6fd88fd7..deafff1aa10974 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 22551faf9d2608..0995c64b31c470 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 3abef8f7060219..a691b508c9b2b4 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 d74ace4d56164e..6d6a6c62354533 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 b06ed731802427..782c377c1b2114 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 4bb9f1eb0f2669..93c38d349ea815 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 366555457f3d92..1552a78cc8a25f 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 0fa67587397948..627238383a9c50 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 6e360202f636a1..59718360fb65be 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 fbb58d2b8462b4..0c47b1f2230164 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 a3fc48611bffc2..3ca0c07bf87fd9 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 1e24e11e138b61..a1e85189c05c65 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 44fdacc0ffd904..62cba06b005a19 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 0d616cb459c361..4ab2074b77a8d1 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 0df734d5838e55..40b102f07469a3 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 ff9f05a3feebcc..f038c011b6ac1d 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 4d716983b75ed5..0fa4ed51040ccc 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 0bb27cb5ac80e6..585074c7d6f4f5 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 6b272716a0716a..a92d2209b14a7e 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 ac11f75d6ee754..0027a80f39e442 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 9229b1692c2e15..901b0798ac5e91 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 0bb27cb5ac80e6..585074c7d6f4f5 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 9ab1a09fe40fcd..0140609bfddfda 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 3a235c993fe62d..17b49a5ac9459a 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 fe67048820e8ae..f43e73fdef6843 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 de79a632e54bf4..cf008bd507f9bb 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 8709c286c80997..6f99992d205328 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 fd0ce43e46f73c..b221a213af795c 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 e4778d0e952d98..12018adbf3543a 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 120bcdcd6fd44a..5b7c0243f755df 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 90658bb0ca7205..365f4bfcdd7e44 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 1aef3349cf92ee..be14b275682552 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 ca7ae700aeaeb2..aff03aa0d61b9b 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 cd0d0ec1bdfb15..7c3c6a3d939b7b 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 625dfa0f666cfd..86a87d8af15afa 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 1ec08895283a57..8a229f7db85974 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 7d5d618d43c52b..90e644f21aad87 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 31172528b2cb4b..a39181442dfce9 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 b104d840c25e8f..69fd54621c4a79 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 ad0c2c9ef0ceb6..ef478614dba45a 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 31172528b2cb4b..a39181442dfce9 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 b104d840c25e8f..69fd54621c4a79 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 18ae03bfe9b82b..796ff8ae5f0a14 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 37c43f4d365448..e3bda2d1a86281 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 0d944cba81950f..d9ded1453f1234 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 f92a01d3d064f2..82933ffd0e479d 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 fbc0dfad290b0e..57f91fb6ba274a 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 c15df7a71861f1..b666326a108316 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 699c68db5fed20..088e380d32d904 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 e5016a12578098..6f08509d6f1038 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 bea1c17e28963a..76d2df3b854fe8 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 595df9b5915649..84a4733c559b6c 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 0e33584dba38c0..7a721cbaeda68d 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 e631303b9465af..76106e5d18c5e7 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 6911ec1e0bd74b..e395ba0183c8f7 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 d7393016bc7047..2457c3a8a9d9d7 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 aa8457b1cfe25a..13a36f20effd4e 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 fea0803e16b919..db8f64d7fff9e5 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 4136dcf91178ab..8d1ab8fa681c9d 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 7a974a6bcd4010..af00f4782be194 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 befc3c99ba8462..fc8e982d5ee527 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 ad4469db7e9c98..cf4e1fa27acf08 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 9fb02027fe029f..1982c41c9013ea 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 1d90837562c9fe..f46a1579a76204 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 63ce7f14a8df34..7f8a53f95f65f9 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 5f4ffd9f04548f..aefe2e18e1d4ae 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 d50e27b57bd881..eb2dbc495ef5d4 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 909901c6ade201..442e1efb7a9331 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 38f93681222c92..33adfbe64fa563 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 177cd92467e7a0..2884de09a28a4d 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 f2955b3788ad5a..c83da89d07d203 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 f5e5618972cc1f..a7e6a803fa3773 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 a4d4e638fc6dc8..abba1f94ea7511 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 3eaeab833a2495..12038d13597834 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 6a0b0938cb78b6..f7004ccac31391 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 21ae8798ef4426..88a30b2cb72942 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 c8d453d4e56484..ea9cafe74e19e6 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 ff6bc39103799b..8f392dc1c61824 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 332d14293e01c6..54061830b9ee58 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 77fce868355852..04d81950241b1a 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 94d81d198dc144..b9e4f976b09669 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 3f94e27caf99f9..28b1bb47c85b47 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 15ae492d6f8b56..26a9731d8ac398 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 6f3ad4786349af..5be2bce7df7c5e 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 e150ad60d4773e..1ea1c0898732d0 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 f81c6382f913fd..2027ae5cc6255d 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