- Add config flag for boards that have their own fadt.c
authorPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 28 Feb 2010 18:23:00 +0000 (18:23 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 28 Feb 2010 18:23:00 +0000 (18:23 +0000)
  This should eventually go, as fadt seems to be better
  put into the southbridge
- Add config flag for boards that have get_bus_conf.c
  Might be cleaned out as well, no idea
- Use flags where appropriate.
- Move the following rules to src/arch/i386/Makefile.inc:
  - fadt.o
  - dsdt.o
  - acpi_tables.o
  - get_bus_conf.o
- Rename objs_dsl_template in toplevel Makefile to the more
  appropriate objs_asl_template
- Remove all Makefiles that are empty now, which includes
  src/mainboard/Makefile.k8_CAR.inc and
  src/mainboard/Makefile.k8_ck804.inc
  and the include statements that used these files.
- Add workaround to intel/xe7501devkit:
  It uses ACPI in an unusual way: It adds a MADT, but no
  DSDT. As this is highly unusual, I didn't want to add
  explicit support for that scenario (and encourage such
  uses that way), and added a dummy dsdt.asl instead. It
  will be linked to dsdt.o, but not linked into the final
  binary.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5171 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

98 files changed:
Makefile
src/Kconfig
src/arch/i386/Makefile.inc
src/mainboard/Makefile.k8_CAR.inc [deleted file]
src/mainboard/Makefile.k8_ck804.inc [deleted file]
src/mainboard/amd/dbm690t/Kconfig
src/mainboard/amd/dbm690t/Makefile.inc [deleted file]
src/mainboard/amd/pistachio/Kconfig
src/mainboard/amd/pistachio/Makefile.inc [deleted file]
src/mainboard/amd/serengeti_cheetah/Kconfig
src/mainboard/amd/serengeti_cheetah/Makefile.inc
src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
src/mainboard/amd/serengeti_cheetah_fam10/Makefile.inc
src/mainboard/arima/hdama/Makefile.inc [deleted file]
src/mainboard/asus/a8n_e/Kconfig
src/mainboard/asus/a8n_e/Makefile.inc [deleted file]
src/mainboard/asus/a8v-e_se/Makefile.inc [deleted file]
src/mainboard/asus/m2v-mx_se/Makefile.inc [deleted file]
src/mainboard/bcom/winnetp680/Makefile.inc [deleted file]
src/mainboard/broadcom/blast/Kconfig
src/mainboard/broadcom/blast/Makefile.inc
src/mainboard/gigabyte/ga_2761gxdk/Kconfig
src/mainboard/gigabyte/ga_2761gxdk/Makefile.inc
src/mainboard/gigabyte/m57sli/Kconfig
src/mainboard/gigabyte/m57sli/Makefile.inc
src/mainboard/hp/dl145_g3/Kconfig
src/mainboard/hp/dl145_g3/Makefile.inc [deleted file]
src/mainboard/ibm/e325/Makefile.inc [deleted file]
src/mainboard/ibm/e326/Makefile.inc [deleted file]
src/mainboard/intel/d945gclf/Kconfig
src/mainboard/intel/d945gclf/Makefile.inc
src/mainboard/intel/eagleheights/Kconfig
src/mainboard/intel/eagleheights/Makefile.inc [deleted file]
src/mainboard/intel/xe7501devkit/Makefile.inc
src/mainboard/intel/xe7501devkit/dsdt.asl [new file with mode: 0644]
src/mainboard/iwill/dk8_htx/Kconfig
src/mainboard/iwill/dk8_htx/Makefile.inc
src/mainboard/iwill/dk8s2/Makefile.inc [deleted file]
src/mainboard/iwill/dk8x/Makefile.inc [deleted file]
src/mainboard/kontron/986lcd-m/Kconfig
src/mainboard/kontron/986lcd-m/Makefile.inc
src/mainboard/kontron/kt690/Kconfig
src/mainboard/kontron/kt690/Makefile.inc [deleted file]
src/mainboard/msi/ms7135/Kconfig
src/mainboard/msi/ms7135/Makefile.inc [deleted file]
src/mainboard/msi/ms7260/Kconfig
src/mainboard/msi/ms7260/Makefile.inc
src/mainboard/msi/ms9185/Kconfig
src/mainboard/msi/ms9185/Makefile.inc [deleted file]
src/mainboard/msi/ms9282/Kconfig
src/mainboard/msi/ms9282/Makefile.inc
src/mainboard/newisys/khepri/Makefile.inc [deleted file]
src/mainboard/nvidia/l1_2pvv/Kconfig
src/mainboard/nvidia/l1_2pvv/Makefile.inc
src/mainboard/roda/rk886ex/Kconfig
src/mainboard/roda/rk886ex/Makefile.inc
src/mainboard/sunw/ultra40/Kconfig
src/mainboard/sunw/ultra40/Makefile.inc [deleted file]
src/mainboard/supermicro/h8dme/Kconfig
src/mainboard/supermicro/h8dme/Makefile.inc
src/mainboard/supermicro/h8dmr/Kconfig
src/mainboard/supermicro/h8dmr/Makefile.inc [deleted file]
src/mainboard/supermicro/h8dmr_fam10/Kconfig
src/mainboard/supermicro/h8dmr_fam10/Makefile.inc [deleted file]
src/mainboard/supermicro/h8qme_fam10/Kconfig
src/mainboard/supermicro/h8qme_fam10/Makefile.inc [deleted file]
src/mainboard/technexion/tim5690/Kconfig
src/mainboard/technexion/tim5690/Makefile.inc
src/mainboard/technexion/tim8690/Kconfig
src/mainboard/technexion/tim8690/Makefile.inc [deleted file]
src/mainboard/tyan/s2850/Makefile.inc [deleted file]
src/mainboard/tyan/s2875/Makefile.inc [deleted file]
src/mainboard/tyan/s2880/Makefile.inc [deleted file]
src/mainboard/tyan/s2881/Kconfig
src/mainboard/tyan/s2881/Makefile.inc
src/mainboard/tyan/s2882/Makefile.inc [deleted file]
src/mainboard/tyan/s2885/Kconfig
src/mainboard/tyan/s2885/Makefile.inc [deleted file]
src/mainboard/tyan/s2891/Kconfig
src/mainboard/tyan/s2891/Makefile.inc [deleted file]
src/mainboard/tyan/s2892/Kconfig
src/mainboard/tyan/s2892/Makefile.inc
src/mainboard/tyan/s2895/Kconfig
src/mainboard/tyan/s2895/Makefile.inc [deleted file]
src/mainboard/tyan/s2912/Kconfig
src/mainboard/tyan/s2912/Makefile.inc
src/mainboard/tyan/s2912_fam10/Kconfig
src/mainboard/tyan/s2912_fam10/Makefile.inc
src/mainboard/tyan/s4880/Makefile.inc [deleted file]
src/mainboard/tyan/s4882/Makefile.inc [deleted file]
src/mainboard/via/epia-m/Kconfig
src/mainboard/via/epia-m/Makefile.inc
src/mainboard/via/epia-m700/Kconfig
src/mainboard/via/epia-m700/Makefile.inc
src/mainboard/via/epia-n/Kconfig
src/mainboard/via/epia-n/Makefile.inc [deleted file]
src/mainboard/via/vt8454c/Kconfig
src/mainboard/via/vt8454c/Makefile.inc [deleted file]

index 4cc19e6381d6d36c13b0f3e12395fe6b0b4be848..423e1340eaa6e3d98b733b9d37d8e04e17189d53 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,7 @@ subdirs:=$(PLATFORM-y) $(BUILD-y)
 $(eval $(call evaluate_subdirs))
 
 
-define objs_dsl_template
+define objs_asl_template
 $(obj)/$(1)%.o: src/$(1)%.asl
        @printf "    IASL       $$(subst $(top)/,,$$(@))\n"
        $(CPP) -D__ACPI__ -P $(CPPFLAGS) -include $(obj)/config.h -I$(src) -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$(basename $$@).asl
@@ -201,7 +201,7 @@ endef
 
 usetemplate=$(foreach d,$(sort $(dir $($(1)))),$(eval $(call $(1)_$(2)_template,$(subst $(obj)/,,$(d)))))
 usetemplate=$(foreach d,$(sort $(dir $($(1)))),$(eval $(call $(1)_$(2)_template,$(subst $(obj)/,,$(d)))))
-$(eval $(call usetemplate,objs,dsl))
+$(eval $(call usetemplate,objs,asl))
 $(eval $(call usetemplate,objs,c))
 $(eval $(call usetemplate,objs,S))
 $(eval $(call usetemplate,initobjs,c))
index 4cd8110377e359b3e9216f3b3504eee98b7b4a87..dfb2d71a4c02076ef37fc31c992bc95439723be1 100644 (file)
@@ -186,6 +186,21 @@ config BOARD_HAS_HARD_RESET
          This variable specifies whether a given board has a reset.c
          file containing a hard_reset() function.
 
+config BOARD_HAS_FADT
+       bool
+       default n
+       help
+         This variable specifies whether a given board has a board-local
+         FADT in fadt.c. Long-term, those should be moved to appropriate
+         chipset components (eg. southbridge)
+
+config HAVE_BUS_CONFIG
+       bool
+       default n
+       help
+         This variable specifies whether a given board has a get_bus_conf.c
+         file containing bus configuration data.
+
 config HAVE_INIT_TIMER
        bool
        default n if UDELAY_IO
index cd62bf100eeb685681cd30062052ab00f2b049f9..5e6e194a9ee2e6ed91a9464aa12b4cbbe23aa88e 100644 (file)
@@ -213,6 +213,17 @@ endif
 ifeq ($(CONFIG_BOARD_HAS_HARD_RESET),y)
 objs += $(obj)/mainboard/$(MAINBOARDDIR)/reset.o
 endif
+ifeq ($(CONFIG_GENERATE_ACPI_TABLES),y)
+objs += $(obj)/mainboard/$(MAINBOARDDIR)/acpi_tables.o
+objs += $(obj)/mainboard/$(MAINBOARDDIR)/dsdt.o
+ifeq ($(CONFIG_BOARD_HAS_FADT),y)
+objs += $(obj)/mainboard/$(MAINBOARDDIR)/fadt.o
+endif
+endif
+
+ifeq ($(CONFIG_HAVE_BUS_CONFIG),y)
+objs += $(obj)/mainboard/$(MAINBOARDDIR)/get_bus_conf.o
+endif
 
 endif
 
diff --git a/src/mainboard/Makefile.k8_CAR.inc b/src/mainboard/Makefile.k8_CAR.inc
deleted file mode 100644 (file)
index 7d8a001..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2010 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
-##
-
-##
-## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
-##
-
-
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-
-
-
-
diff --git a/src/mainboard/Makefile.k8_ck804.inc b/src/mainboard/Makefile.k8_ck804.inc
deleted file mode 100644 (file)
index b9e1dcf..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2010 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
-##
-
-##
-## This mainboard requires DCACHE_AS_RAM enabled. It won't work without.
-##
-
-
-#needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  acpi_tables.o
-
-
-
-
-
index 67019a61955ff548048e6744de8a5925c30ea527..ce9d08c5eee81289388e1af89fb97ebd60480864 100644 (file)
@@ -7,10 +7,12 @@ config BOARD_AMD_DBM690T
        select SOUTHBRIDGE_AMD_RS690
        select SOUTHBRIDGE_AMD_SB600
        select SUPERIO_ITE_IT8712F
+       select BOARD_HAS_FADT
        select GENERATE_ACPI_TABLES
        select GENERATE_MP_TABLE
        select GENERATE_PIRQ_TABLE
        select HAVE_MAINBOARD_RESOURCES
+       select HAVE_BUS_CONFIG
        select USE_PRINTK_IN_CAR
        select USE_DCACHE_RAM
        select HAVE_HARD_RESET
diff --git a/src/mainboard/amd/dbm690t/Makefile.inc b/src/mainboard/amd/dbm690t/Makefile.inc
deleted file mode 100644 (file)
index 1a5d69b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
index 73ae5d6300b6482d0e38f5f96959e335f28a8eee..d41b7a8dc57a4586da1c2603b88428404bae5f78 100644 (file)
@@ -6,6 +6,8 @@ config BOARD_AMD_PISTACHIO
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_AMD_RS690
        select SOUTHBRIDGE_AMD_SB600
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/amd/pistachio/Makefile.inc b/src/mainboard/amd/pistachio/Makefile.inc
deleted file mode 100644 (file)
index 1a5d69b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
index 1163d75fbc9f5a2ffe545cf12c73a7fc1c92c735..ca00ba80ba54619dd606438edac5fa43199802a4 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_AMD_SERENGETI_CHEETAH
        select SOUTHBRIDGE_AMD_AMD8111
        select SOUTHBRIDGE_AMD_AMD8131
        select SUPERIO_WINBOND_W83627HF
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index f7dabdc4285e83df9c58bfb14b8ecb0a7dc01d1e..f2b4800966d90638ef29360f1c04ce21ba01d735 100644 (file)
 ##
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt2.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt3.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt4.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 obj-y += ../../../drivers/i2c/i2cmux/i2cmux.o
index 282eca9467584ef36533bc0f07d67f9605d6f537..075ef91fd3d7563692641d2d4c13dcc0e681f157 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_AMD_SERENGETI_CHEETAH_FAM10
        select SOUTHBRIDGE_AMD_AMD8111
        select SOUTHBRIDGE_AMD_AMD8132
        select SUPERIO_WINBOND_W83627HF
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index b3655ed3b67e7d28636bf1676d875f2789f7b6ef..a0339ee84bf8c82fa4d9abff43fb907e0842cb9c 100644 (file)
 ##
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 # ./ssdt.o is in northbridge/amd/amdfam10/Makefile.inc
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt2.o
diff --git a/src/mainboard/arima/hdama/Makefile.inc b/src/mainboard/arima/hdama/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index ee66b0ac34b7cbca02070c7136c5e466a20a7d81..5431287dfc77a1c620ed02d8e871e8c18ab5f7f4 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_ASUS_A8N_E
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_CK804
        select SUPERIO_ITE_IT8712F
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/asus/a8n_e/Makefile.inc b/src/mainboard/asus/a8n_e/Makefile.inc
deleted file mode 100644 (file)
index 5b1a13c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
diff --git a/src/mainboard/asus/a8v-e_se/Makefile.inc b/src/mainboard/asus/a8v-e_se/Makefile.inc
deleted file mode 100644 (file)
index ceff472..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Needed by irq_tables and mptable and acpi_tables.
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
diff --git a/src/mainboard/asus/m2v-mx_se/Makefile.inc b/src/mainboard/asus/m2v-mx_se/Makefile.inc
deleted file mode 100644 (file)
index bd6760a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 coresystems GmbH
-## Copyright (C) 2009 Cristi MăgheruÈ™an <cristi.magherusan@net.utcluj.ro>
-##
-## 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
-##
-
-#needed by irq_tables and mptable and acpi_tables
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  acpi_tables.o
diff --git a/src/mainboard/bcom/winnetp680/Makefile.inc b/src/mainboard/bcom/winnetp680/Makefile.inc
deleted file mode 100644 (file)
index 757bf4b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2008 VIA Technologies, Inc.
-## (Written by Aaron Lwe <aaron.lwe@gmail.com> for VIA)
-##
-## 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; either version 2 of the License, or
-## (at your option) any later version.
-##
-## 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
-##
-
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
index 92b25914a7943976ca5ec0a5da31d7832e1bd25a..f305e185a8ea2fc7e7515bdb962a7df17d6b730e 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_BROADCOM_BLAST
        select SOUTHBRIDGE_BROADCOM_BCM5780
        select SOUTHBRIDGE_BROADCOM_BCM5785
        select SUPERIO_NSC_PC87417
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 93efa1ec7ca3f7cd727bdd838f286163e4ebd131..76c3bf16d82f461356ea3b1e42980f8864a4e819 100644 (file)
@@ -1,6 +1,4 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
 
 obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
index cd53f492479258bf0663ddbb7e92ba96c6331493..d599c5cd1d47ef3c0f189803060b1c446a8f11e7 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_GIGABYTE_GA_2761GXDK
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_SIS_SIS966
        select SUPERIO_ITE_IT8716F
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select USE_PRINTK_IN_CAR
        select USE_DCACHE_RAM
index 271e9fe54766e59ef3e8ab09edc6fbb1c1685d14..9c0156e9dd68d497d3384826e18f0b04d364c9b8 100644 (file)
@@ -18,6 +18,5 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
index ff18dd40d43417ed40175cd2546e83a608dceff4..fabef71ea126070d53aa04eaa7bddd8710e26041 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_GIGABYTE_M57SLI
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_ITE_IT8716F
        select SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index a824f44494425ed7007198a0fd295c764479e2da..9c55ac5a81e2eba466c3be6f0ba0095f1202bc44 100644 (file)
@@ -18,9 +18,6 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) +=  acpi_tables.o
 obj-$(CONFIG_SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL) += fanctl.o
