diff options
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/Makefile.inc | 21 | ||||
-rw-r--r-- | src/northbridge/intel/e7501/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/e7505/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/fsp_rangeley/Makefile.inc | 3 | ||||
-rw-r--r-- | src/northbridge/intel/fsp_sandybridge/Makefile.inc | 3 | ||||
-rw-r--r-- | src/northbridge/intel/gm45/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/haswell/Makefile.inc | 3 | ||||
-rw-r--r-- | src/northbridge/intel/i3100/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i440bx/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i440lx/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i5000/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i82810/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i82830/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i855/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/i945/Makefile.inc | 4 | ||||
-rw-r--r-- | src/northbridge/intel/nehalem/Makefile.inc | 3 | ||||
-rw-r--r-- | src/northbridge/intel/sandybridge/Makefile.inc | 3 | ||||
-rw-r--r-- | src/northbridge/intel/sch/Makefile.inc | 4 |
18 files changed, 63 insertions, 21 deletions
diff --git a/src/northbridge/intel/Makefile.inc b/src/northbridge/intel/Makefile.inc deleted file mode 100644 index 90fa696e7c..0000000000 --- a/src/northbridge/intel/Makefile.inc +++ /dev/null @@ -1,21 +0,0 @@ -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_E7501) += e7501 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_E7505) += e7505 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I3100) += i3100 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I440BX) += i440bx -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I440LX) += i440lx -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I82810) += i82810 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I82830) += i82830 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I855) += i855 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I945) += i945 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_GM45) += gm45 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_SCH) += sch -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_I5000) += i5000 -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_NEHALEM) += nehalem -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE) += sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE) += sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE) += sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_HASWELL) += haswell -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE) += fsp_sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_FSP_IVYBRIDGE) += fsp_sandybridge -subdirs-$(CONFIG_NORTHBRIDGE_INTEL_FSP_RANGELEY) += fsp_rangeley diff --git a/src/northbridge/intel/e7501/Makefile.inc b/src/northbridge/intel/e7501/Makefile.inc index 23eada5ad3..756dc89712 100644 --- a/src/northbridge/intel/e7501/Makefile.inc +++ b/src/northbridge/intel/e7501/Makefile.inc @@ -1 +1,5 @@ +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_E7501),y) + ramstage-y += northbridge.c + +endif diff --git a/src/northbridge/intel/e7505/Makefile.inc b/src/northbridge/intel/e7505/Makefile.inc index 8c50e404b2..89a5b8cb70 100644 --- a/src/northbridge/intel/e7505/Makefile.inc +++ b/src/northbridge/intel/e7505/Makefile.inc @@ -1,3 +1,7 @@ +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_E7505),y) + ramstage-y += northbridge.c romstage-y += raminit.c romstage-y += debug.c + +endif diff --git a/src/northbridge/intel/fsp_rangeley/Makefile.inc b/src/northbridge/intel/fsp_rangeley/Makefile.inc index 6cb6cb2349..e9f7a8556b 100644 --- a/src/northbridge/intel/fsp_rangeley/Makefile.inc +++ b/src/northbridge/intel/fsp_rangeley/Makefile.inc @@ -18,6 +18,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_FSP_RANGELEY),y) + subdirs-y += fsp ramstage-y += northbridge.c ramstage-y += raminit.c @@ -36,3 +38,4 @@ CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR) CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_rangeley/ CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_rangeley/fsp +endif diff --git a/src/northbridge/intel/fsp_sandybridge/Makefile.inc b/src/northbridge/intel/fsp_sandybridge/Makefile.inc index ca6f345daf..c4e699a5f2 100644 --- a/src/northbridge/intel/fsp_sandybridge/Makefile.inc +++ b/src/northbridge/intel/fsp_sandybridge/Makefile.inc @@ -18,6 +18,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE)$(CONFIG_NORTHBRIDGE_INTEL_FSP_IVYBRIDGE),y) + subdirs-y += fsp ramstage-y += northbridge.c ramstage-y += ram_calc.c @@ -36,3 +38,4 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += finalize.c CPPFLAGS_common += -I$(src)/northbridge/intel/fsp_sandybridge/fsp +endif diff --git a/src/northbridge/intel/gm45/Makefile.inc b/src/northbridge/intel/gm45/Makefile.inc index 13525257da..5fb9a442e4 100644 --- a/src/northbridge/intel/gm45/Makefile.inc +++ b/src/northbridge/intel/gm45/Makefile.inc @@ -17,6 +17,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_GM45),y) + romstage-y += early_init.c romstage-y += early_reset.c romstage-y += delay.c @@ -38,3 +40,5 @@ ramstage-y += northbridge.c ramstage-y += gma.c smm-$(CONFIG_HAVE_SMI_HANDLER) += delay.c + +endif diff --git a/src/northbridge/intel/haswell/Makefile.inc b/src/northbridge/intel/haswell/Makefile.inc index ab7e6ef640..0173dbfa58 100644 --- a/src/northbridge/intel/haswell/Makefile.inc +++ b/src/northbridge/intel/haswell/Makefile.inc @@ -17,6 +17,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_HASWELL),y) + ramstage-y += ram_calc.c ramstage-y += northbridge.c ramstage-y += gma.c @@ -52,3 +54,4 @@ mrc.cache-position := 0xfffe0000 mrc.cache-type := mrc_cache endif +endif diff --git a/src/northbridge/intel/i3100/Makefile.inc b/src/northbridge/intel/i3100/Makefile.inc index 3ad40f5d86..16291bf5d8 100644 --- a/src/northbridge/intel/i3100/Makefile.inc +++ b/src/northbridge/intel/i3100/Makefile.inc @@ -1,3 +1,7 @@ +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I3100),y) + ramstage-y += northbridge.c ramstage-y += pciexp_porta.c ramstage-y += pciexp_porta_ep80579.c + +endif diff --git a/src/northbridge/intel/i440bx/Makefile.inc b/src/northbridge/intel/i440bx/Makefile.inc index 137d24fd01..2b32f2ba9a 100644 --- a/src/northbridge/intel/i440bx/Makefile.inc +++ b/src/northbridge/intel/i440bx/Makefile.inc @@ -18,7 +18,11 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440BX),y) + ramstage-y += northbridge.c romstage-y += raminit.c romstage-y += debug.c + +endif diff --git a/src/northbridge/intel/i440lx/Makefile.inc b/src/northbridge/intel/i440lx/Makefile.inc index a67331f75b..dc1a1df591 100644 --- a/src/northbridge/intel/i440lx/Makefile.inc +++ b/src/northbridge/intel/i440lx/Makefile.inc @@ -18,4 +18,8 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440LX),y) + ramstage-y += northbridge.c + +endif diff --git a/src/northbridge/intel/i5000/Makefile.inc b/src/northbridge/intel/i5000/Makefile.inc index 767cd7e047..3c98e668fb 100644 --- a/src/northbridge/intel/i5000/Makefile.inc +++ b/src/northbridge/intel/i5000/Makefile.inc @@ -17,6 +17,10 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I5000),y) + ramstage-y += northbridge.c romstage-y += raminit.c cpu_incs += src/northbridge/intel/i5000/halt_second_bsp.S + +endif diff --git a/src/northbridge/intel/i82810/Makefile.inc b/src/northbridge/intel/i82810/Makefile.inc index 137d24fd01..1fb5e2d241 100644 --- a/src/northbridge/intel/i82810/Makefile.inc +++ b/src/northbridge/intel/i82810/Makefile.inc @@ -18,7 +18,11 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I82810),y) + ramstage-y += northbridge.c romstage-y += raminit.c romstage-y += debug.c + +endif diff --git a/src/northbridge/intel/i82830/Makefile.inc b/src/northbridge/intel/i82830/Makefile.inc index 239457048c..ebbae8111d 100644 --- a/src/northbridge/intel/i82830/Makefile.inc +++ b/src/northbridge/intel/i82830/Makefile.inc @@ -1,4 +1,8 @@ +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I82830),y) + ramstage-y += northbridge.c ramstage-y += vga.c smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c + +endif diff --git a/src/northbridge/intel/i855/Makefile.inc b/src/northbridge/intel/i855/Makefile.inc index 23eada5ad3..4dfc358fa0 100644 --- a/src/northbridge/intel/i855/Makefile.inc +++ b/src/northbridge/intel/i855/Makefile.inc @@ -1 +1,5 @@ +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I855),y) + ramstage-y += northbridge.c + +endif diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc index d3a795cfd6..19bba6d51e 100644 --- a/src/northbridge/intel/i945/Makefile.inc +++ b/src/northbridge/intel/i945/Makefile.inc @@ -17,6 +17,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I945),y) + ramstage-y += ram_calc.c ramstage-y += northbridge.c ramstage-y += gma.c @@ -29,3 +31,5 @@ romstage-y += errata.c romstage-y += debug.c smm-y += udelay.c + +endif diff --git a/src/northbridge/intel/nehalem/Makefile.inc b/src/northbridge/intel/nehalem/Makefile.inc index ff656280ec..0b58f8dc04 100644 --- a/src/northbridge/intel/nehalem/Makefile.inc +++ b/src/northbridge/intel/nehalem/Makefile.inc @@ -17,6 +17,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_NEHALEM),y) + ramstage-y += ram_calc.c ramstage-y += northbridge.c ramstage-y += gma.c @@ -42,3 +44,4 @@ mrc.cache-file := $(obj)/mrc.cache mrc.cache-position := 0xfffe0000 mrc.cache-type := mrc_cache +endif diff --git a/src/northbridge/intel/sandybridge/Makefile.inc b/src/northbridge/intel/sandybridge/Makefile.inc index 3930a6e22b..9f554f71bb 100644 --- a/src/northbridge/intel/sandybridge/Makefile.inc +++ b/src/northbridge/intel/sandybridge/Makefile.inc @@ -17,6 +17,8 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE)$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE)$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE)$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE),y) + ramstage-y += ram_calc.c ramstage-y += northbridge.c ramstage-y += gma.c @@ -65,3 +67,4 @@ mrc.cache-position := $(mrc-cache-position-y) mrc.cache-type := mrc_cache endif +endif diff --git a/src/northbridge/intel/sch/Makefile.inc b/src/northbridge/intel/sch/Makefile.inc index 16152b7c9a..7757179187 100644 --- a/src/northbridge/intel/sch/Makefile.inc +++ b/src/northbridge/intel/sch/Makefile.inc @@ -17,7 +17,11 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +ifeq ($(CONFIG_NORTHBRIDGE_INTEL_SCH),y) + ramstage-y += northbridge.c ramstage-y += gma.c ramstage-y += port_access.c ramstage-y += acpi.c + +endif |