summaryrefslogtreecommitdiff
path: root/src/drivers/xgi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/xgi')
-rw-r--r--src/drivers/xgi/common/XGI_main.c3
-rw-r--r--src/drivers/xgi/common/XGI_main.h5
-rw-r--r--src/drivers/xgi/common/XGIfb.h4
-rw-r--r--src/drivers/xgi/common/vb_def.h4
-rw-r--r--src/drivers/xgi/common/vb_init.c7
-rw-r--r--src/drivers/xgi/common/vb_init.h4
-rw-r--r--src/drivers/xgi/common/vb_setmode.c5
-rw-r--r--src/drivers/xgi/common/vb_setmode.h4
-rw-r--r--src/drivers/xgi/common/vb_struct.h4
-rw-r--r--src/drivers/xgi/common/vb_table.h4
-rw-r--r--src/drivers/xgi/common/vb_util.c5
-rw-r--r--src/drivers/xgi/common/vb_util.h4
-rw-r--r--src/drivers/xgi/common/vgatypes.h4
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.c7
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.h2
-rw-r--r--src/drivers/xgi/z9s/z9s.c2
16 files changed, 24 insertions, 44 deletions
diff --git a/src/drivers/xgi/common/XGI_main.c b/src/drivers/xgi/common/XGI_main.c
index b0b92d9d9f..d4650998fc 100644
--- a/src/drivers/xgi/common/XGI_main.c
+++ b/src/drivers/xgi/common/XGI_main.c
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * Code taken from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -14,6 +12,7 @@
*/
/*
+ * Code taken from the Linux xgifb driver (v3.18.5)
* Select functions taken from the Linux xgifb driver file XGI_main_26.c
*
* Original file header:
diff --git a/src/drivers/xgi/common/XGI_main.h b/src/drivers/xgi/common/XGI_main.h
index 08c0010719..cb758ee082 100644
--- a/src/drivers/xgi/common/XGI_main.h
+++ b/src/drivers/xgi/common/XGI_main.h
@@ -1,9 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken from the Linux xgifb driver (v3.18.5)
- * coreboot-specific includes added at top
- *
* 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.
@@ -14,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _XGIFB_MAIN
#define _XGIFB_MAIN
diff --git a/src/drivers/xgi/common/XGIfb.h b/src/drivers/xgi/common/XGIfb.h
index e3b998a3d6..a528dae4b9 100644
--- a/src/drivers/xgi/common/XGIfb.h
+++ b/src/drivers/xgi/common/XGIfb.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _LINUX_XGIFB
#define _LINUX_XGIFB
#include "vgatypes.h"
diff --git a/src/drivers/xgi/common/vb_def.h b/src/drivers/xgi/common/vb_def.h
index c07a8c90c2..4a98d5d714 100644
--- a/src/drivers/xgi/common/vb_def.h
+++ b/src/drivers/xgi/common/vb_def.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VB_DEF_
#define _VB_DEF_
diff --git a/src/drivers/xgi/common/vb_init.c b/src/drivers/xgi/common/vb_init.c
index b9191abe3d..ab27439b9b 100644
--- a/src/drivers/xgi/common/vb_init.c
+++ b/src/drivers/xgi/common/vb_init.c
@@ -1,12 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
- *
- * File taken from the Linux xgifb driver (v3.18.5)
- * coreboot-specific includes added at top
- * XGINew_SetDRAMSize_340 slightly modified for coreboot text mode
- *
* 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.
@@ -17,6 +11,7 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
/* coreboot related includes come indirectly from xgi_coreboot.h */
#include "xgi_coreboot.h"
diff --git a/src/drivers/xgi/common/vb_init.h b/src/drivers/xgi/common/vb_init.h
index 17bcb96387..8d2e2be019 100644
--- a/src/drivers/xgi/common/vb_init.h
+++ b/src/drivers/xgi/common/vb_init.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VBINIT_
#define _VBINIT_
extern unsigned char XGIInitNew(struct pci_dev *pdev);
diff --git a/src/drivers/xgi/common/vb_setmode.c b/src/drivers/xgi/common/vb_setmode.c
index 64412566a1..fdb7039013 100644
--- a/src/drivers/xgi/common/vb_setmode.c
+++ b/src/drivers/xgi/common/vb_setmode.c
@@ -1,9 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken from the Linux xgifb driver (v3.18.5)
- * coreboot-specific includes added at top
- *
* 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.
@@ -14,7 +11,7 @@
* GNU General Public License for more details.
*/
-/* coreboot related includes come indirectly from xgi_coreboot.h */
+/* File taken from the Linux xgifb driver (v3.18.5) */
#include "xgi_coreboot.h"
#include "vstruct.h"
diff --git a/src/drivers/xgi/common/vb_setmode.h b/src/drivers/xgi/common/vb_setmode.h
index 00b3f29839..140b3b61d7 100644
--- a/src/drivers/xgi/common/vb_setmode.h
+++ b/src/drivers/xgi/common/vb_setmode.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VBSETMODE_
#define _VBSETMODE_
diff --git a/src/drivers/xgi/common/vb_struct.h b/src/drivers/xgi/common/vb_struct.h
index f1fe5c8c99..705a1aed59 100644
--- a/src/drivers/xgi/common/vb_struct.h
+++ b/src/drivers/xgi/common/vb_struct.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VB_STRUCT_
#define _VB_STRUCT_
diff --git a/src/drivers/xgi/common/vb_table.h b/src/drivers/xgi/common/vb_table.h
index 4d26976c92..c4d1df06b1 100644
--- a/src/drivers/xgi/common/vb_table.h
+++ b/src/drivers/xgi/common/vb_table.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VB_TABLE_
#define _VB_TABLE_
static const struct SiS_MCLKData XGI340New_MCLKData[] = {
diff --git a/src/drivers/xgi/common/vb_util.c b/src/drivers/xgi/common/vb_util.c
index 248b8af5f8..b56df08b31 100644
--- a/src/drivers/xgi/common/vb_util.c
+++ b/src/drivers/xgi/common/vb_util.c
@@ -1,9 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken from the Linux xgifb driver (v3.18.5)
- * coreboot-specific includes added at top
- *
* 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.
@@ -14,7 +11,7 @@
* GNU General Public License for more details.
*/
-/* coreboot related includes come indirectly from xgi_coreboot.h */
+/* File taken from the Linux xgifb driver (v3.18.5) */
#include "xgi_coreboot.h"
#include "vgatypes.h"
diff --git a/src/drivers/xgi/common/vb_util.h b/src/drivers/xgi/common/vb_util.h
index d5d30ed6c2..bdf08be456 100644
--- a/src/drivers/xgi/common/vb_util.h
+++ b/src/drivers/xgi/common/vb_util.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VBUTIL_
#define _VBUTIL_
extern void xgifb_reg_set(unsigned long, u8, u8);
diff --git a/src/drivers/xgi/common/vgatypes.h b/src/drivers/xgi/common/vgatypes.h
index 3262daa494..db10f4d5af 100644
--- a/src/drivers/xgi/common/vgatypes.h
+++ b/src/drivers/xgi/common/vgatypes.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * File taken verbatim from the Linux xgifb driver (v3.18.5)
- *
* 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.
@@ -13,6 +11,8 @@
* GNU General Public License for more details.
*/
+/* File taken from the Linux xgifb driver (v3.18.5) */
+
#ifndef _VGATYPES_
#define _VGATYPES_
diff --git a/src/drivers/xgi/common/xgi_coreboot.c b/src/drivers/xgi/common/xgi_coreboot.c
index 5aba472eb7..caeb59d749 100644
--- a/src/drivers/xgi/common/xgi_coreboot.c
+++ b/src/drivers/xgi/common/xgi_coreboot.c
@@ -1,11 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
- *
- * xgifb_probe taken from the Linux xgifb driver (v3.18.5) and adapted for coreboot
- * xgifb_modeset cobbled together from other portions of the same driver
- *
* 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.
@@ -16,6 +11,8 @@
* GNU General Public License for more details.
*/
+ /* Code taken from the Linux xgifb driver (v3.18.5) */
+
#include <stdlib.h>
#include <vbe.h>
#include <console/console.h>
diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h
index 5e593eb1c2..5ebbdd4b9d 100644
--- a/src/drivers/xgi/common/xgi_coreboot.h
+++ b/src/drivers/xgi/common/xgi_coreboot.h
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * 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; either version 2 of the License, or
diff --git a/src/drivers/xgi/z9s/z9s.c b/src/drivers/xgi/z9s/z9s.c
index 1925514043..62c80aa271 100644
--- a/src/drivers/xgi/z9s/z9s.c
+++ b/src/drivers/xgi/z9s/z9s.c
@@ -1,8 +1,6 @@
/*
* This file is part of the coreboot project.
*
- * 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.