From: Tom Zanussi <tom.zanu...@intel.com>

Add a general-purpose feature for turning on common HPET options, such
as basic HPET support and the hpet device w/mmap support.

Signed-off-by: Tom Zanussi <tom.zanu...@intel.com>
---
 meta/cfg/kernel-cache/features/hpet/hpet.cfg |    6 ++++++
 meta/cfg/kernel-cache/features/hpet/hpet.scc |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 meta/cfg/kernel-cache/features/hpet/hpet.cfg
 create mode 100644 meta/cfg/kernel-cache/features/hpet/hpet.scc

diff --git a/meta/cfg/kernel-cache/features/hpet/hpet.cfg 
b/meta/cfg/kernel-cache/features/hpet/hpet.cfg
new file mode 100644
index 0000000..2ae1555
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/hpet/hpet.cfg
@@ -0,0 +1,6 @@
+CONFIG_HPET_TIMER=y
+CONFIG_HPET_EMULATE_RTC=y
+
+# enable /dev/hpet and allow it to be mmapped
+CONFIG_HPET=y
+CONFIG_HPET_MMAP=y
diff --git a/meta/cfg/kernel-cache/features/hpet/hpet.scc 
b/meta/cfg/kernel-cache/features/hpet/hpet.scc
new file mode 100644
index 0000000..1727606
--- /dev/null
+++ b/meta/cfg/kernel-cache/features/hpet/hpet.scc
@@ -0,0 +1 @@
+kconf non-hardware hpet.cfg
-- 
1.7.0.4

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to