aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/b64_decode.h11
-rw-r--r--src/include/console/post_codes.h13
-rw-r--r--src/include/cpu/intel/l2_cache.h13
-rw-r--r--src/include/device/dram/common.h13
-rw-r--r--src/include/device/dram/ddr2.h13
-rw-r--r--src/include/device/dram/ddr3.h13
-rw-r--r--src/include/device_tree.h12
-rw-r--r--src/include/dimm_info_util.h12
-rw-r--r--src/include/endian.h12
-rw-r--r--src/include/fit.h12
-rw-r--r--src/include/fit_payload.h12
-rw-r--r--src/include/list.h12
-rw-r--r--src/include/memory_info.h11
-rw-r--r--src/include/pc80/vga.h13
-rw-r--r--src/include/pc80/vga_io.h13
-rw-r--r--src/include/sdram_mode.h13
-rw-r--r--src/include/spd.h13
-rw-r--r--src/include/spi-generic.h12
-rw-r--r--src/include/spi_bitbang.h12
-rw-r--r--src/include/spi_flash.h11
20 files changed, 20 insertions, 226 deletions
diff --git a/src/include/b64_decode.h b/src/include/b64_decode.h
index 0deb7aae31..34e0e5ac85 100644
--- a/src/include/b64_decode.h
+++ b/src/include/b64_decode.h
@@ -1,13 +1,4 @@
-/*
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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 */
#ifndef __INCLUDE_B64_DECODE_H__
#define __INCLUDE_B64_DECODE_H__
diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h
index 416d487eef..77f3b0ae4e 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -1,16 +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, either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/**
* @file post_codes.h
diff --git a/src/include/cpu/intel/l2_cache.h b/src/include/cpu/intel/l2_cache.h
index c253f880da..8322a86f85 100644
--- a/src/include/cpu/intel/l2_cache.h
+++ b/src/include/cpu/intel/l2_cache.h
@@ -1,16 +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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/* The L2 cache definitions here only apply to SECC/SECC2 P6 family CPUs
* with Klamath (63x), Deschutes (65x) and Katmai (67x) cores.
diff --git a/src/include/device/dram/common.h b/src/include/device/dram/common.h
index 32cdc79de1..67d968bd91 100644
--- a/src/include/device/dram/common.h
+++ b/src/include/device/dram/common.h
@@ -1,16 +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, either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
#ifndef DEVICE_DRAM_COMMON_H
#define DEVICE_DRAM_COMMON_H
diff --git a/src/include/device/dram/ddr2.h b/src/include/device/dram/ddr2.h
index f83965971b..408075f14c 100644
--- a/src/include/device/dram/ddr2.h
+++ b/src/include/device/dram/ddr2.h
@@ -1,16 +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, either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/*
* JEDEC Standard No. 21-C
diff --git a/src/include/device/dram/ddr3.h b/src/include/device/dram/ddr3.h
index 2ded8a8fdb..2eba3f35d3 100644
--- a/src/include/device/dram/ddr3.h
+++ b/src/include/device/dram/ddr3.h
@@ -1,16 +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, either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/*
* JEDEC Standard No. 21-C
diff --git a/src/include/device_tree.h b/src/include/device_tree.h
index 0de9dba21a..bd0d151508 100644
--- a/src/include/device_tree.h
+++ b/src/include/device_tree.h
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/base/device_tree.h */
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef __DEVICE_TREE_H__
#define __DEVICE_TREE_H__
diff --git a/src/include/dimm_info_util.h b/src/include/dimm_info_util.h
index 48fff6ceb2..4622c1f81f 100644
--- a/src/include/dimm_info_util.h
+++ b/src/include/dimm_info_util.h
@@ -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 version
- * 2 as published by the Free Software Foundation.
- *
- * 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 */
#ifndef _DIMM_INFO_UTIL_H_
#define _DIMM_INFO_UTIL_H_
diff --git a/src/include/endian.h b/src/include/endian.h
index a1c7f6a89b..552ce0025e 100644
--- a/src/include/endian.h
+++ b/src/include/endian.h
@@ -1,14 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef _ENDIAN_H_
#define _ENDIAN_H_
diff --git a/src/include/fit.h b/src/include/fit.h
index beec38ae6a..a1e970d502 100644
--- a/src/include/fit.h
+++ b/src/include/fit.h
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/boot/fit.h */
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef __LIB_FIT_H__
#define __LIB_FIT_H__
diff --git a/src/include/fit_payload.h b/src/include/fit_payload.h
index 657c7d57f3..8632b05b82 100644
--- a/src/include/fit_payload.h
+++ b/src/include/fit_payload.h
@@ -1,14 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef __FIT_PAYLOAD_H_
#define __FIT_PAYLOAD_H_
diff --git a/src/include/list.h b/src/include/list.h
index 9706080713..a8990354d7 100644
--- a/src/include/list.h
+++ b/src/include/list.h
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/base/list.h */
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef __LIST_H__
#define __LIST_H__
diff --git a/src/include/memory_info.h b/src/include/memory_info.h
index 03b4fdc738..a9891189d2 100644
--- a/src/include/memory_info.h
+++ b/src/include/memory_info.h
@@ -1,14 +1,5 @@
/* Memory information */
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version
- * 2 as published by the Free Software Foundation.
- *
- * 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 */
#ifndef _MEMORY_INFO_H_
#define _MEMORY_INFO_H_
diff --git a/src/include/pc80/vga.h b/src/include/pc80/vga.h
index ea47368936..e6aed868db 100644
--- a/src/include/pc80/vga.h
+++ b/src/include/pc80/vga.h
@@ -1,16 +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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
#ifndef VGA_H
#define VGA_H
diff --git a/src/include/pc80/vga_io.h b/src/include/pc80/vga_io.h
index 3cfba1b2fb..79cc58118f 100644
--- a/src/include/pc80/vga_io.h
+++ b/src/include/pc80/vga_io.h
@@ -1,16 +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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
#ifndef VGA_IO_H
#define VGA_IO_H
diff --git a/src/include/sdram_mode.h b/src/include/sdram_mode.h
index 5dadaee3a0..31c62624a1 100644
--- a/src/include/sdram_mode.h
+++ b/src/include/sdram_mode.h
@@ -1,16 +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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/*
* sdram_mode.h: Definitions for SDRAM Mode Register and Extended Mode Register
diff --git a/src/include/spd.h b/src/include/spd.h
index cacb20517c..0d67502144 100644
--- a/src/include/spd.h
+++ b/src/include/spd.h
@@ -1,16 +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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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-or-later */
/*
* Serial Presence Detect (SPD) data stored on SDRAM modules.
diff --git a/src/include/spi-generic.h b/src/include/spi-generic.h
index a57ec907d5..77a3c09a79 100644
--- a/src/include/spi-generic.h
+++ b/src/include/spi-generic.h
@@ -1,14 +1,4 @@
-/*
- * 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; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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-or-later */
#ifndef _SPI_GENERIC_H_
#define _SPI_GENERIC_H_
diff --git a/src/include/spi_bitbang.h b/src/include/spi_bitbang.h
index 4691fd21ec..4dd560eb33 100644
--- a/src/include/spi_bitbang.h
+++ b/src/include/spi_bitbang.h
@@ -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
- * version 2 as published by the Free Software Foundation.
- *
- * 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 */
#ifndef _SPI_BITBANG_H_
#define _SPI_BITBANG_H_
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 5dce7206ab..9d0e3ad08c 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -1,14 +1,5 @@
/* Interface to SPI flash */
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
- *
- * 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 */
#ifndef _SPI_FLASH_H_
#define _SPI_FLASH_H_