Add more missing GPL-headers, fix inconsistencies in others.
authorUwe Hermann <uwe@hermann-uwe.de>
Sun, 17 Oct 2010 19:30:58 +0000 (19:30 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 17 Oct 2010 19:30:58 +0000 (19:30 +0000)
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5957 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

25 files changed:
src/southbridge/amd/amd8132/amd8132_bridge.c
src/southbridge/amd/amd8151/amd8151_agp3.c
src/southbridge/amd/cs5530/cs5530_vga.c
src/southbridge/broadcom/bcm21000/bcm21000_pcie.c
src/southbridge/broadcom/bcm5780/bcm5780_nic.c
src/southbridge/broadcom/bcm5780/bcm5780_pcie.c
src/southbridge/broadcom/bcm5780/bcm5780_pcix.c
src/southbridge/broadcom/bcm5785/bcm5785.c
src/southbridge/broadcom/bcm5785/bcm5785.h
src/southbridge/broadcom/bcm5785/bcm5785_early_setup.c
src/southbridge/broadcom/bcm5785/bcm5785_early_smbus.c
src/southbridge/broadcom/bcm5785/bcm5785_enable_rom.c
src/southbridge/broadcom/bcm5785/bcm5785_ide.c
src/southbridge/broadcom/bcm5785/bcm5785_lpc.c
src/southbridge/broadcom/bcm5785/bcm5785_reset.c
src/southbridge/broadcom/bcm5785/bcm5785_sata.c
src/southbridge/broadcom/bcm5785/bcm5785_sb_pci_main.c
src/southbridge/broadcom/bcm5785/bcm5785_smbus.h
src/southbridge/broadcom/bcm5785/bcm5785_usb.c
src/southbridge/broadcom/bcm5785/bootblock.c
src/southbridge/broadcom/bcm5785/chip.h
src/southbridge/sis/sis966/sis761.c
src/southbridge/ti/pci1x2x/pci1x2x.c
src/southbridge/ti/pcixx12/chip.h
src/southbridge/ti/pcixx12/pcixx12.c

index 2ce46cd16a2805f4523ebb35d1a81185fb6d0944..192137a18edc8909bdb69d67b243901ed01d15c9 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * This file is part of the coreboot project.
  *
- * Copyright (C) 2005 Advanced Micro Devices, Inc.
- * Copyright (C) 2010 Advanced Micro Devices, Inc.
+ * Copyright (C) 2005,2010 Advanced Micro Devices, Inc.
  *
  * 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
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-/*
- * Description: Amd 8132 support by yhlu
- */
-
 #include <console/console.h>
 #include <device/device.h>
 #include <device/pci.h>
index 5d673f6ae8c986c98c1dc5d03a297b8a80064c62..a2df7035c976da950af3770c54c3f8cf4c6fb09e 100644 (file)
@@ -1,8 +1,23 @@
 /*
- *  Copyright 2003 Tyan
+ * This file is part of the coreboot project.
  *
- *     Author: Yinghai Lu
+ * Copyright (C) 2003 Tyan Computer
+ * Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
+
 #include <console/console.h>
 #include <device/device.h>
 #include <device/pci.h>
index 2a2a8d8bdfa5ab2abd38a8d233d2f18f19edda61..4a262510842cb60fd74088574d3431e9d27354b4 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * This file is part of the coreboot project.
+ *
  * Copyright (C) 2007 Juergen Beisert <juergen@kreuzholzen.de>
  *
  * This program is free software; you can redistribute it and/or modify
index 4027f48e7c0a9b16106b49e15f6ce7a516357bcc..72ee95b8cfe3a3e17ce11f5650d38128e6ae50d2 100644 (file)
@@ -1,8 +1,9 @@
 /*
  * This file is part of the coreboot project.
  *
-* Copyright (C) 2009 University of Heidelberg
- * Written by Mondrian Nuessle <nuessle@uni-heidelberg.de> for University of Heidelberg
+ * Copyright (C) 2009 University of Heidelberg
+ * Written by Mondrian Nuessle <nuessle@uni-heidelberg.de> for
+ * University of Heidelberg.
  *
  * 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
@@ -19,7 +20,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-
 #include <console/console.h>
 #include <device/device.h>
 #include <device/pci.h>
@@ -28,7 +28,6 @@
 
 static void pcie_init(struct device *dev)
 {
-
        /* Enable pci error detecting */
        uint32_t dword;
        uint32_t msicap;
@@ -61,7 +60,6 @@ static struct device_operations pcie_ops  = {
        .ops_pci          = &lops_pci,
 };
 
-
 static const struct pci_driver pcie_driver1 __pci_driver = {
        .ops    = &pcie_ops,
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
@@ -79,4 +77,3 @@ static const struct pci_driver pcie_driver3 __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM21000_EXB2,
 };
-
index 19ff3703c903351e8a63a1c51735fc4425e2ac63..387c40221510507a18bfd5c546172aa6ddedd536 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -9,10 +24,8 @@
 #include <device/pci_ids.h>
 #include <device/pci_ops.h>
 
-
 static void nic_init(struct device *dev)
 {
-
 #if CONFIG_PCI_ROM_RUN == 1
        pci_dev_init(dev);// it will init option rom
 #endif
@@ -37,11 +50,13 @@ static struct device_operations nic_ops  = {
        .scan_bus         = 0,
        .ops_pci          = &lops_pci,
 };
+
 static const struct pci_driver nic_driver __pci_driver = {
        .ops    = &nic_ops,
        .vendor = PCI_VENDOR_ID_BROADCOM,
        .device = PCI_DEVICE_ID_BROADCOM_BCM5780_NIC,
 };
+
 static const struct pci_driver nic1_driver __pci_driver = {
         .ops    = &nic_ops,
         .vendor = PCI_VENDOR_ID_BROADCOM,
index 77777d2c011a0084d55b9d2b85fda88525326f02..786ad4f4315582d2d70352c69f6778de8c54485a 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -43,4 +58,3 @@ static const struct pci_driver pcie_driver __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PCIE,
 };
-
index ece7e794eb7c61a7eee141de41843ea00f13f3ac..e500542c33d0b4670c3ba83728a0c5062b76fa2d 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -14,6 +29,7 @@ static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
         pci_write_config32(dev, 0x40,
                 ((device & 0xffff) << 16) | (vendor & 0xffff));
 }
+
 static struct pci_operations lops_pci = {
         .set_subsystem = lpci_set_subsystem,
 };
@@ -34,4 +50,3 @@ static const struct pci_driver ht_driver __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5780_PXB,
 };
