From 6e1884ff5de15aff746b7345866290acfb9a9ec4 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 10 Aug 2016 13:17:18 +0200 Subject: lenovo/x60: add info message if dock is present MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5a6d41f815f65719780499fa18c131311a9dc8f7 Signed-off-by: Alexander Couzens Reviewed-on: https://review.coreboot.org/16136 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/mainboard/lenovo/x60/romstage.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/mainboard/lenovo/x60/romstage.c b/src/mainboard/lenovo/x60/romstage.c index 35d93454c2..aabbf657a4 100644 --- a/src/mainboard/lenovo/x60/romstage.c +++ b/src/mainboard/lenovo/x60/romstage.c @@ -244,6 +244,11 @@ void mainboard_romstage_entry(unsigned long bist) /* Set up the console */ console_init(); + if (dock_present()) + printk(BIOS_DEBUG, "Dock is present\n"); + else + printk(BIOS_DEBUG, "Dock is not present\n"); + /* Halt if there was a built in self test failure */ report_bist_failure(bist); -- cgit v1.2.3