Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 1 | ifeq ($(CONFIG_NORTHBRIDGE_AMD_AMDFAM10),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 |
Timothy Pearson | 730a043 | 2015-10-16 13:51:51 -0500 | [diff] [blame^] | 5 | ramstage-y += link_control.c |
| 6 | ramstage-y += nb_control.c |
Timothy Pearson | ead8751 | 2015-02-20 12:47:52 -0600 | [diff] [blame] | 7 | romstage-y += amdfam10_util.c |
| 8 | ramstage-y += amdfam10_util.c |
Patrick Georgi | 88f55b2 | 2009-09-25 18:43:02 +0000 | [diff] [blame] | 9 | |
Kyösti Mälkki | 991a71d | 2015-02-22 00:12:43 +0200 | [diff] [blame] | 10 | ramstage-y += ht_config.c |
| 11 | |
Vladimir Serbinenko | 822bc65 | 2014-01-03 15:55:40 +0100 | [diff] [blame] | 12 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi.c |
Patrick Georgi | 88f55b2 | 2009-09-25 18:43:02 +0000 | [diff] [blame] | 13 | |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 14 | ramstage-y += get_pci1234.c |
Myles Watson | 48beb82 | 2010-05-10 19:45:45 +0000 | [diff] [blame] | 15 | |
| 16 | # Enable this if you want to check the values of the PCI routing registers. |
| 17 | # Call show_all_routes() anywhere amdfam10.h is included. |
Patrick Georgi | 8463dd9 | 2010-09-30 16:55:02 +0000 | [diff] [blame] | 18 | #ramstage-y += util.c |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 19 | |
Timothy Pearson | 4ea0cc0 | 2015-09-05 18:39:34 -0500 | [diff] [blame] | 20 | # Reserve 2x CONFIG_S3_DATA_SIZE to allow for random file placement |
| 21 | # (not respecting erase sector boundaries) within CBFS |
| 22 | $(obj)/coreboot_s3nv.rom: $(obj)/config.h |
| 23 | echo " S3 NVRAM $(CONFIG_S3_DATA_POS) (S3 storage area)" |
| 24 | # force C locale, so cygwin awk doesn't try to interpret the 0xff below as UTF-8 (or worse) |
| 25 | printf %d $(CONFIG_S3_DATA_SIZE) | LC_ALL=C awk '{for (i=0; i<$$1*2; i++) {printf "%c", 255}}' > $@.tmp |
| 26 | mv $@.tmp $@ |
| 27 | |
| 28 | cbfs-files-$(CONFIG_HAVE_ACPI_RESUME) += s3nv |
| 29 | s3nv-file := $(obj)/coreboot_s3nv.rom |
| 30 | s3nv-align := $(CONFIG_S3_DATA_SIZE) |
| 31 | s3nv-type := raw |
| 32 | |
Timothy Pearson | 59d0e04 | 2015-09-05 18:40:31 -0500 | [diff] [blame] | 33 | ramstage-$(CONFIG_DIMM_DDR3) += ../amdmct/mct_ddr3/s3utils.c |
| 34 | |
Stefan Reinauer | e1133b7 | 2015-04-27 14:04:38 -0700 | [diff] [blame] | 35 | endif |