efi_loader: reset colors before clearing screen
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 30 Apr 2022 07:05:04 +0000 (09:05 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 3 May 2022 19:39:22 +0000 (21:39 +0200)
commit5c1037d57835eb1cbeb9c78069839a445f8ab86b
treedd6236f8258e218c2f4030ea35365f54d61d6da8
parent100de5e37d130dcf8a2bef4e0b33d4e59179d061
efi_loader: reset colors before clearing screen

When resetting the text console the colors have to be set before clearing
the screen. Otherwise the background color may be wrong.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_console.c