Update to get RailNames from parsing YAML

Change-Id: Ibcecb592fb4ef61efe5d8ba32bef8af0f979dc98
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/power-sequencer/templates/ucd90160_defs.mako.cpp b/power-sequencer/templates/ucd90160_defs.mako.cpp
index 56001d8..1e065df 100644
--- a/power-sequencer/templates/ucd90160_defs.mako.cpp
+++ b/power-sequencer/templates/ucd90160_defs.mako.cpp
@@ -14,11 +14,13 @@
 %for ucd_data in ucd90160s:
     {${ucd_data['index']},
      DeviceDefinition{
-         "${ucd_data['path']}",
+       "${ucd_data['path']}",
 
-         RailNames{"5.0VCS"s, "12.0V"s, "3.3V"s, "1.8V"s, "1.1V"s, "1.0V"s,
-                   "0.9V"s, "VDN-A"s, "VDN-B"s, "AVDD"s, "VIO-A"s, "VIO-B"s,
-                   "VDD-A"s, "VDD-B"s, "VCS-A"s, "VCS-B"s},
+        RailNames{
+        %for rail in ucd_data['RailNames']:
+            "${rail}"s,
+        %endfor
+        },
 
          GPIConfigs{
              GPIConfig{1, 8, "PGOOD_5P0V"s, false, extraAnalysisType::none},