aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Griffis2016-12-08 14:45:32 -0600
committerBrad Griffis2016-12-08 14:45:32 -0600
commite12e191e3bb7b2931d576d1da2e66b0692900f46 (patch)
treef3300ee36e373ab015f3b6080006bff505817082 /am57xx_generate_pin_config_data.pl
parentd2ab0bacaff609539e6aa54e186ffe1af6b160b5 (diff)
downloadam57xx_uboot_pin_config-e12e191e3bb7b2931d576d1da2e66b0692900f46.tar.gz
am57xx_uboot_pin_config-e12e191e3bb7b2931d576d1da2e66b0692900f46.tar.xz
am57xx_uboot_pin_config-e12e191e3bb7b2931d576d1da2e66b0692900f46.zip
Simplify options to remove specific u-boot version
Diffstat (limited to 'am57xx_generate_pin_config_data.pl')
-rwxr-xr-xam57xx_generate_pin_config_data.pl14
1 files changed, 6 insertions, 8 deletions
diff --git a/am57xx_generate_pin_config_data.pl b/am57xx_generate_pin_config_data.pl
index 9f04c29..affbd46 100755
--- a/am57xx_generate_pin_config_data.pl
+++ b/am57xx_generate_pin_config_data.pl
@@ -46,14 +46,12 @@ my %iopad_array;
46 46
47# For New operations: update the two arrays 47# For New operations: update the two arrays
48my %operations_help = ( 48my %operations_help = (
49 ti_u_boot_2014_07_iopad => 49 iopad => "Generate IO Pad header data",
50 "Generate IO Pad header data for ti-u-boot-2014.07", 50 iodelay => "Generate IO Delay header data",
51 ti_u_boot_2014_07_iodelay =>
52 "Generate IO Delay header data for ti-u-boot-2014.07",
53); 51);
54my %operations_array = ( 52my %operations_array = (
55 ti_u_boot_2014_07_iopad => \&operation_tiuboot2014_iopad, 53 iopad => \&operation_iopad,
56 ti_u_boot_2014_07_iodelay => \&operation_tiuboot2014_iodelay, 54 iodelay => \&operation_iodelay,
57); 55);
58 56
59#---------------------------------------- Main flow 57#---------------------------------------- Main flow
@@ -168,7 +166,7 @@ sub do_read_iodelay
168} 166}
169 167
170#---- the various operations---- 168#---- the various operations----
171sub operation_tiuboot2014_iopad() 169sub operation_iopad()
172{ 170{
173 my $register; 171 my $register;
174 172
@@ -296,7 +294,7 @@ sub operation_tiuboot2014_iopad()
296 } 294 }
297} 295}
298 296
299sub operation_tiuboot2014_iodelay() 297sub operation_iodelay()
300{ 298{
301 my $register; 299 my $register;
302 my @val; 300 my @val;