meta-facebook: tiogapass: modify power control script
Update power control scripts as per x86 host power control
which is dbus based.
Change-Id: I048aad6c200086bbf3c7a627f990aa589465e473
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
diff --git a/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/setup_gpio.sh b/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/setup_gpio.sh
index 1b1b2e3..2624abd 100755
--- a/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/setup_gpio.sh
+++ b/meta-tiogapass/recipes-fbtp/fb-powerctrl/files/setup_gpio.sh
@@ -14,25 +14,9 @@
GPIO_BASE=$(cat /sys/class/gpio/gpio*/base)
# FM_BMC_READY_N, GPIO S1, active low
-set_gpio_active_low $((${GPIO_BASE} + 144 +1)) high
-
-# FM_BMC_SSB_SMI_LPC_N, GPIO Q6, active low
-#set_gpio_active_low $((${GPIO_BASE} + 128 + 6)) high
-
-# FP_PWR_BTN_PASS_R_N, GPIO E3, active low
-set_gpio_active_low $((${GPIO_BASE} + 32 + 3)) high
-
-# FP_PWR_GOOD, GPIO B6, active low
-set_gpio_active_low $((${GPIO_BASE} + 8 + 6)) in
-
-# SYSRST_BTN_OUT_N, GPIO E1, active low
-set_gpio_active_low $((${GPIO_BASE} + 32 + 1)) high
+set_gpio_active_low $((${GPIO_BASE} + 144 +1)) low
# FP_PECI_MUX, active low
set_gpio_active_low $((${GPIO_BASE} + 212)) high
-# Set PECI Mux to high to select Peci interface
-echo 1 > /sys/class/gpio/gpio$((${GPIO_BASE} + 212))/value
-
-
exit 0;