diff options
author | Priyatharshan P <priyatharshanp@hcl.com> | 2020-06-30 17:27:55 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-07-15 18:46:56 +0300 |
commit | 9691eaa6755a31a9c0093775ccd0073fdc0c1050 (patch) | |
tree | fe0833a41ea823a79ca3548b4677d6ad09357975 /meta-phosphor | |
parent | 77ac8ba8f586b716275d4da4eb5f7745f44f284b (diff) | |
download | openbmc-9691eaa6755a31a9c0093775ccd0073fdc0c1050.tar.xz |
meta-phosphor: YosemiteV2: Add JSON config support for x86-power-control
The current x86-power-control support only single host. Multi host support will
be enabled via providing Json config files for each Host.This implementation
parses GPIO pin configuration from JSON config file and uses inside
x86-power-control.
TESTED: Tested and verified in both Tiogapass. The existing functionality
is not broken after adding the JSON parser implementation in Tiogapass.
(From meta-phosphor rev: 87a22ce019051424384813d573018374034202ed)
Signed-off-by: Priyatharshan P <priyatharshanp@hcl.com>
Change-Id: Ibb5036d398d65380e0f83850d0014263fd93f90a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-phosphor')
-rwxr-xr-x | meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb b/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb index e028a0471..1b0b584f1 100755 --- a/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb +++ b/meta-phosphor/recipes-x86/chassis/x86-power-control_git.bb @@ -22,6 +22,7 @@ DEPENDS += " \ boost \ i2c-tools \ libgpiod \ + nlohmann-json \ sdbusplus \ phosphor-logging \ " |