summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x200/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/x200/mainboard.c')
-rw-r--r--src/mainboard/lenovo/x200/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/mainboard.c b/src/mainboard/lenovo/x200/mainboard.c
index 1510ab7b17..37fe865e81 100644
--- a/src/mainboard/lenovo/x200/mainboard.c
+++ b/src/mainboard/lenovo/x200/mainboard.c
@@ -16,6 +16,7 @@
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include <drivers/lenovo/lenovo.h>
+#include "dock.h"
static void fill_ssdt(struct device *device)
{
@@ -29,6 +30,8 @@ static void mainboard_enable(struct device *dev)
GMA_INT15_BOOT_DISPLAY_DEFAULT, 2);
dev->ops->acpi_fill_ssdt_generator = fill_ssdt;
+ if (CONFIG(BOARD_LENOVO_X200))
+ init_dock();
}
struct chip_operations mainboard_ops = {