Create util/ and add AtomDis to C code converter script
util/convert.sh: Convert "MicroSec" calls to my_udelay()

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Allow special characters in table names

This allows characters such as underscore '_' or forward slash '/' to
be present in the names of tables, and digits. Without this change,
not all CALL_TABLE entries would get converted.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Convert EOT entries to C function terminators

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Convert register-OR opcodes to C code

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Convert register-AND opcodes to C code

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Convert 16 and 8-bit register-MOVE opcodes to C code

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Convert register-CLEAR opcodes to C code

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/convert.sh: Parse parameter tables to function pseudo-calls

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util: Add coreboot log to VGA replay converter script

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/cb2replay.sh: Make VGA ports configurable

The location of the VGA IO ports depends on how coreboot sets up the
PCI BARs. Allow those ports to be changed by placing them in variables
rather than hardcoding in sed strings

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/cb2replay.sh: Add C header and output compileable file

With this change, we define the helper functions that we make up, and
generate a C file that can be added directly to the coreboot tree.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/cb2replay.sh: Prune superfluous coreboot output

With certain Kconfig options, coreboot may prepend a monotonic
timestamp to the VGA trace output. A line of output looks like:

 [00083f44]c000:3b69 inb(0x03c3) = 0x20

If we don't remove this monotonic timestamp, it will survive in the
C code. Get rid of it.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
util/cb2replay.sh: Separate interrupt handlers from main init

coreboot can be instructed to output information pertaining to
realmode interrupt handlers installed by the VGA BIOS< and will also
output traces of interrupt execution. It is useful to trace where an
interrupt begins, and where it ends. Adjust the script to separate
interrupt traces from the main initialization trace.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Merge branch 'converter'

This adds a few scrpts to parse coreboot and AtomDis output. With the
'cb2replay' script, it is possible to obtain replay code from coreboot
output of VGA BIOS traces for certain Radeon BIOSes.