index 13ef1af3b4adf017228d523562d2b75177ec2c47..bea50d75cb892762dd67dfe6fe67500f1d0f80c6 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_HP_DL145_G3
        select SOUTHBRIDGE_BROADCOM_BCM21000
        select SOUTHBRIDGE_BROADCOM_BCM5785
        select SUPERIO_NSC_PC87417
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/hp/dl145_g3/Makefile.inc b/src/mainboard/hp/dl145_g3/Makefile.inc
deleted file mode 100644 (file)
index d113e50..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
diff --git a/src/mainboard/ibm/e325/Makefile.inc b/src/mainboard/ibm/e325/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
diff --git a/src/mainboard/ibm/e326/Makefile.inc b/src/mainboard/ibm/e326/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index 261989a4a1e71911da3df58186a1e26e6675eb19..4532b5c8b2d74c5fa7b5722b11ad061b09631b4c 100644 (file)
@@ -25,6 +25,7 @@ config BOARD_INTEL_D945GCLF
        select NORTHBRIDGE_INTEL_I945
        select SOUTHBRIDGE_INTEL_I82801GX
        select SUPERIO_SMSC_LPC47M15X
+       select BOARD_HAS_FADT
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
index 9516e9ea212367e6feeb4d670f556290f01873f2..a74b1d7552907ade60e121bd7a740a225d1dab9c 100644 (file)
@@ -23,8 +23,5 @@
 
 obj-y += rtl8168.o
 
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 smmobj-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.o
index 45b173f1bbe918cba906be290855ce5c153580ca..d57834a50765cd21c38c3da2ce75b7a1e582f585 100644 (file)
@@ -8,6 +8,7 @@ config BOARD_INTEL_EAGLEHEIGHTS
        select SUPERIO_SMSC_SMSCSUPERIO
        select HAVE_HARD_RESET
        select BOARD_HAS_HARD_RESET
