diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-01-08 09:07:14 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-03-11 13:31:41 +0100 |
commit | 9ab5adbde4c3eb820e5f88db765fac33eb30bd97 (patch) | |
tree | 7bf5512734226490ccfbb0ac728b0461b9ddc961 /src/mainboard/lenovo/t400/romstage.c | |
parent | f3d07f274e5084bf6958b0fbcbd3cb2bfd2c998e (diff) | |
download | coreboot-9ab5adbde4c3eb820e5f88db765fac33eb30bd97.tar.xz |
lenovo/t400: Rewrite dock from t60
Old dock.c copied from x201 was incorrect. Do a rewrite of t60 dock
code as pnp devices.
Fixes USB and serial on the dock, if it is already connected when
computer is powered on. DVI and ethernet worked without this patch.
Hot-plug is yet to be fixed.
Change-Id: Ib20a0eff10d0cde92dd089baf4fca28b117dc999
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18054
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/t400/romstage.c')
-rw-r--r-- | src/mainboard/lenovo/t400/romstage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t400/romstage.c b/src/mainboard/lenovo/t400/romstage.c index 2a3a770bee..31a80a4a19 100644 --- a/src/mainboard/lenovo/t400/romstage.c +++ b/src/mainboard/lenovo/t400/romstage.c @@ -31,6 +31,7 @@ #include <console/console.h> #include <southbridge/intel/i82801ix/i82801ix.h> #include <northbridge/intel/gm45/gm45.h> +#include "dock.h" #include "gpio.h" #define LPC_DEV PCI_DEV(0, 0x1f, 0) @@ -68,6 +69,9 @@ void mainboard_romstage_entry(unsigned long bist) /* First, run everything needed for console output. */ i82801ix_early_init(); early_lpc_setup(); + + dock_connect(); + console_init(); printk(BIOS_DEBUG, "running main(bist = %lu)\n", bist); |