diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-02-28 18:23:00 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-02-28 18:23:00 +0000 |
commit | 9ea7bff22ecaba50eefd817dd74d092120682f1a (patch) | |
tree | 1a3db24f8fdafac9178991f1c0f187faba5960eb /src/arch/i386 | |
parent | 55259bd73ba89ec648d9bfc29aa9583fb089903f (diff) |
- Add config flag for boards that have their own fadt.c
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
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/Makefile.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile.inc b/src/arch/i386/Makefile.inc index cd62bf100e..5e6e194a9e 100644 --- a/src/arch/i386/Makefile.inc +++ b/src/arch/i386/Makefile.inc @@ -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 |