drivers: Use SPDX identifiers

Convert the remaining files in src/drivers to use SPDX identifiers.

int15.h and default_brightness_levels.asl did not have license headers,
but they were both copied from other GPL2 files, so they should be under
the GPL2 as well.

ne2k.c and drm_dp_helper.h are licensed under custom BSD-like licenses
that do not have an SPDX equivalent, so they are added as exceptions
to the license header lint.

Change-Id: I87fb1c637b8d11b0463f7c19f70b847413e14aed
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41601
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Jacob Garber
2020-05-18 13:36:58 -06:00
committed by Angel Pons
parent fa8f567f32
commit 10999ea628
10 changed files with 19 additions and 27 deletions

View File

@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include "gma.asl"
Scope (GFX0)

View File

@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
int intel_vga_int15_handler(void);
enum {

View File

@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**************************************************************************
ETHERBOOT - BOOTP/TFTP Bootstrap Program
@@ -6,8 +8,6 @@ Author: Martin Renters
**************************************************************************/
//FILE_LICENCE ( BSD2 );
#define VENDOR_NONE 0
#define VENDOR_WD 1
#define VENDOR_NOVELL 2

View File

@@ -1,8 +1,4 @@
/*
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* SPDX-License-Identifier: BSD-3-Clause */
#include <assert.h>
#include <console/console.h>

View File

@@ -1,8 +1,4 @@
/*
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef __VPD_H__
#define __VPD_H__

View File

@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* This is a copy from upstream:
* https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/lib/vpd_decode.c
*/

View File

@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2019 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* This is a copy from upstream:
* https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/include/lib/vpd_decode.h
*/

View File

@@ -1,10 +1,6 @@
/*
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Ported from mosys project (http://code.google.com/p/mosys/).
*/
/* SPDX-License-Identifier: BSD-3-Clause */
/* Ported from mosys project (http://code.google.com/p/mosys/). */
#ifndef __LIB_VPD_TABLES_H__
#define __LIB_VPD_TABLES_H__