I would have liked to get an ack, but the error this corrects is pretty
authorRonald G. Minnich <rminnich@gmail.com>
Sat, 9 May 2009 17:14:58 +0000 (17:14 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Sat, 9 May 2009 17:14:58 +0000 (17:14 +0000)
commit442fc92b1f528902524412403f8c60ef4d0e1539
tree7a3e5ccfe11cb7cd75e02789ef073d8c94d1ba20
parentb534e4256570ab100456837898c81aa581deeb09
I would have liked to get an ack, but the error this corrects is pretty
critical, since unless it is fixed this tool creates empty tables that cause
coreboot to (in some cases, e.g. on qemu) triple fault and die.

For the record, an empty option_table is not allowed. The table must,
at least, have 3 32-bit entries in this order:
type -- should be 200, 0r 0xc8, i.e. 0xc8, 0, 0, 0
size of table in LE order, 4 bytes
size of header in LE order, which is always 12,0,0,0

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4264 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/options/build_opt_tbl.c