-
index 3f92be7decf7f9f978b9ce9a06252f7dc25a8fe0..207c4c20c73be8ea8574ac45fe391b226196c282 100644 (file)
@@ -1,7 +1,23 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
+
 #include <console/console.h>
 #include <device/device.h>
 #include <device/pci.h>
index c06a961ffde08ab4422b7b27b9e6676538c4af5b..149306804cb6eab72196937a148e0aacecbf6fc6 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 #ifndef BCM5785_H
 #define BCM5785_H
 
index 41b4ca3a106f2e8d0c425491724268fd12404181..b45ef01d1bcbd67866d576ff7d1b4fcf61124ffc 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <reset.h>
@@ -9,7 +24,6 @@
 
 static void bcm5785_enable_lpc(void)
 {
-
         uint8_t byte;
         device_t dev;
 
@@ -119,8 +133,6 @@ void soft_reset(void)
 #endif
 }
 
-
-
 static void bcm5785_enable_msg(void)
 {
         device_t dev;
@@ -145,7 +157,6 @@ static void bcm5785_enable_msg(void)
         if(dword != dword_old ) {
                 pci_write_config32(dev, 0x6c, dword);
         }
-
 }
 
 static void bcm5785_early_setup(void)
index a55ddd82e88837ab7eab1dbe20b236dee29ee1d6..3cc1292574bdb92437e4c5265a89c90a680277a7 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include "bcm5785_smbus.h"
index 7d484d87c23dea02c5ab0f22ccefc4c7ab73a330..c5385ae2570fda85324a0da6b736321140cfdf64 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 static void bcm5785_enable_rom(void)
 {
        unsigned char byte;
index 90a41680f60fb37a46c4a3296237db73c4cec5c2..a40094afde996b96573588cece5896e2316708fd 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -50,4 +65,3 @@ static const struct pci_driver ide_driver __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_IDE,
 };
