Optionrom code cleanup.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 4 Jul 2009 08:04:36 +0000 (04:04 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 4 Jul 2009 08:04:36 +0000 (04:04 -0400)
commite8f00eeca8cd5f463bc8f3b866078b1bf0cadbd0
treeb8a82a6691c4971f5770edd82400e31ec7d2fd44
parent957a19859507ffcf66297e2ae06e0686888030c0
Optionrom code cleanup.

Nearly all calers of callrom() use OPTION_ROM_INITVECTOR - make it
    default.
Prefer (void*) to explicit casts.
Rename init_optionrom to init_pcirom; rename verifysize_optionrom to
    init_optionrom.
Add 'isvga' parameter to init_optionrom/init_pcirom; unify vga call
    path to use these functions.
Extract cbfs directory scanning into new function run_cbfs_roms().
Allow roms in "vgaroms/" to run even if no pci vga device exists.
Comment improvements.
src/boot.c
src/coreboot.c
src/optionroms.c
src/util.h