aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xam57xx_generate_pin_config_data.pl5
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";