+       select BOARD_HAS_FADT
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select MMCONF_SUPPORT
diff --git a/src/mainboard/intel/eagleheights/Makefile.inc b/src/mainboard/intel/eagleheights/Makefile.inc
deleted file mode 100644 (file)
index 3eaf840..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
index 4878dc3ff9bd4b289ee51cbf45792a5b2b5179b4..0f285cdfedfa0ec4e6707450bdb76a7fbcb6c4a7 100644 (file)
@@ -1,2 +1 @@
 ROMCCFLAGS := -mcpu=p4 -O2
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
diff --git a/src/mainboard/intel/xe7501devkit/dsdt.asl b/src/mainboard/intel/xe7501devkit/dsdt.asl
new file mode 100644 (file)
index 0000000..360db88
--- /dev/null
@@ -0,0 +1,16 @@
+/* This is a dummy dsdt. Normal ACPI requires a DSDT, but in this case, ACPI
+   is just a workaround for QNX. It would be nice to eventually have a real
+   dsdt here.
+   Note: It will not be hooked up at runtime. It won't even get linked.
+   But we still need this file. */
+
+DefinitionBlock(
+       "dsdt.aml",
+       "DSDT",
+       0x02,           // DSDT revision: ACPI v2.0
+       "COREv2",       // OEM id
+       "COREBOOT",     // OEM table id
+       0x20090419      // OEM revision
+)
+{
+}
index 538e0fe92d2783a1612679a90c75701287575150..5250e4d46fc78f7f0b37f0b8c50b32359acf7145 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_IWILL_DK8_HTX
        select SOUTHBRIDGE_AMD_AMD8111
        select SOUTHBRIDGE_AMD_AMD8131
        select SUPERIO_WINBOND_W83627HF
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index ec879c6bb59670e64c6c610075d8d1a2c0caddec..2537702240dc19858a657392f88df250b433b0f4 100644 (file)
 ##
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt2.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt3.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt4.o
 obj-$(CONFIG_GENERATE_ACPI_TABLES) += ssdt5.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
