diff options
author | Brad Griffis | 2016-12-08 14:07:42 -0600 |
---|---|---|
committer | Brad Griffis | 2016-12-08 14:07:42 -0600 |
commit | d2ab0bacaff609539e6aa54e186ffe1af6b160b5 (patch) | |
tree | 0622b23ea319ec6e5217d1e2a1bc12136f13b692 /am57xx_generate_pin_config_data.pl | |
parent | d5876ae3b76367ae4413fb7218dee15b8dee4c61 (diff) | |
download | am57xx_uboot_pin_config-d2ab0bacaff609539e6aa54e186ffe1af6b160b5.tar.gz am57xx_uboot_pin_config-d2ab0bacaff609539e6aa54e186ffe1af6b160b5.tar.xz am57xx_uboot_pin_config-d2ab0bacaff609539e6aa54e186ffe1af6b160b5.zip |
Fix 0x000c0000 output and add remaining
Diffstat (limited to 'am57xx_generate_pin_config_data.pl')
-rwxr-xr-x | am57xx_generate_pin_config_data.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/am57xx_generate_pin_config_data.pl b/am57xx_generate_pin_config_data.pl index a3b52a5..9f04c29 100755 --- a/am57xx_generate_pin_config_data.pl +++ b/am57xx_generate_pin_config_data.pl | |||
@@ -226,12 +226,24 @@ sub operation_tiuboot2014_iopad() | |||
226 | $val_pull = "PIN_INPUT"; | 226 | $val_pull = "PIN_INPUT"; |
227 | } elsif ( $compare_hex =~ /0x00060000/ ) { | 227 | } elsif ( $compare_hex =~ /0x00060000/ ) { |
228 | $val_pull = "PIN_INPUT_PULLUP"; | 228 | $val_pull = "PIN_INPUT_PULLUP"; |
229 | } elsif ( $compare_hex =~ /0x00070000/ ) { | ||
230 | $val_pull = "PIN_INPUT"; | ||
229 | } elsif ( $compare_hex =~ /0x00080000/ ) { | 231 | } elsif ( $compare_hex =~ /0x00080000/ ) { |
230 | $val_pull = "PIN_OUTPUT_PULLDOWN | SLEWCONTROL"; | 232 | $val_pull = "PIN_OUTPUT_PULLDOWN | SLEWCONTROL"; |
233 | } elsif ( $compare_hex =~ /0x00090000/ ) { | ||
234 | $val_pull = "PIN_OUTPUT | SLEWCONTROL"; | ||
235 | } elsif ( $compare_hex =~ /0x000a0000/ ) { | ||
236 | $val_pull = "PIN_OUTPUT_PULLUP | SLEWCONTROL"; | ||
237 | } elsif ( $compare_hex =~ /0x000b0000/ ) { | ||
238 | $val_pull = "PIN_OUTPUT | SLEWCONTROL"; | ||
231 | } elsif ( $compare_hex =~ /0x000c0000/ ) { | 239 | } elsif ( $compare_hex =~ /0x000c0000/ ) { |
240 | $val_pull = "PIN_INPUT_PULLDOWN | SLEWCONTROL"; | ||
241 | } elsif ( $compare_hex =~ /0x000d0000/ ) { | ||
232 | $val_pull = "PIN_INPUT | SLEWCONTROL"; | 242 | $val_pull = "PIN_INPUT | SLEWCONTROL"; |
233 | } elsif ( $compare_hex =~ /0x000e0000/ ) { | 243 | } elsif ( $compare_hex =~ /0x000e0000/ ) { |
234 | $val_pull = "PIN_INPUT_PULLUP | SLEWCONTROL"; | 244 | $val_pull = "PIN_INPUT_PULLUP | SLEWCONTROL"; |
245 | } elsif ( $compare_hex =~ /0x000f0000/ ) { | ||
246 | $val_pull = "PIN_INPUT | SLEWCONTROL"; | ||
235 | } | 247 | } |
236 | 248 | ||
237 | # Uggh.. unknown definition? | 249 | # Uggh.. unknown definition? |