summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-08-10 13:17:18 +0200
committerMartin Roth <martinroth@google.com>2016-08-11 20:52:35 +0200
commit6e1884ff5de15aff746b7345866290acfb9a9ec4 (patch)
tree456427e121db728d2bb3f714845a056a42c04bfa /src/mainboard/lenovo
parentd6f7fd52612e843894f3ea46e4aa50ef96ba221f (diff)
downloadcoreboot-6e1884ff5de15aff746b7345866290acfb9a9ec4.tar.xz
lenovo/x60: add info message if dock is present
Change-Id: I5a6d41f815f65719780499fa18c131311a9dc8f7 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: https://review.coreboot.org/16136 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/x60/romstage.c5
1 files changed, 5 insertions, 0 deletions
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);