diff --git a/src/mainboard/iwill/dk8s2/Makefile.inc b/src/mainboard/iwill/dk8s2/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
diff --git a/src/mainboard/iwill/dk8x/Makefile.inc b/src/mainboard/iwill/dk8x/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index 6ff5c556dd0490fb284e9f0d32aea022c697ab52..765d7b815a0f4ad6c7567885706b19959ba51555 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_KONTRON_986LCD_M
        select NORTHBRIDGE_INTEL_I945
        select SOUTHBRIDGE_INTEL_I82801GX
        select SUPERIO_WINBOND_W83627THG
+       select BOARD_HAS_FADT
        select GENERATE_ACPI_TABLES
        select GENERATE_PIRQ_TABLE
        select GENERATE_MP_TABLE
index 5bd9a895b94e2872faba34a5c0e74314dc15926f..b6c9383f30334214e3f740fa2e321e9276d6d1fe 100644 (file)
@@ -23,8 +23,5 @@
 
 obj-y += rtl8168.o
 
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 smmobj-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.o
index c43cca43ba6b1731891b901a7502a60aceff3381..0a695dfdac33a95d97240e858edc6b6378aa90c5 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_KONTRON_KT690
        select SOUTHBRIDGE_AMD_RS690
        select SOUTHBRIDGE_AMD_SB600
        select SUPERIO_WINBOND_W83627DHG
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select HAVE_MAINBOARD_RESOURCES
diff --git a/src/mainboard/kontron/kt690/Makefile.inc b/src/mainboard/kontron/kt690/Makefile.inc
deleted file mode 100644 (file)
index 1a5d69b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
index 81e4bbb4a6bd7f19ac00183a5859dac019900adc..95cda6e2eecc82e213a6faccc813a13de53ad2e7 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_MSI_MS7135
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_CK804
        select SUPERIO_WINBOND_W83627THF
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
diff --git a/src/mainboard/msi/ms7135/Makefile.inc b/src/mainboard/msi/ms7135/Makefile.inc
deleted file mode 100644 (file)
index 53cb4fc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_ck804.inc
index 929433aade0e8fe4003499f5102f3ba24517a5ad..f6b593e828f8d10692da33f04b1775360dbaaf2b 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_MSI_MS7260
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627EHG
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 271e9fe54766e59ef3e8ab09edc6fbb1c1685d14..9c0156e9dd68d497d3384826e18f0b04d364c9b8 100644 (file)
@@ -18,6 +18,5 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
index f5c816fb1ab62fe526313b9427dbebd474a26cd5..02742411d065b4b0c899fc00bf1e529bd9f1824d 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_MSI_MS9185
        select SOUTHBRIDGE_BROADCOM_BCM5780
        select SOUTHBRIDGE_BROADCOM_BCM5785
        select SUPERIO_NSC_PC87417
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/msi/ms9185/Makefile.inc b/src/mainboard/msi/ms9185/Makefile.inc
deleted file mode 100644 (file)
index 0ecef1d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
-
-obj-y += get_bus_conf.o
index 85f76ec7e08600d56650baff357c8e17392f21db..bf90edfe281b8448d4f30e579355c12d9f0f2fe4 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_MSI_MS9282
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627EHG
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index b8eab48927d8c26b49cab0fd95da0eca50614816..f1bdc81ba91fb4d10f893ccdbf93b6755bf0fe01 100644 (file)
@@ -21,6 +21,5 @@ obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
 obj-y += ../../../drivers/i2c/adm1027/adm1027.o
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
diff --git a/src/mainboard/newisys/khepri/Makefile.inc b/src/mainboard/newisys/khepri/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index a6bc14b241059d749f13f1fedac3646059b332f0..91654d17afda25eef9c31ff0b4304a968cf1e879 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_NVIDIA_L1_2PVV
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627EHG
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 271e9fe54766e59ef3e8ab09edc6fbb1c1685d14..9c0156e9dd68d497d3384826e18f0b04d364c9b8 100644 (file)
@@ -18,6 +18,5 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
index 1b1aca0fbad558062e24eabb080432e5dc65ed4c..02aa0c5c73804f0f2d01c44ae76a0556de58ce0e 100644 (file)
@@ -8,6 +8,7 @@ config BOARD_RODA_RK886EX
        select SOUTHBRIDGE_TI_PCI7420
        select SUPERIO_SMSC_LPC47N227
        select SUPERIO_RENESAS_M3885X
