diff --git a/src/northbridge/amd/amd76x/Config b/src/northbridge/amd/amd76x/Config index 1073b29a2b..766307e3b8 100644 --- a/src/northbridge/amd/amd76x/Config +++ b/src/northbridge/amd/amd76x/Config @@ -1,3 +1,23 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2001-2003 Eric W. Biederman +## Copyright (C) 2001-2003 Linux Networx +## +## 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 +## + mainboardinit northbridge/amd/amd76x/set_memory_size.inc mainboardinit northbridge/amd/amd76x/raminit.inc mainboardinit sdram/generic_sdram.inc diff --git a/src/northbridge/amd/amd76x/amd76x_pci.c b/src/northbridge/amd/amd76x/amd76x_pci.c index 07f68d6977..bf397ee18d 100644 --- a/src/northbridge/amd/amd76x/amd76x_pci.c +++ b/src/northbridge/amd/amd76x/amd76x_pci.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 #include #include diff --git a/src/northbridge/amd/amd76x/mpinit.inc b/src/northbridge/amd/amd76x/mpinit.inc index 319922c94d..52c6b8cb72 100644 --- a/src/northbridge/amd/amd76x/mpinit.inc +++ b/src/northbridge/amd/amd76x/mpinit.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 + */ + /* Very early on the K7 needs to setup it's multiprocessor state */ /* Extended BIU Control diff --git a/src/northbridge/amd/amd76x/northbridge.c b/src/northbridge/amd/amd76x/northbridge.c index b16bafbf7d..2a92a510ff 100644 --- a/src/northbridge/amd/amd76x/northbridge.c +++ b/src/northbridge/amd/amd76x/northbridge.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 #include #include diff --git a/src/northbridge/amd/amd76x/raminit.inc b/src/northbridge/amd/amd76x/raminit.inc index 2dfbd57878..eef639d440 100644 --- a/src/northbridge/amd/amd76x/raminit.inc +++ b/src/northbridge/amd/amd76x/raminit.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 + */ + jmp amd76x_out #define DEBUG_RAM_CONFIG 0 diff --git a/src/northbridge/amd/amd76x/reset_test.inc b/src/northbridge/amd/amd76x/reset_test.inc index 6414f5152f..a56f1aaf25 100644 --- a/src/northbridge/amd/amd76x/reset_test.inc +++ b/src/northbridge/amd/amd76x/reset_test.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 + */ + /* If I have already booted once skip a bunch of initialization */ /* To see if I have already booted I check to see if memory * has been enabled. diff --git a/src/northbridge/amd/amd76x/set_memory_size.inc b/src/northbridge/amd/amd76x/set_memory_size.inc index 2956512368..6f70eacc13 100644 --- a/src/northbridge/amd/amd76x/set_memory_size.inc +++ b/src/northbridge/amd/amd76x/set_memory_size.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2001-2003 Eric W. Biederman + * Copyright (C) 2001-2003 Linux Networx + * + * 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 + */ + jmp set_memory_size_out #include diff --git a/src/southbridge/amd/amd768/Config b/src/southbridge/amd/amd768/Config index 197397f69d..426ab62879 100644 --- a/src/southbridge/amd/amd768/Config +++ b/src/southbridge/amd/amd768/Config @@ -1,3 +1,23 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2003 Eric W. Biederman +## Copyright (C) 2003 Linux Networx +## +## 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 +## + option CONFIG_UDELAY_TSC=1 object southbridge.o object nvram.o diff --git a/src/southbridge/amd/amd768/amd768_ide.c b/src/southbridge/amd/amd768/amd768_ide.c index 1371367af4..fddb19f7b0 100644 --- a/src/southbridge/amd/amd768/amd768_ide.c +++ b/src/southbridge/amd/amd768/amd768_ide.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_ioapic.c b/src/southbridge/amd/amd768/amd768_ioapic.c index 279e0280d3..50d1345c9f 100644 --- a/src/southbridge/amd/amd768/amd768_ioapic.c +++ b/src/southbridge/amd/amd768/amd768_ioapic.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_lpc.c b/src/southbridge/amd/amd768/amd768_lpc.c index 00d55e2c95..2245469d1d 100644 --- a/src/southbridge/amd/amd768/amd768_lpc.c +++ b/src/southbridge/amd/amd768/amd768_lpc.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_mem.c b/src/southbridge/amd/amd768/amd768_mem.c index 831d992e18..fcd60b2ac8 100644 --- a/src/southbridge/amd/amd768/amd768_mem.c +++ b/src/southbridge/amd/amd768/amd768_mem.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_mouse.c b/src/southbridge/amd/amd768/amd768_mouse.c index 22b370fe4d..b0230140aa 100644 --- a/src/southbridge/amd/amd768/amd768_mouse.c +++ b/src/southbridge/amd/amd768/amd768_mouse.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_pm.c b/src/southbridge/amd/amd768/amd768_pm.c index b76bfcd319..847458c442 100644 --- a/src/southbridge/amd/amd768/amd768_pm.c +++ b/src/southbridge/amd/amd768/amd768_pm.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_power.c b/src/southbridge/amd/amd768/amd768_power.c index 0a3655e60c..f3d6ee792e 100644 --- a/src/southbridge/amd/amd768/amd768_power.c +++ b/src/southbridge/amd/amd768/amd768_power.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_reboot.c b/src/southbridge/amd/amd768/amd768_reboot.c index ddc0059837..e8f8e55286 100644 --- a/src/southbridge/amd/amd768/amd768_reboot.c +++ b/src/southbridge/amd/amd768/amd768_reboot.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_reset.c b/src/southbridge/amd/amd768/amd768_reset.c index 0ef2e1bd80..9c91f3aad0 100644 --- a/src/southbridge/amd/amd768/amd768_reset.c +++ b/src/southbridge/amd/amd768/amd768_reset.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_usb.c b/src/southbridge/amd/amd768/amd768_usb.c index bec76ce56a..e499e291fa 100644 --- a/src/southbridge/amd/amd768/amd768_usb.c +++ b/src/southbridge/amd/amd768/amd768_usb.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/amd768_watchdog.c b/src/southbridge/amd/amd768/amd768_watchdog.c index c177965106..b4365b8f15 100644 --- a/src/southbridge/amd/amd768/amd768_watchdog.c +++ b/src/southbridge/amd/amd768/amd768_watchdog.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/cmos_boot_failover.inc b/src/southbridge/amd/amd768/cmos_boot_failover.inc index 6d59df9ec8..5fad929ca5 100644 --- a/src/southbridge/amd/amd768/cmos_boot_failover.inc +++ b/src/southbridge/amd/amd768/cmos_boot_failover.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + /* The algorithm is as follows: * * Step 1: Test for cpu reset diff --git a/src/southbridge/amd/amd768/cmos_reset_failover.inc b/src/southbridge/amd/amd768/cmos_reset_failover.inc index 3816683f4a..c1672dd078 100644 --- a/src/southbridge/amd/amd768/cmos_reset_failover.inc +++ b/src/southbridge/amd/amd768/cmos_reset_failover.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + /* The algorithm is as follows: * * Step 1: Test for cpu reset diff --git a/src/southbridge/amd/amd768/disable_watchdog.inc b/src/southbridge/amd/amd768/disable_watchdog.inc index dc751b8ce7..9805f30896 100644 --- a/src/southbridge/amd/amd768/disable_watchdog.inc +++ b/src/southbridge/amd/amd768/disable_watchdog.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + #define PM_DEV_FN (AMD768_DEV + 0x300) /* Disable the watchdog timer */ movl $(0x80000000 | PM_DEV_FN | 0x49), %eax diff --git a/src/southbridge/amd/amd768/lpc_com1.inc b/src/southbridge/amd/amd768/lpc_com1.inc index 486ed33565..00e214d24e 100644 --- a/src/southbridge/amd/amd768/lpc_com1.inc +++ b/src/southbridge/amd/amd768/lpc_com1.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + /* enable LPC superio on the AMD 768 south bridge */ #if 0 movl $(0x80000000 | AMD768_DEV | 0x54), %eax diff --git a/src/southbridge/amd/amd768/nvram.c b/src/southbridge/amd/amd768/nvram.c index fdc0011d50..b04a0266bd 100644 --- a/src/southbridge/amd/amd768/nvram.c +++ b/src/southbridge/amd/amd768/nvram.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 #include #include diff --git a/src/southbridge/amd/amd768/smbus.inc b/src/southbridge/amd/amd768/smbus.inc index eb5bef0209..d4d30eeaf6 100644 --- a/src/southbridge/amd/amd768/smbus.inc +++ b/src/southbridge/amd/amd768/smbus.inc @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + jmp smbus_code_end #define PM_DEV_FN (AMD768_DEV + 0x300) diff --git a/src/southbridge/amd/amd768/southbridge.c b/src/southbridge/amd/amd768/southbridge.c index aab2cd275f..ef93ad9219 100644 --- a/src/southbridge/amd/amd768/southbridge.c +++ b/src/southbridge/amd/amd768/southbridge.c @@ -1,3 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2003 Eric W. Biederman + * Copyright (C) 2003 Linux Networx + * + * 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 + */ + void southbridge_fixup(void) {