summaryrefslogtreecommitdiff
path: root/src/device/dram
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-04-02 23:48:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-04-04 14:59:33 +0000
commitc74dae927ac41b90303d12dc6fc85e927e3d72d5 (patch)
tree44990cd1b1fc5f176b9a05492d3889ec4d1564fc /src/device/dram
parentf23ae0b0f6c449d5925a1d0bf08ce61edd987c68 (diff)
src/device: Use SPDX for GPL-2.0-only files
Done with sed and God Lines. Only done for C-like code for now. Change-Id: Id5fe26564147ec532850430ea55b19ee94d5c5a5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40050 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/device/dram')
-rw-r--r--src/device/dram/ddr4.c14
-rw-r--r--src/device/dram/ddr_common.c14
2 files changed, 4 insertions, 24 deletions
diff --git a/src/device/dram/ddr4.c b/src/device/dram/ddr4.c
index 4f7e10928c..b641711df1 100644
--- a/src/device/dram/ddr4.c
+++ b/src/device/dram/ddr4.c
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
#include <console/console.h>
#include <cbmem.h>
diff --git a/src/device/dram/ddr_common.c b/src/device/dram/ddr_common.c
index dcfa18df2a..b5a5803946 100644
--- a/src/device/dram/ddr_common.c
+++ b/src/device/dram/ddr_common.c
@@ -1,15 +1,5 @@
-/*
- * This file is part of the coreboot project.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
+/* This file is part of the coreboot project. */
#include <device/dram/common.h>
#include <types.h>