blob: 29274f48ecee2afef8b4d72587501d14bf40cdf0 [file] [log] [blame]
Stefan Reinauere1133b72015-04-27 14:04:38 -07001ifeq ($(CONFIG_NORTHBRIDGE_AMD_AMDK8),y)
2
Patrick Georgi23f38cd2012-11-16 14:50:32 +01003ramstage-y += northbridge.c
4ramstage-y += misc_control.c
Patrick Georgi8463dd92010-09-30 16:55:02 +00005ramstage-y += get_sblk_pci1234.c
Vladimir Serbinenko822bc652014-01-03 15:55:40 +01006ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c
Ronald G. Minnichfd4519b2009-08-12 15:56:17 +00007
Myles Watsonbe101902009-11-05 21:02:35 +00008# 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 Georgi8463dd92010-09-30 16:55:02 +000010#ramstage-y += util.c
Myles Watsonbe101902009-11-05 21:02:35 +000011
Uwe Hermann5ec2c2b2009-08-25 00:53:22 +000012# Not sure what to do with these yet. How did raminit_test even work?
13# Should be a target in -y form.
Ronald G. Minnichfd4519b2009-08-12 15:56:17 +000014#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 Reinauere1133b72015-04-27 14:04:38 -070032
33endif