| 1 |
|
| 2 |
|
| 3 |
#include <device/device.h> |
| 4 |
#include <drivers/intel/gma/int15.h> |
| 5 |
#include <southbridge/intel/bd82x6x/pch.h> |
| 6 |
#include <ec/acpi/ec.h> |
| 7 |
#include <pc80/keyboard.h> |
| 8 |
|
| 9 |
static void mainboard_init(struct device *dev) |
| 10 |
{ |
| 11 |
pc_keyboard_init(NO_AUX_DEVICE); |
| 12 |
} |
| 13 |
|
| 14 |
static void mainboard_enable(struct device *dev) |
| 15 |
{ |
| 16 |
dev->ops->init = mainboard_init; |
| 17 |
|
| 18 |
|
| 19 |
install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, |
| 20 |
GMA_INT15_PANEL_FIT_DEFAULT, GMA_INT15_BOOT_DISPLAY_DEFAULT, 0); |
| 21 |
} |
| 22 |
|
| 23 |
struct chip_operations mainboard_ops = { |
| 24 |
.enable_dev = mainboard_enable, |
| 25 |
}; |