Make libpayload parse the coreboot tables before setting up the consoles
authorGabe Black <gabeblack@google.com>
Mon, 5 Mar 2012 23:49:32 +0000 (15:49 -0800)
committerPatrick Georgi <patrick@georgi-clan.de>
Sat, 31 Mar 2012 10:10:07 +0000 (12:10 +0200)
commitb9fa1ed5e80b607df59783cdc406d85bcccf63f5
tree67d669f203c532002b697e59119690f6cceaf165
parentcbb648c001167f7762e0f1aa2af906d3a8e34715
Make libpayload parse the coreboot tables before setting up the consoles

At least one of the console drivers, coreboot fb, uses information in the
sysinfo structure to set itself up. If that structure hasn't been populated,
the driver decides that there is no framebuffer and disables itself. Reversing
the order these are set up fixes that problem.

Change-Id: Idd8b5518980dfdd82fd4359dd0133ab7736fc428
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/816
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
payloads/libpayload/arch/i386/main.c