Add SPDX license identifiers

Add license information to files. Mostly automated with:

    find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,'
    find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
This commit is contained in:
Tim Crawford
2020-09-17 06:47:11 -06:00
committed by Jeremy Soller
parent def5821b01
commit 5fd9df0ed0
202 changed files with 402 additions and 2 deletions

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
ARCH=avr

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
ARCH=avr

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
ARCH=avr

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/ec.h>
#include <ec/gctrl.h>

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
ARCH=8051

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/gpio.h>
bool gpio_get(struct Gpio * gpio) {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdbool.h>
#include <common/i2c.h>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_BRAM_H
#define _EC_BRAM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_DAC_H
#define _EC_DAC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_EC_H
#define _EC_EC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_ECPM_H
#define _EC_ECPM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_ECWD_H
#define _EC_ECWD_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_GCTRL_H
#define _EC_GCTRL_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_GPIO_H
#define _EC_GPIO_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_I2C_H
#define _EC_I2C_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_KBC_H
#define _EC_KBC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_KBSCAN_H
#define _EC_KBSCAN_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PECI_H
#define _EC_PECI_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PMC_H
#define _EC_PMC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PS2_H
#define _EC_PS2_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PWM_H
#define _EC_PWM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_SMBUS_H
#define _EC_SMBUS_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/kbc.h>
struct Kbc __code KBC = {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/pmc.h>
#define PMC(NUM) { \

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdbool.h>
#include <ec/ps2.h>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
static __code char __at(0x40) SIGNATURE[32] = {
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0x94,
0x85, 0x12, 0x5A, 0x5A, 0xAA, 0x00, 0x55, 0x55,

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/ec.h>
#include <ec/gctrl.h>

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: GPL-3.0-only
ARCH=8051

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/gpio.h>
bool gpio_get(struct Gpio * gpio) {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdbool.h>
#include <common/i2c.h>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_BRAM_H
#define _EC_BRAM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_DAC_H
#define _EC_DAC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_EC_H
#define _EC_EC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_ECPM_H
#define _EC_ECPM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_ECWD_H
#define _EC_ECWD_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_GCTRL_H
#define _EC_GCTRL_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_GPIO_H
#define _EC_GPIO_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_I2C_H
#define _EC_I2C_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_KBC_H
#define _EC_KBC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_KBSCAN_H
#define _EC_KBSCAN_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PECI_H
#define _EC_PECI_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PMC_H
#define _EC_PMC_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PS2_H
#define _EC_PS2_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_PWM_H
#define _EC_PWM_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#ifndef _EC_SMBUS_H
#define _EC_SMBUS_H

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/kbc.h>
struct Kbc __code KBC = {

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <ec/pmc.h>
#define PMC(NUM) { \

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <stdbool.h>
#include <ec/ps2.h>

View File

@ -1,3 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-only
static __code char __at(0x40) SIGNATURE[32] = {
0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0xA5, 0x94,
0x85, 0x12, 0x5A, 0x5A, 0xAA, 0x00, 0x55, 0x55,