Bug #256 » coreboot-x201-dock-attach.patch
src/ec/lenovo/h8/h8.c | ||
---|---|---|
h8_charge_priority(val);
|
||
h8_set_audio_mute(0);
|
||
h8_mainboard_init_dock ();
|
||
}
|
||
struct chip_operations ec_lenovo_h8_ops = {
|
src/ec/lenovo/h8/h8.h | ||
---|---|---|
u8 h8_build_id_and_function_spec_version(char *buf, u8 buf_len);
|
||
void h8_usb_always_on(void);
|
||
void h8_mainboard_init_dock (void);
|
||
int h8_get_fn_key(void);
|
||
int h8_get_sense_ready(void);
|
||
src/mainboard/lenovo/x201/dock.c | ||
---|---|---|
#include <ec/lenovo/h8/h8.h>
|
||
#include <ec/acpi/ec.h>
|
||
void init_dock(void)
|
||
void h8_mainboard_init_dock(void)
|
||
{
|
||
if (dock_present()) {
|
||
printk(BIOS_DEBUG, "dock is connected\n");
|
src/mainboard/lenovo/x201/dock.h | ||
---|---|---|
#ifndef THINKPAD_X201_DOCK_H
|
||
#define THINKPAD_X201_DOCK_H
|
||
void init_dock(void);
|
||
void dock_connect(void);
|
||
void dock_disconnect(void);
|
||
int dock_present(void);
|
src/mainboard/lenovo/x201/mainboard.c | ||
---|---|---|
install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS,
|
||
GMA_INT15_PANEL_FIT_DEFAULT,
|
||
GMA_INT15_BOOT_DISPLAY_LFP, 2);
|
||
init_dock();
|
||
}
|
||
struct chip_operations mainboard_ops = {
|
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »