firmware: Split out kernel UI

This moves the UI loops out of vboot_api_kernel.c into vboot_ui.c, so
that it'll be easier to support different UIs for different form factors.

This change also fixes some FW FAFT items (ex: firmware_CorruptBothFwSigAB)
which is failed by incorrect recovery reason '2'.

BUG=chromium:611535,b:64546699,b:64816192
BRANCH=none
TEST=make runtests; build_packages --board=reef chromeos-firmware; boot reef

Change-Id: I451b15f65aceb427ffdd94b19f44e91ebc10a860
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/414289
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
(cherry picked from commit df4eb2bb7be9d61bfe9bdf6c33f836f358b18cf6)
Reviewed-on: https://chromium-review.googlesource.com/622170
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Commit-Queue: Kevin Chiu <Kevin.Chiu@quantatw.com>
4 files changed