| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <device/device.h> |
| 4 | #include <soc/int15.h> |
| 5 | |
| 6 | static void mainboard_enable(struct device *dev) |
| 7 | { |
| 8 | /* Install custom int15 handler for VGA OPROM */ |
| 9 | if (CONFIG(VGA_ROM_RUN)) |
| 10 | install_baytrail_vga_int15_handler(); |
| 11 | } |
| 12 | |
| 13 | struct chip_operations mainboard_ops = { |
| 14 | .enable_dev = mainboard_enable, |
| 15 | }; |