+       select BOARD_HAS_FADT
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select MMCONF_SUPPORT
index 7da49f700aa368e303180c65fd7b8b4ab3ff7f5a..fbf51bc990a85ce15c7f3f7ea33706b8962a3639 100644 (file)
@@ -25,8 +25,5 @@ obj-y += m3885.o
 obj-y += ec.o
 obj-y += rtl8168.o
 
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 smmobj-$(CONFIG_HAVE_SMI_HANDLER) += mainboard_smi.o
index 71aa3bdb0e36a60a30eac59587c524dc10b7661f..49b292a448956108cd6e5cf652679837cdb6fa2f 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_SUNW_ULTRA40
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_CK804
        select SUPERIO_SMSC_LPC47M10X
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/sunw/ultra40/Makefile.inc b/src/mainboard/sunw/ultra40/Makefile.inc
deleted file mode 100644 (file)
index 0ecef1d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
-
-obj-y += get_bus_conf.o
index 10e97a138438b824cff6da2353277ce1d2f0925a..d297069e674397e62a76d0a79863d4cd5a2cd404 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_SUPERMICRO_H8DME
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 15fca9e73c660bbe1f8d46a29050a146af4e680a..132161309da145815d9e8ac0ec026190ec867348 100644 (file)
@@ -20,4 +20,3 @@
 obj-y += ../../../drivers/i2c/i2cmux2/i2cmux2.o
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
index 77109555a2e9a7c270f33a30545845aeb914e480..9fad7a34e094f0ded9ae4fedaf73473902708981 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_SUPERMICRO_H8DMR
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/supermicro/h8dmr/Makefile.inc b/src/mainboard/supermicro/h8dmr/Makefile.inc
deleted file mode 100644 (file)
index 5b1a13c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
index 1c1dc9325ebd60213771fec79e60c119d4335d01..a325b707284b7baf9e4fd9abd5956791e9ffc408 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_SUPERMICRO_H8DMR_FAM10
        select NORTHBRIDGE_AMD_AMDFAM10_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc b/src/mainboard/supermicro/h8dmr_fam10/Makefile.inc
