summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-01-08 09:07:14 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-03-11 13:31:41 +0100
commit9ab5adbde4c3eb820e5f88db765fac33eb30bd97 (patch)
tree7bf5512734226490ccfbb0ac728b0461b9ddc961 /src/ec
parentf3d07f274e5084bf6958b0fbcbd3cb2bfd2c998e (diff)
downloadcoreboot-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/ec')
-rw-r--r--src/ec/lenovo/h8/h8.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ec/lenovo/h8/h8.h b/src/ec/lenovo/h8/h8.h
index c721d38234..42d279fc6f 100644
--- a/src/ec/lenovo/h8/h8.h
+++ b/src/ec/lenovo/h8/h8.h
@@ -28,9 +28,7 @@ int h8_ultrabay_device_present(void);
u8 h8_build_id_and_function_spec_version(char *buf, u8 buf_len);
void h8_usb_always_on(void);
-#if !IS_ENABLED (CONFIG_H8_DOCK_EARLY_INIT)
void h8_mainboard_init_dock (void);
-#endif
/* EC registers */
#define H8_CONFIG0 0x00