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

@ -7,6 +7,7 @@ Copyright © 2012 Intel Corporation
Copyright 2012 Red Hat Inc. Copyright 2012 Red Hat Inc.
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Copyright 2014 Google Inc. Copyright 2014 Google Inc.
Copyright 2014 The Chromium OS Authors. All rights reserved.
Copyright 2015 Google Inc. Copyright 2015 Google Inc.
Copyright 2015, Google Inc. Copyright 2015, Google Inc.
Copyright 2016 Jonathan Neuschäfer <j.neuschaefer@gmx.net> Copyright 2016 Jonathan Neuschäfer <j.neuschaefer@gmx.net>
@ -16,6 +17,7 @@ Copyright 2017 Google Inc.
Copyright 2018 Generated Code Copyright 2018 Generated Code
Copyright 2018-present Facebook, Inc. Copyright 2018-present Facebook, Inc.
Copyright 2019 9Elements Agency GmbH <patrick.rudolph@9elements.com> Copyright 2019 9Elements Agency GmbH <patrick.rudolph@9elements.com>
Copyright 2019 The Chromium OS Authors. All rights reserved.
Copyright (C) 2002 David S. Peterson. All rights reserved. Copyright (C) 2002 David S. Peterson. All rights reserved.
Copyright (c) 2003-2016 Cavium Inc. (support@cavium.com). All rights Copyright (c) 2003-2016 Cavium Inc. (support@cavium.com). All rights
Copyright (c) 2003-2017 Cavium Inc. (support@cavium.com). All rights Copyright (c) 2003-2017 Cavium Inc. (support@cavium.com). All rights

View File

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

View File

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

View File

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

View File

@ -1,8 +1,4 @@
/* /* SPDX-License-Identifier: BSD-3-Clause */
* 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.
*/
#include <assert.h> #include <assert.h>
#include <console/console.h> #include <console/console.h>

View File

@ -1,8 +1,4 @@
/* /* SPDX-License-Identifier: BSD-3-Clause */
* 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.
*/
#ifndef __VPD_H__ #ifndef __VPD_H__
#define __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: * This is a copy from upstream:
* https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/lib/vpd_decode.c * 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: * This is a copy from upstream:
* https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/include/lib/vpd_decode.h * https://chromium.googlesource.com/chromiumos/platform/vpd/+/master/include/lib/vpd_decode.h
*/ */

View File

@ -1,10 +1,6 @@
/* /* SPDX-License-Identifier: BSD-3-Clause */
* 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 /* Ported from mosys project (http://code.google.com/p/mosys/). */
* found in the LICENSE file.
*
* Ported from mosys project (http://code.google.com/p/mosys/).
*/
#ifndef __LIB_VPD_TABLES_H__ #ifndef __LIB_VPD_TABLES_H__
#define __LIB_VPD_TABLES_H__ #define __LIB_VPD_TABLES_H__

View File

@ -12,6 +12,8 @@ HEADER_EXCLUDED="\
^src/device/oprom/x86emu/|\ ^src/device/oprom/x86emu/|\
^src/device/oprom/include/x86emu/|\ ^src/device/oprom/include/x86emu/|\
^src/device/oprom/yabel/|\ ^src/device/oprom/yabel/|\
^src/drivers/intel/gma/drm_dp_helper.h\$|\
^src/drivers/net/ne2k.c\$|\
^src/drivers/xgi/common/initdef.h\$|\ ^src/drivers/xgi/common/initdef.h\$|\
^src/drivers/xgi/common/vstruct.h\$|\ ^src/drivers/xgi/common/vstruct.h\$|\
^src/lib/gnat/|\ ^src/lib/gnat/|\