deleted file mode 100644 (file)
index 5b1a13c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
index 13eff4dd80c9ad8a8c5606429e2ebca099ba515a..12622f475bc73369719440b792ef6d871d03cb6c 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_SUPERMICRO_H8QME_FAM10
        select SOUTHBRIDGE_AMD_AMD8132
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/supermicro/h8qme_fam10/Makefile.inc b/src/mainboard/supermicro/h8qme_fam10/Makefile.inc
deleted file mode 100644 (file)
index 5b1a13c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
index fc9ccb73054b5b33ae67bbe8f4cd2ba426077205..b2b43628748f116c3b73243ffadbfa2e94122653 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_TECHNEXION_TIM5690
        select SOUTHBRIDGE_AMD_RS690
        select SOUTHBRIDGE_AMD_SB600
        select SUPERIO_ITE_IT8712F
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index c72c5ee26925e35400f4e66c7951a0c1e3200e32..cc78a0000bddc5804ce9081f5ed9fbbf9f05329d 100644 (file)
 ##
 
 # Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
 
 # This is debug message for products of Technexion.
 obj-y += tn_post_code.o
index 43be15cef7f3a485772125de55f01ff11970bdb9..f0292fc6510925b2591e2415e87142b45b0fd1b4 100644 (file)
@@ -7,6 +7,8 @@ config BOARD_TECHNEXION_TIM8690
        select SOUTHBRIDGE_AMD_RS690
        select SOUTHBRIDGE_AMD_SB600
        select SUPERIO_ITE_IT8712F
