Add more debugging info to BIOS screens.

This displays the gbb.flags value when being warned about it being nonzero.
It also decodes the recovery_reason value into English.


1. Use gbb_utility to create a BIOS with valid bitmaps, but with gbb.flags
   set to a non-zero value. Boot into recovery mode. You should see the
   warning that gbb.flags is non-zero, and the value itself.

2. Press TAB. The recovery_reason field should display not only a value, but
   also an English string explaining the value.

Change-Id: I99b7aa35bc67453bdf3385b9573491090c3dec1d
Reviewed-by: Bill Richardson <>
Tested-by: Bill Richardson <>
1 file changed