This now builds.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2009-08-12 15:56:17 +00:00
parent 5f6572ec8b
commit fd4519b5ef
19 changed files with 122 additions and 30 deletions

View File

@ -1,4 +1,4 @@
#input amd
subdirs-y += amd
subdirs-y += intel
subdirs-y += via
subdirs-y += emulation

1
src/cpu/amd/Makefile.inc Normal file
View File

@ -0,0 +1 @@
subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F

View File

@ -0,0 +1,3 @@
# This is a leaf makefile, no conditionals. If it is included it will
# be used.
obj-y += amd_sibling.o

View File

@ -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

View File

@ -0,0 +1 @@
obj-y += amd_mtrr.o

View File

@ -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

View File

@ -0,0 +1 @@
obj-y += pgtbl.o

View File

@ -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

View File

@ -1,4 +1,4 @@
#subdirs-y += amd
subdirs-y += amd
#subdirs-y += ibm
subdirs-y += intel
#subdirs-y += motorola

View File

@ -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

View File

@ -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

View File

@ -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
#
#

View File

@ -6,4 +6,4 @@ obj-$(CONFIG_UDELAY_IO) += udelay_io.o
obj-y += keyboard.o
#initobj-y += serial.o
subdirs-y += vga

View File

@ -0,0 +1,2 @@
obj-y += vga_io.o
obj-$(CONFIG_VGA) += vga.o

View File

@ -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

View File

@ -1,4 +1,4 @@
#subdirs-y += amd
subdirs-y += amd
#subdirs-y += broadcom
subdirs-y += intel
#subdirs-y += nvidia

View File

@ -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

View File

@ -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

View File

@ -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