+       select BOARD_HAS_FADT
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
diff --git a/src/mainboard/technexion/tim8690/Makefile.inc b/src/mainboard/technexion/tim8690/Makefile.inc
deleted file mode 100644 (file)
index 1a5d69b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-2008 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
-##
-
-# Needed by irq_tables and mptable and acpi_tables.
-obj-y += get_bus_conf.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
diff --git a/src/mainboard/tyan/s2850/Makefile.inc b/src/mainboard/tyan/s2850/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
diff --git a/src/mainboard/tyan/s2875/Makefile.inc b/src/mainboard/tyan/s2875/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
diff --git a/src/mainboard/tyan/s2880/Makefile.inc b/src/mainboard/tyan/s2880/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index 017c6227f6bf9c189a549cfaa2e75488e035832a..d719f0f1de8bff681fb1675e1224c22775399867 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_TYAN_S2881
        select SOUTHBRIDGE_AMD_AMD8131
        select SOUTHBRIDGE_AMD_AMD8111
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
index aa0510402f882e8841e7f3079f23ece9a7b24041..4160fecd12085b5f0701b5052e7cb2d68892ad4a 100644 (file)
@@ -1,3 +1 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
-obj-y += get_bus_conf.o
 obj-y += ../../../drivers/i2c/adm1027/adm1027.o
diff --git a/src/mainboard/tyan/s2882/Makefile.inc b/src/mainboard/tyan/s2882/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index bd66b609b072c6a47bba3ede4e69798c3d455b02..216c29dcdaebbd4ff4821d3aa19dd1892e7e08f0 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_TYAN_S2885
        select SOUTHBRIDGE_AMD_AMD8131
        select SOUTHBRIDGE_AMD_AMD8111
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
diff --git a/src/mainboard/tyan/s2885/Makefile.inc b/src/mainboard/tyan/s2885/Makefile.inc
deleted file mode 100644 (file)
index c9f7163..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
-obj-y += get_bus_conf.o
index 028934b508f355afdc42b96171e9632500fd2bd1..7c600abafa9b1f5e5119eef23f0cb76b9d64571b 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_TYAN_S2891
        select SOUTHBRIDGE_NVIDIA_CK804
        select SOUTHBRIDGE_AMD_AMD8131
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
diff --git a/src/mainboard/tyan/s2891/Makefile.inc b/src/mainboard/tyan/s2891/Makefile.inc
deleted file mode 100644 (file)
index 53cb4fc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_ck804.inc
index 39a5cb9c54f23d6ac21fe15fcb30065e00bde661..a21665ee8ae7717a9d8eee57cd34bf974fb68e39 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_TYAN_S2892
        select SOUTHBRIDGE_NVIDIA_CK804
        select SOUTHBRIDGE_AMD_AMD8131
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
index c78f133554e8253d519240e4723f1d22a86d3422..3094c136583399575073775eb9027beba6473909 100644 (file)
@@ -1,3 +1,2 @@
-include $(src)/mainboard/Makefile.k8_ck804.inc
 
 obj-y += ../../../drivers/i2c/adm1027/adm1027.o
index c411e9b57550e16d325ca63986ab96eb3603fa1a..0be63a72aabc5d4e8ac71c86284bc8a239b524de 100644 (file)
@@ -7,6 +7,7 @@ config BOARD_TYAN_S2895
        select SOUTHBRIDGE_NVIDIA_CK804
        select SOUTHBRIDGE_AMD_AMD8131
        select SUPERIO_SMSC_LPC47B397
+       select HAVE_BUS_CONFIG
        select HAVE_HARD_RESET
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
diff --git a/src/mainboard/tyan/s2895/Makefile.inc b/src/mainboard/tyan/s2895/Makefile.inc
deleted file mode 100644 (file)
index 53cb4fc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_ck804.inc
index 4a541d7a6a8f8ae51d9d943b86a67d247307eaaa..83cf5e59ddf257a1175ddf42b8d859c245b2edc3 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_TYAN_S2912
        select NORTHBRIDGE_AMD_AMDK8_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 271e9fe54766e59ef3e8ab09edc6fbb1c1685d14..9c0156e9dd68d497d3384826e18f0b04d364c9b8 100644 (file)
