diff options
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh index b9453391d3..9947483f35 100644 --- a/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh +++ b/meta-fii/meta-kudo/recipes-phosphor/console/obmc-console/kudo_uart_mux_ctrl.sh @@ -31,12 +31,11 @@ echo "Ampere UART MUX CTRL UART port $1 to mode" > /dev/ttyS0 case "$1" in ttyS1) - set_gpio_ctrl 167 out 1 + set_gpio_ctrl S0_UART0_BMC_SEL 1 ;; ttyS3) - set_gpio_ctrl 161 out 1 - set_gpio_ctrl 183 out 1 - set_gpio_ctrl 198 out 0 + set_gpio_ctrl S0_UART1_BMC_SEL 1 + set_gpio_ctrl S1_UART1_BMC_SEL 0 ;; *) echo "Invalid tty passed to $0. Exiting!" > /dev/ttyS0 |