#!/usr/bin/perl -wp
BEGIN { my $empty=0; }
if (/^$/) { $empty=1; }
elsif (/#define PINMUX_BALL_[A-Z0-9_]*_MASK/) {} # ignore
elsif (/#define PINMUX_BALL_([^_]*)/) {if ($empty) { $empty=0; print "/* Pin $1 options */\n" }}