@@ -18,6 +18,5 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
index 40ec9b41517aa8934c050c3c57b4790e822109a8..23e18ba4d2080ce6dd835460eb951104bc153663 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_TYAN_S2912_FAM10
        select NORTHBRIDGE_AMD_AMDFAM10_ROOT_COMPLEX
        select SOUTHBRIDGE_NVIDIA_MCP55
        select SUPERIO_WINBOND_W83627HF
+       select HAVE_BUS_CONFIG
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select USE_PRINTK_IN_CAR
index 271e9fe54766e59ef3e8ab09edc6fbb1c1685d14..9c0156e9dd68d497d3384826e18f0b04d364c9b8 100644 (file)
@@ -18,6 +18,5 @@
 ##
 
 #needed by irq_tables and mptable and acpi_tables
-obj-y += get_bus_conf.o
 obj-$(CONFIG_USE_INIT) += romstage.o
 obj-$(CONFIG_AP_CODE_IN_CAR) += ap_romstage.o
diff --git a/src/mainboard/tyan/s4880/Makefile.inc b/src/mainboard/tyan/s4880/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
diff --git a/src/mainboard/tyan/s4882/Makefile.inc b/src/mainboard/tyan/s4882/Makefile.inc
deleted file mode 100644 (file)
index b1077f9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include $(src)/mainboard/Makefile.k8_CAR.inc
index 2e656e467d15bc6ad367b46916c3d017c3e83623..5674c7bf7dd126d4c0ebc2f902002d20ada49873 100644 (file)
@@ -6,6 +6,7 @@ config BOARD_VIA_EPIA_M
        select SOUTHBRIDGE_VIA_VT8235
        select SOUTHBRIDGE_RICOH_RL5C476
        select SUPERIO_VIA_VT1211
+       select BOARD_HAS_FADT
        select HAVE_PIRQ_TABLE
        select HAVE_ACPI_TABLES
        select BOARD_ROMSIZE_KB_256
index 490ba505c42124a46ed8d70b00617aef990f6a44..cabc789423e1480b90764ab0606ef1fab39a8944 100644 (file)
@@ -21,6 +21,3 @@
 
 obj-y += vgabios.o
 
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
index f711987ba0099903ffac101adb651559a61f15a5..d5547ea602d7df25ea826b05aa0e2e5c2e64649b 100644 (file)
@@ -4,6 +4,7 @@ config BOARD_VIA_EPIA_M700
        select CPU_VIA_C7
        select NORTHBRIDGE_VIA_VX800
        select SUPERIO_WINBOND_W83697HF
+       select BOARD_HAS_FADT
        select HAVE_ACPI_TABLES
        select BOARD_ROMSIZE_KB_512
 
index 462c1dcbe559407ab0e176b9f6be3a13122ec379..da2b05f02f7fb3842d5706c551559d4a58a89c72 100644 (file)
@@ -21,6 +21,3 @@
 
 obj-y += wakeup.o
 
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
index 229655a149c9a74e17b76e3154a5b823f991120e..5d6c1ec72dc6fd9b57bcaa79aba62c8ea4902544 100644 (file)
@@ -5,6 +5,7 @@ config BOARD_VIA_EPIA_N
        select NORTHBRIDGE_VIA_CN400
        select SOUTHBRIDGE_VIA_VT8237R
        select SUPERIO_WINBOND_W83697HF
+       select BOARD_HAS_FADT
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
        select EPIA_VT8237R_INIT
diff --git a/src/mainboard/via/epia-n/Makefile.inc b/src/mainboard/via/epia-n/Makefile.inc
deleted file mode 100644 (file)
index c8aab2f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2008 VIA Technologies, Inc.
-## (Written by Aaron Lwe <aaron.lwe@gmail.com> for VIA)
-##
-## 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; either version 2 of the License, or
-## (at your option) any later version.
-##
-## 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
-##
-
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
index 74c3fe1e3629e590e9b50cbc3bfe473d2d2d7a5d..eec8195fb1ea424170f1c157922694cd2f9220b8 100644 (file)
@@ -4,6 +4,7 @@ config BOARD_VIA_VT8454C
        select CPU_VIA_C7
        select NORTHBRIDGE_VIA_CX700
        select SUPERIO_VIA_VT1211
+       select BOARD_HAS_FADT
        select HAVE_PIRQ_TABLE
        select HAVE_MP_TABLE
 #      select MMCONF_SUPPORT
diff --git a/src/mainboard/via/vt8454c/Makefile.inc b/src/mainboard/via/vt8454c/Makefile.inc
deleted file mode 100644 (file)
index 2341050..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2007-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
-##
-
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += dsdt.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += acpi_tables.o
-obj-$(CONFIG_GENERATE_ACPI_TABLES) += fadt.o