-
index bf70ef323ca030a1f54e035bb41c33642e594ecc..adf546245fde73198b12901be05d9794c66a9ff2 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
 
 static void lpc_init(device_t dev)
 {
-
        /* Initialize the real time clock */
        rtc_init(0);
 
        /* Initialize isa dma */
        isa_dma_init();
-
 }
 
 static void bcm5785_lpc_read_resources(device_t dev)
@@ -54,10 +67,9 @@ static void bcm5785_lpc_read_resources(device_t dev)
 }
 
 /**
- * @brief Enable resources for children devices
- *
- * @param dev the device whos children's resources are to be enabled
+ * Enable resources for children devices.
  *
+ * @param dev The device whos children's resources are to be enabled.
  */
 static void bcm5785_lpc_enable_childrens_resources(device_t dev)
 {
@@ -128,9 +140,9 @@ static struct device_operations lpc_ops  = {
 //     .enable           = bcm5785_enable,
        .ops_pci          = &lops_pci,
 };
+
 static const struct pci_driver lpc_driver __pci_driver = {
        .ops    = &lpc_ops,
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_LPC,
 };
-
index 6e05e9371146249753358cd02a38daa1e4622a97..a59b23992e6f0756d3a4cd0e046418edc3d96e3e 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <arch/io.h>
@@ -39,4 +54,3 @@ void hard_reset(void)
        outb((0 <<3)|(0<<2)|(1<<1), 0xcf9);
        outb((0 <<3)|(1<<2)|(1<<1), 0xcf9);
 }
-
index 58d5ff5bb754fd41d772a2d481a2f610e0193b2e..573e8475ced3291a9695ec3f44a40f02e8ddf7a7 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -63,6 +78,7 @@ static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
         pci_write_config32(dev, 0x40,
                 ((device & 0xffff) << 16) | (vendor & 0xffff));
 }
+
 static struct pci_operations lops_pci = {
         .set_subsystem = lpci_set_subsystem,
 };
@@ -82,4 +98,3 @@ static const struct pci_driver sata0_driver __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SATA,
 };
-
index 4f518b6a54967041edc0682d57c0691cba4283a6..6c65fad4cf1bcc13d2dc9a403994f59ed034151c 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -89,6 +104,7 @@ static int lsmbus_send_byte(device_t dev, uint8_t val)
 
         return do_smbus_send_byte(res->base, device, val);
 }
+
 static int lsmbus_read_byte(device_t dev, uint8_t address)
 {
         unsigned device;
@@ -102,6 +118,7 @@ static int lsmbus_read_byte(device_t dev, uint8_t address)
 
         return do_smbus_read_byte(res->base, device, address);
 }
+
 static int lsmbus_write_byte(device_t dev, uint8_t address, uint8_t val)
 {
         unsigned device;
@@ -115,6 +132,7 @@ static int lsmbus_write_byte(device_t dev, uint8_t address, uint8_t val)
 
         return do_smbus_write_byte(res->base, device, address, val);
 }
