commit | 5a94c9db3be9f827ba95e94acaef3ae1f2ad5512 | [log] [tgz] |
---|---|---|
author | Jim Wright <jlwright@us.ibm.com> | Tue Oct 29 13:01:13 2019 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Wed Oct 30 21:28:46 2019 +0000 |
tree | d8076feffb0ecb7dfed96c9355ce4d935f1aaf14 | |
parent | 3daeb919ca06b06ac1a367939458a0952348b90f [diff] |
Make GPIOAnalysis section optional in power sequencer YAML Per https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/26103, implement Matt's better fix and make 'GPIOAnalysis' section optional. Rainier system does not need this section. Update to remove dummy entry from Rainier power sequencer YAML to follow. Signed-off-by: Jim Wright <jlwright@us.ibm.com> Change-Id: I792976472cdb10c05746aa75dabf22b2b179481f
diff --git a/power-sequencer/templates/ucd90160_defs.mako.cpp b/power-sequencer/templates/ucd90160_defs.mako.cpp index c7a2db6..6531015 100644 --- a/power-sequencer/templates/ucd90160_defs.mako.cpp +++ b/power-sequencer/templates/ucd90160_defs.mako.cpp
@@ -32,7 +32,7 @@ }, GPIOAnalysis{ - %for gpio_analysis in ucd_data['GPIOAnalysis']: + %for gpio_analysis in ucd_data.get('GPIOAnalysis', []): {extraAnalysisType::${gpio_analysis['type']}, GPIOGroup{ "${gpio_analysis['path']}",