1#!/bin/bash 2 3function pre-platform-init() { 4 echo "Do pre platform init" 5} 6 7 8function post-platform-init() { 9 echo "Do post platform init" 10} 11 12export output_high_gpios_in_ac=( 13 # add device enable, mux setting, device select gpios 14 "ext-hightemp-n" 15 "vr-pmbus-sel-n" 16 "i2c6-reset-n" 17 "i2c-backup-sel" 18 "power-chassis-control" 19 "host0-shd-req-n" 20 "host0-sysreset-n" 21 "s0-spi-auth-fail-n" 22) 23 24export output_low_gpios_in_ac=( 25 # add device enable, mux setting, device select gpios 26 "ocp-main-pwren" 27 "spi0-program-sel" 28 "spi0-backup-sel" 29 "s0-rtc-lock" 30 "host0-special-boot" 31 "s1-special-boot" 32) 33 34export input_gpios_in_ac=( 35 # add device enable, mux setting, device select gpios 36) 37 38export output_high_gpios_in_bmc_reboot=( 39 "bmc-vga-en-n" 40 "uart1-mode1" 41 "uart2-mode1" 42 "uart3-mode1" 43 "uart4-mode1" 44) 45 46export output_low_gpios_in_bmc_reboot=( 47 "spi0-backup-sel" 48) 49 50export input_gpios_in_bmc_reboot=( 51 "s0-i2c9-alert-n" 52 "s1-i2c9-alert-n" 53 "s1-i2c9-alert-n" 54 "s0-vr-hot-n" 55 "s1-vr-hot-n" 56) 57