aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2013-02-05 16:14:20 +0000
committerKevin O'Connor <kevin@koconnor.net>2013-02-12 21:15:46 -0500
commitdbdb773f73b1191975ed777c9d06de27cb4477a9 (patch)
tree26e4d165237077f8e84c72a5d2ebaf89aab875b1
parentf34f069d68dadd4c1eba7df09dd8922ddc6f6a04 (diff)
downloadseabios-dbdb773f73b1191975ed777c9d06de27cb4477a9.tar.gz
Use find_pmtimer() after copying coreboot ACPI tables
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--src/Kconfig1
-rw-r--r--src/coreboot.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Kconfig b/src/Kconfig
index cdd4f31..4ddf9da 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -253,7 +253,6 @@ menu "Hardware support"
help
Initialize the Memory Type Range Registers (on emulators).
config PMTIMER
- depends on !COREBOOT
bool "Use ACPI timer"
default y
help
diff --git a/src/coreboot.c b/src/coreboot.c
index 5d5e03b..3969907 100644
--- a/src/coreboot.c
+++ b/src/coreboot.c
@@ -12,7 +12,7 @@
#include "boot.h" // boot_add_cbfs
#include "disk.h" // MAXDESCSIZE
#include "config.h" // CONFIG_*
-
+#include "acpi.h" // find_pmtimer
/****************************************************************
* Memory map
@@ -219,6 +219,8 @@ coreboot_biostable_setup(void)
if (m->type == CB_MEM_TABLE)
scan_tables(m->start, m->size);
}
+
+ find_pmtimer();
}