From 39d68d4071b8e9b61210e8bbe65d68a9662d0f34 Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Thu, 2 Dec 2021 19:16:20 +0300 Subject: Remove BBLAYERS_NON_REMOVABLE variable `BBLAYERS_NON_REMOVABLE` is obsolete and no longer required. As it said by Yocto documentation it can be used by `Hob` https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE that already removed since Yocto-2.1 https://www.yoctoproject.org/tools-resources/projects/hob Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f Signed-off-by: Alexander Filippov --- meta-bytedance/meta-g220a/conf/bblayers.conf.sample | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'meta-bytedance') diff --git a/meta-bytedance/meta-g220a/conf/bblayers.conf.sample b/meta-bytedance/meta-g220a/conf/bblayers.conf.sample index 370d6456f..81b0a95f8 100644 --- a/meta-bytedance/meta-g220a/conf/bblayers.conf.sample +++ b/meta-bytedance/meta-g220a/conf/bblayers.conf.sample @@ -17,15 +17,3 @@ BBLAYERS ?= " \ ##OEROOT##/meta-bytedance \ ##OEROOT##/meta-bytedance/meta-g220a \ " -BBLAYERS_NON_REMOVABLE ?= " \ - ##OEROOT##/meta \ - ##OEROOT##/meta-openembedded/meta-oe \ - ##OEROOT##/meta-openembedded/meta-networking \ - ##OEROOT##/meta-openembedded/meta-perl \ - ##OEROOT##/meta-openembedded/meta-python \ - ##OEROOT##/meta-security \ - ##OEROOT##/meta-phosphor \ - ##OEROOT##/meta-aspeed \ - ##OEROOT##/meta-bytedance \ - ##OEROOT##/meta-bytedance/meta-g220a \ - " -- cgit v1.2.3 From 7bfedcf46b05c55266fb7bdd253ce81975dfa9d9 Mon Sep 17 00:00:00 2001 From: Lotus Xu Date: Wed, 8 Dec 2021 14:21:07 +0800 Subject: bytedance: g220a: Modify power-control config Tested: Test on qemu ipmi chassis status cmd work correct Signed-off-by: Lotus Xu Change-Id: I60d20bf58c21b5c81d5fbad7649c1e2b43351392 --- .../x86-power-control/power-config-host0.json | 53 ++++++++++++++++++---- 1 file changed, 44 insertions(+), 9 deletions(-) (limited to 'meta-bytedance') diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json b/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json index c16564440..1ca0e613d 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json +++ b/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json @@ -1,11 +1,46 @@ { - "gpio_configs": { - "NMIButton": "NMI_BUTTON", - "NMIOut": "NMI_OUT", - "PostComplete": "POST_COMPLETE", - "PwrButton": "POWER_BUTTON", - "PwrOK": "PS_PWROK", - "PwrOut": "POWER_OUT", - "RstOut": "RESET_OUT" - } + "gpio_configs": [ + { + "Name" : "NMIButton", + "LineName" : "NMI_BUTTON", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "NMIOut", + "LineName" : "NMI_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PostComplete", + "LineName" : "POST_COMPLETE", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PowerButton", + "LineName" : "POWER_BUTTON", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PowerOk", + "LineName" : "PS_PWROK", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PowerOut", + "LineName" : "POWER_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "ResetOut", + "LineName" : "RESET_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + } + ] } -- cgit v1.2.3