+
 static struct smbus_bus_operations lops_smbus_bus = {
         .recv_byte  = lsmbus_recv_byte,
         .send_byte  = lsmbus_send_byte,
@@ -142,9 +160,9 @@ static struct device_operations sb_ops = {
         .ops_pci          = &lops_pci,
         .ops_smbus_bus    = &lops_smbus_bus,
 };
+
 static const struct pci_driver sb_driver __pci_driver = {
         .ops    = &sb_ops,
         .vendor = PCI_VENDOR_ID_SERVERWORKS,
         .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_SB_PCI_MAIN,
 };
-
index e71bb5cbee84f6a2f58884949fef36a1c4ca7bfa..f6dfffa878bd262a06714a7f1da9654de7d42b0e 100644 (file)
@@ -1,7 +1,23 @@
 /*
- * Copyright 2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
+
 #include <device/smbus_def.h>
 
 #define SMBHSTSTAT 0x0
@@ -90,8 +106,8 @@ static int do_smbus_recv_byte(unsigned smbus_io_base, unsigned device)
         byte = inb(smbus_io_base + SMBHSTCMD);
 
        return byte;
-
 }
+
 static int do_smbus_send_byte(unsigned smbus_io_base, unsigned device, unsigned char val)
 {
         uint8_t byte;
@@ -117,10 +133,8 @@ static int do_smbus_send_byte(unsigned smbus_io_base, unsigned device, unsigned
         }
 
         return 0;
-
 }
 
-
 static int do_smbus_read_byte(unsigned smbus_io_base, unsigned device, unsigned address)
 {
        uint8_t byte;
@@ -150,6 +164,7 @@ static int do_smbus_read_byte(unsigned smbus_io_base, unsigned device, unsigned
 
        return byte;
 }
+
 static int do_smbus_write_byte(unsigned smbus_io_base, unsigned device, unsigned address, unsigned char val)
 {
         uint8_t byte;
@@ -178,7 +193,4 @@ static int do_smbus_write_byte(unsigned smbus_io_base, unsigned device, unsigned
         }
 
         return 0;
-
 }
-
-
index 15295d8329d82c8d7a18e6d36ddf31639571a540..a16d6fe11b46f56bc8124f1db5644f4e32074b66 100644 (file)
@@ -1,6 +1,21 @@
 /*
- * Copyright  2005 AMD
- *  by yinghai.lu@amd.com
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <console/console.h>
@@ -27,6 +42,7 @@ static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
         pci_write_config32(dev, 0x40,
                 ((device & 0xffff) << 16) | (vendor & 0xffff));
 }
+
 static struct pci_operations lops_pci = {
         .set_subsystem = lpci_set_subsystem,
 };
@@ -46,4 +62,3 @@ static const struct pci_driver usb_driver __pci_driver = {
        .vendor = PCI_VENDOR_ID_SERVERWORKS,
        .device = PCI_DEVICE_ID_SERVERWORKS_BCM5785_USB,
 };
-
index eab61a367fefe97d9d75ac5254208a3f3f4a1d93..77bf231f5d88d4686cd8b6f79d4be27083abf7a0 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 #include "bcm5785_enable_rom.c"
 
 static void bootblock_southbridge_init(void) {
index 3106f60c24e5d97ed7ccf887925d16832e459c46..eb337e962429792dbdaf76291336014ff838c93b 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2005 AMD
+ * Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
 #ifndef BCM5785_CHIP_H
 #define BCM5785_CHIP_H
 
index 43a235b01fa052cd57100ecb94233816e521f855..f1d1fe26d830cbd83d74af930b428f13ef74ee0f 100644 (file)
@@ -1,6 +1,9 @@
 /*
  * This file is part of the coreboot project.
  *
+ * Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)
+ * Written by Morgan Tsai <my_tsai@sis.com> for SiS.
+ *
  * 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
@@ -14,7 +17,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
- *
+ */
+
+/*
  * Turn off machine check triggers when reading
  * pci space where there are no devices.
  * This is necessary when scaning the bus for
@@ -24,9 +29,6 @@
  *
  *  - Athlon64 workarounds by Stefan Reinauer
  *  - "reset once" logic by Yinghai Lu
- * Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)
- * Written by Morgan Tsai <my_tsai@sis.com> for SiS.
- *
  */
 
 #include <console/console.h>
index 42ec718e9726cd7a3667b08ac738aef8cd66c631..01aeb6d69fcc09eb9ce96d8f5713fa779c343429 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
+
 #include <device/device.h>
 #include <device/pci.h>
 #include <device/pci_ids.h>
index 75fe831375aaae41ed6ae0430debc117e01f31c4..68612499c55c4af71893c229cc34afe6487711ca 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the coreboot project.
  *
- * (C) Copyright 2008 coresystems GmbH
+ * Copyright (C) 2008 coresystems GmbH
  *
  * 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
@@ -14,8 +14,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- * MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef _SOUTHBRIDGE_TI_PCIXX12
index 5e9b77fa8d2280cbeab47d39a1b876ebb8541d98..0ea3b1130d252370fef7026b405a8c38373850db 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the coreboot project.
  *
- * (C) Copyright 2008 coresystems GmbH
+ * Copyright (C) 2008 coresystems GmbH
  *
  * 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
@@ -14,8 +14,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- * MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <arch/io.h>