UPSTREAM: lenovo/x60: add info message if dock is present

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: https://review.coreboot.org/16136
Reviewed-by: Kysti Mlkki <kyosti.malkki@gmail.com>

Change-Id: I5a6d41f815f65719780499fa18c131311a9dc8f7
Reviewed-on: https://chromium-review.googlesource.com/369146
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Alexander Couzens 2016-08-10 13:17:18 +02:00 committed by chrome-bot
commit aa3166ff0c

View file

@ -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);