Author: rminnich Date: 2009-08-12 17:56:17 +0200 (Wed, 12 Aug 2009) New Revision: 4537
Added: trunk/coreboot-v2/src/cpu/amd/Makefile.inc trunk/coreboot-v2/src/cpu/amd/dualcore/Makefile.inc trunk/coreboot-v2/src/cpu/amd/model_fxx/Makefile.inc trunk/coreboot-v2/src/cpu/amd/mtrr/Makefile.inc trunk/coreboot-v2/src/cpu/amd/socket_F/Makefile.inc trunk/coreboot-v2/src/cpu/x86/pae/Makefile.inc trunk/coreboot-v2/src/northbridge/amd/amdk8/Makefile.inc trunk/coreboot-v2/src/pc80/vga/Makefile.inc trunk/coreboot-v2/src/southbridge/amd/amd8131/Kconfig Modified: trunk/coreboot-v2/src/cpu/Makefile.inc trunk/coreboot-v2/src/northbridge/Kconfig trunk/coreboot-v2/src/northbridge/Makefile.inc trunk/coreboot-v2/src/northbridge/amd/Makefile.inc trunk/coreboot-v2/src/northbridge/amd/amdk8/Kconfig trunk/coreboot-v2/src/pc80/Makefile.inc trunk/coreboot-v2/src/southbridge/Kconfig trunk/coreboot-v2/src/southbridge/Makefile.inc trunk/coreboot-v2/src/southbridge/amd/Kconfig trunk/coreboot-v2/src/southbridge/amd/Makefile.inc Log: This now builds.
Signed-off-by: Ronald G. Minnich rminnich@gmail.com Acked-by: Ronald G. Minnich rminnich@gmail.com
Modified: trunk/coreboot-v2/src/cpu/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/cpu/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,4 +1,4 @@ -#input amd +subdirs-y += amd subdirs-y += intel subdirs-y += via subdirs-y += emulation
Added: trunk/coreboot-v2/src/cpu/amd/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/amd/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/amd/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1 @@ +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
Added: trunk/coreboot-v2/src/cpu/amd/dualcore/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/amd/dualcore/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/amd/dualcore/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,3 @@ +# This is a leaf makefile, no conditionals. If it is included it will +# be used. +obj-y += amd_sibling.o
Added: trunk/coreboot-v2/src/cpu/amd/model_fxx/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/amd/model_fxx/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/amd/model_fxx/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,6 @@ +# no conditionals here. If you include this file from a socket, then you get all the binaries. +driver-y += model_fxx_init.o +obj-y += apic_timer.o +obj-y += model_fxx_update_microcode.o +obj-y += processor_name.o +obj-y += powernow_acpi.o
Added: trunk/coreboot-v2/src/cpu/amd/mtrr/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/amd/mtrr/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/amd/mtrr/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1 @@ +obj-y += amd_mtrr.o
Added: trunk/coreboot-v2/src/cpu/amd/socket_F/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/amd/socket_F/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/amd/socket_F/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,14 @@ +obj-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F.o +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../model_fxx +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../dualcore +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/tsc +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/fpu +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mmx +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/sse +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/lapic +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/cache +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/mtrr +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/pae +subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += ../../x86/smm
Added: trunk/coreboot-v2/src/cpu/x86/pae/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/cpu/x86/pae/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/cpu/x86/pae/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1 @@ +obj-y += pgtbl.o
Modified: trunk/coreboot-v2/src/northbridge/Kconfig =================================================================== --- trunk/coreboot-v2/src/northbridge/Kconfig 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/northbridge/Kconfig 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,4 +1,4 @@ -#source src/northbridge/amd/Kconfig +source src/northbridge/amd/Kconfig #source src/northbridge/ibm/Kconfig source src/northbridge/intel/Kconfig #source src/northbridge/motorola/Kconfig
Modified: trunk/coreboot-v2/src/northbridge/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/northbridge/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/northbridge/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,4 +1,4 @@ -#subdirs-y += amd +subdirs-y += amd #subdirs-y += ibm subdirs-y += intel #subdirs-y += motorola
Modified: trunk/coreboot-v2/src/northbridge/amd/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/northbridge/amd/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,8 +1,8 @@ -subdirs-$(CPU_AMD_K10) += amdfam10 -subdirs-$(CPU_AMD_HT) += amdht -subdirs-$(CPU_AMD_K8) += amdk8 -subdirs-$(CPU_AMD_MCT) += amdmct -subdirs-$(CPU_AMD_GX1) += gx1 -subdirs-$(CPU_AMD_GX2) += gx2 -subdirs-$(CPU_AMD_LX) += lx +subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDFAM10) += amdfam10 +subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDHT) += amdht +subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDK8) += amdk8 +subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDMCT) += amdmct +subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX1) += gx1 +subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX2) += gx2 +subdirs-$(CONFIG_NORTHBRIDGE_AMD_LX) += lx
Modified: trunk/coreboot-v2/src/northbridge/amd/amdk8/Kconfig =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/amdk8/Kconfig 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/northbridge/amd/amdk8/Kconfig 2009-08-12 15:56:17 UTC (rev 4537) @@ -20,3 +20,14 @@ config NORTHBRIDGE_AMD_AMDK8 bool default n + +config AGP_APERTURE_SIZE + hex + default 0x4000000 + +config HAVE_HIGH_TABLES + int + default 1 + + +source src/northbridge/amd/amdk8/root_complex/Kconfig \ No newline at end of file
Added: trunk/coreboot-v2/src/northbridge/amd/amdk8/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/northbridge/amd/amdk8/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/northbridge/amd/amdk8/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,30 @@ + +#default CONFIG_AGP_APERTURE_SIZE=0x4000000 +#default CONFIG_HAVE_HIGH_TABLES=1 + + +driver-y += northbridge.o +driver-y += misc_control.o +obj-y += get_sblk_pci1234.o +obj-$(CONFIG_HAVE_ACPI_TABLES) += amdk8_acpi.o + +# Not sure what to do with these yet. How did raminit_test even work? Should be a target in -y form +#if CONFIG_K8_REV_F_SUPPORT +# +#makerule raminit_test +# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c" +# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_f.c" +# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@" +#end +# +#else +# +#makerule raminit_test +# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c" +# depends "$(TOP)/src/northbridge/amd/amdk8/raminit.c" +# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@" +#end +# +#end +# +#
Modified: trunk/coreboot-v2/src/pc80/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/pc80/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/pc80/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -6,4 +6,4 @@ obj-y += keyboard.o
#initobj-y += serial.o - +subdirs-y += vga
Added: trunk/coreboot-v2/src/pc80/vga/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/pc80/vga/Makefile.inc (rev 0) +++ trunk/coreboot-v2/src/pc80/vga/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,2 @@ +obj-y += vga_io.o +obj-$(CONFIG_VGA) += vga.o
Modified: trunk/coreboot-v2/src/southbridge/Kconfig =================================================================== --- trunk/coreboot-v2/src/southbridge/Kconfig 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/southbridge/Kconfig 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,4 +1,4 @@ -#source src/southbridge/amd/Kconfig +source src/southbridge/amd/Kconfig #source src/southbridge/broadcom/Kconfig source src/southbridge/intel/Kconfig #source src/southbridge/nvidia/Kconfig
Modified: trunk/coreboot-v2/src/southbridge/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/southbridge/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/southbridge/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,4 +1,4 @@ -#subdirs-y += amd +subdirs-y += amd #subdirs-y += broadcom subdirs-y += intel #subdirs-y += nvidia
Modified: trunk/coreboot-v2/src/southbridge/amd/Kconfig =================================================================== --- trunk/coreboot-v2/src/southbridge/amd/Kconfig 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/southbridge/amd/Kconfig 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,10 +1,10 @@ source src/southbridge/amd/amd8111/Kconfig source src/southbridge/amd/amd8131/Kconfig -source src/southbridge/amd/amd8131-disable/Kconfig -source src/southbridge/amd/amd8132/Kconfig -source src/southbridge/amd/amd8151/Kconfig -source src/southbridge/amd/cs5530/Kconfig -source src/southbridge/amd/cs5535/Kconfig -source src/southbridge/amd/cs5536/Kconfig -source src/southbridge/amd/rs690/Kconfig -source src/southbridge/amd/sb600/Kconfig +#source src/southbridge/amd/amd8131-disable/Kconfig +#source src/southbridge/amd/amd8132/Kconfig +#source src/southbridge/amd/amd8151/Kconfig +#source src/southbridge/amd/cs5530/Kconfig +#source src/southbridge/amd/cs5535/Kconfig +#source src/southbridge/amd/cs5536/Kconfig +#source src/southbridge/amd/rs690/Kconfig +#source src/southbridge/amd/sb600/Kconfig
Modified: trunk/coreboot-v2/src/southbridge/amd/Makefile.inc =================================================================== --- trunk/coreboot-v2/src/southbridge/amd/Makefile.inc 2009-08-12 15:39:38 UTC (rev 4536) +++ trunk/coreboot-v2/src/southbridge/amd/Makefile.inc 2009-08-12 15:56:17 UTC (rev 4537) @@ -1,11 +1,11 @@ -subdirs-$(SOUTHBRIDGE_AMD_AMD8111) += amd8111 -subdirs-$(SOUTHBRIDGE_AMD_AMD8131) += amd8131 -subdirs-$(SOUTHBRIDGE_AMD_AMD8112) += amd8132 -subdirs-$(SOUTHBRIDGE_AMD_AMD8151) += amd8151 -subdirs-$(SOUTHBRIDGE_AMD_RS690) += rs690 -subdirs-$(SOUTHBRIDGE_AMD_SB600) += sb600 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AMD8111) += amd8111 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AMD8131) += amd8131 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AMD8112) += amd8132 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_AMD8151) += amd8151 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_RS690) += rs690 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_SB600) += sb600
-subdirs-$(SOUTHBRIDGE_AMD_CS5530) += cs5530 -subdirs-$(SOUTHBRIDGE_AMD_CS5535) += cs5535 -subdirs-$(SOUTHBRIDGE_AMD_CS5536) += cs5536 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CS5530) += cs5530 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CS5535) += cs5535 +subdirs-$(CONFIG_SOUTHBRIDGE_AMD_CS5536) += cs5536
Added: trunk/coreboot-v2/src/southbridge/amd/amd8131/Kconfig =================================================================== --- trunk/coreboot-v2/src/southbridge/amd/amd8131/Kconfig (rev 0) +++ trunk/coreboot-v2/src/southbridge/amd/amd8131/Kconfig 2009-08-12 15:56:17 UTC (rev 4537) @@ -0,0 +1,23 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2008-2009 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 +## 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 +## + +config SOUTHBRIDGE_AMD_AMD8131 + bool + default n +