[coreboot-gerrit] Change in coreboot[master]: Fizz: Wait until display is ready

Daisuke Nojiri (Code Review) gerrit at coreboot.org
Wed Feb 14 03:56:48 CET 2018


Daisuke Nojiri has uploaded this change for review. ( https://review.coreboot.org/23746


Change subject: Fizz: Wait until display is ready
......................................................................

Fizz: Wait until display is ready

With this patch, when firmware needs to display something, Fizz calls
google_chromeec_wait_for_display to make sure display is ready.

BUG=b:72387533
BRANCH=none
TEST=Boot Fizz in manual recovery mode. Verify recovery screen is
displayed.

Change-Id: I90befe94f93e13904987acda50b2598d034b0031
Signed-off-by: Daisuke Nojiri <dnojiri at chromium.org>
---
M src/mainboard/google/fizz/ramstage.c
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/23746/1

diff --git a/src/mainboard/google/fizz/ramstage.c b/src/mainboard/google/fizz/ramstage.c
index 6dafe65..be64498 100644
--- a/src/mainboard/google/fizz/ramstage.c
+++ b/src/mainboard/google/fizz/ramstage.c
@@ -13,11 +13,15 @@
  * GNU General Public License for more details.
  */
 
+#include <bootmode.h>
+#include <ec/google/chromeec/ec.h>
 #include <soc/ramstage.h>
 
 #include "gpio.h"
 
 void mainboard_silicon_init_params(FSP_SIL_UPD *params)
 {
+	if (display_init_required())
+		google_chromeec_wait_for_display();
 	gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
 }

-- 
To view, visit https://review.coreboot.org/23746
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I90befe94f93e13904987acda50b2598d034b0031
Gerrit-Change-Number: 23746
Gerrit-PatchSet: 1
Gerrit-Owner: Daisuke Nojiri <dnojiri at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180214/ea6683ba/attachment-0001.html>


More information about the coreboot-gerrit mailing list