summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh')
-rw-r--r--meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh b/meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh
index 3fbe5e7c6..2b9ef6876 100644
--- a/meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh
+++ b/meta-openbmc-mods/meta-wolfpass/recipes-intel/temporary/set-passthrough/set-passthrough.sh
@@ -23,6 +23,9 @@ typeset -i value=$( echo $(( $var )) )
if [[ $1 == "0" ]]; then
value=$((value & ~PASSTHROUGH_ENABLE))
+ # Mark the gpio reset out & power up pin as released
+ echo "1" > /sys/class/gpio/gpio33/value
+ echo "1" > /sys/class/gpio/gpio35/value
fi
if [[ $1 == "1" ]]; then