summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorDamien Roth <yves.r.roth@gmail.com>2016-01-16 18:59:51 -0700
committerMartin Roth <martinroth@google.com>2016-01-18 03:44:01 +0100
commit4e7e987b242724392bb6fcf1c55ccbed57574bed (patch)
treec9a98bb3ff5337299213ab2fde5dfdc41eff013f /src/console
parentf4d015dbf842a07596e30fc933adeaecacb49d80 (diff)
console/: add missing license headers
These were copied from the linux kernel, so get the standard corboot GPL v2 header. Change-Id: I27ef3326cc42b7e005f94c8b4fd355012a89561d Signed-off-by: Damien Roth <yves.r.roth@gmail.com> Reviewed-on: https://review.coreboot.org/13023 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/printk.c17
-rw-r--r--src/console/vtxprintf.c15
2 files changed, 27 insertions, 5 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index 99f90a8e28..855c841284 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -1,9 +1,20 @@
/*
- * blatantly copied from linux/kernel/printk.c
+ * This file is part of the coreboot project.
*
- * Copyright (C) 1991, 1992 Linus Torvalds
- * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
+ * Copyright (C) 1991, 1992 Linus Torvalds
+ * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>,
+ * Raptor Engineering
*
+ * 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.
+ *
+ * blatantly copied from linux/kernel/printk.c
*/
#include <console/console.h>
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 2fcefd2831..8b4d4146b3 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -1,7 +1,18 @@
-/* vtxprintf.c, from
- * linux/lib/vsprintf.c
+/*
+ * This file is part of the coreboot project.
*
* Copyright (C) 1991, 1992 Linus Torvalds
+ *
+ * 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.
+ *
+ * vtxprintf.c, originally from linux/lib/vsprintf.c
*/
#include <console/console.h>