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>
This commit is contained in:
Alexander Couzens 2016-08-10 13:17:18 +02:00 committed by Martin Roth
parent d6f7fd5261
commit 6e1884ff5d
1 changed files with 5 additions and 0 deletions

View File

@ -244,6 +244,11 @@ void mainboard_romstage_entry(unsigned long bist)
/* Set up the console */ /* Set up the console */
console_init(); 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 */ /* Halt if there was a built in self test failure */
report_bist_failure(bist); report_bist_failure(bist);