Implement power control for x86 based platforms
This power control module provides the capability to
power on/off the host via gpio.
And provides some interfaces for system to contorl the system
power like:
setPowerState
getPowerState
Change-Id: Icd6530c42f2bc7c4d84062be786d25710b53f434
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..52780ba
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 2.8.10 FATAL_ERROR)
+set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/gpio/inc)
+
+add_subdirectory(gpio)
+add_subdirectory(power-control)