Add fan presence detection definition parser
The parser creates a source file from a given yaml file that defines
each fan's presence detection method, which is accessible using the
non-generated header file.
Change-Id: I8110c031abc23c0a621cdb984b2a315892d9a1ac
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/fan_detect_defs.hpp b/fan_detect_defs.hpp
new file mode 100644
index 0000000..6c49366
--- /dev/null
+++ b/fan_detect_defs.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <map>
+#include <set>
+#include <tuple>
+#include "fan_properties.hpp"
+
+extern const std::map<std::string,
+ std::set<phosphor::fan::Properties>> fanDetectMap;