diff options
author | Brad Griffis | 2016-12-08 13:48:40 -0600 |
---|---|---|
committer | Brad Griffis | 2016-12-08 13:48:40 -0600 |
commit | d5f4df2540f0a8f30c1b0f74ec56b6d37da0cebe (patch) | |
tree | fc3d44a605cb3605435a681da347b033b33f6103 /am57xx_generate_pin_config_data.pl | |
parent | bdc1566a313b99c658b6c1f4c84fd46e95b0a0a0 (diff) | |
download | am57xx_uboot_pin_config-d5f4df2540f0a8f30c1b0f74ec56b6d37da0cebe.tar.gz am57xx_uboot_pin_config-d5f4df2540f0a8f30c1b0f74ec56b6d37da0cebe.tar.xz am57xx_uboot_pin_config-d5f4df2540f0a8f30c1b0f74ec56b6d37da0cebe.zip |
Formatting
Diffstat (limited to 'am57xx_generate_pin_config_data.pl')
-rwxr-xr-x | am57xx_generate_pin_config_data.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/am57xx_generate_pin_config_data.pl b/am57xx_generate_pin_config_data.pl index 03e42ef..2567a6b 100755 --- a/am57xx_generate_pin_config_data.pl +++ b/am57xx_generate_pin_config_data.pl | |||
@@ -212,8 +212,9 @@ sub operation_tiuboot2014_iopad() | |||
212 | $pull_active = $reg_dec & ( 1 << 16 ); | 212 | $pull_active = $reg_dec & ( 1 << 16 ); |
213 | $compare_val = $slew_control | $input_en | $pull_up | $pull_active; | 213 | $compare_val = $slew_control | $input_en | $pull_up | $pull_active; |
214 | $compare_hex = sprintf( "0x%08x", $compare_val ); | 214 | $compare_hex = sprintf( "0x%08x", $compare_val ); |
215 | if ( $compare_hex =~ /0x00010000/ ) { $val_pull = "PIN_OUTPUT"; } | 215 | if ( $compare_hex =~ /0x00010000/ ) { |
216 | elsif ( $compare_hex =~ /0x00030000/ ) { | 216 | $val_pull = "PIN_OUTPUT"; |
217 | } elsif ( $compare_hex =~ /0x00030000/ ) { | ||
217 | $val_pull = "PIN_OUTPUT"; | 218 | $val_pull = "PIN_OUTPUT"; |
218 | } elsif ( $compare_hex =~ /0x00020000/ ) { | 219 | } elsif ( $compare_hex =~ /0x00020000/ ) { |
219 | $val_pull = "PIN_OUTPUT_PULLUP"; | 220 | $val_pull = "PIN_OUTPUT_PULLUP"; |