Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 1 | ifeq ($(CONFIG_NORTHBRIDGE_AMD_AMDK8),y) |
| 2 | |
Patrick Georgi | 23f38cd | 2012-11-16 14:50:32 +0100 | [diff] [blame] | 3 | ramstage-y += northbridge.c |
| 4 | ramstage-y += misc_control.c |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 5 | ramstage-y += get_sblk_pci1234.c |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 6 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
Ronald G. Minnich | fd4519b | 2009-08-12 15:56:17 +0000 | [diff] [blame] | 7 | |
Myles Watson | be10190 | 2009-11-05 21:02:35 +0000 | [diff] [blame] | 8 | # Enable this if you want to check the values of the PCI routing registers. |
| 9 | # Call show_all_routes() anywhere amdk8.h is included. |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 10 | #ramstage-y += util.c |
Myles Watson | be10190 | 2009-11-05 21:02:35 +0000 | [diff] [blame] | 11 | |
Uwe Hermann | 5ec2c2b | 2009-08-25 00:53:22 +0000 | [diff] [blame] | 12 | # Not sure what to do with these yet. How did raminit_test even work? |
| 13 | # Should be a target in -y form. |
Ronald G. Minnich | fd4519b | 2009-08-12 15:56:17 +0000 | [diff] [blame] | 14 | #if CONFIG_K8_REV_F_SUPPORT |
| 15 | # |
| 16 | #makerule raminit_test |
| 17 | # depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c" |
| 18 | # depends "$(TOP)/src/northbridge/amd/amdk8/raminit_f.c" |
| 19 | # action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@" |
| 20 | #end |
| 21 | # |
| 22 | #else |
| 23 | # |
| 24 | #makerule raminit_test |
| 25 | # depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c" |
| 26 | # depends "$(TOP)/src/northbridge/amd/amdk8/raminit.c" |
| 27 | # action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@" |
| 28 | #end |
| 29 | # |
| 30 | #end |
| 31 | # |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 32 | |
| 33 | endif |