aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/technexion/tim5690/vgabios.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-24 00:04:22 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-31 03:41:11 +0000
commit1740230ace3aeede3a7ee5cadd1e17744cda07b3 (patch)
treebf4e9f45d71fef44056ba901ac91fcbfb423a525 /src/mainboard/technexion/tim5690/vgabios.c
parentf054a4bf3d6ce459d15c9375e4ca2390d04ffb68 (diff)
Remove all AMD K8 boards
Platforms with LATE_CBMEM_INIT were agreed to be removed with 4.7 release late 2017. Change-Id: I0ecbb40f8c7ebdf68217f50af5624905d9005c64 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/technexion/tim5690/vgabios.c')
-rw-r--r--src/mainboard/technexion/tim5690/vgabios.c75
1 files changed, 0 insertions, 75 deletions
diff --git a/src/mainboard/technexion/tim5690/vgabios.c b/src/mainboard/technexion/tim5690/vgabios.c
deleted file mode 100644
index fe4b41cde9..0000000000
--- a/src/mainboard/technexion/tim5690/vgabios.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2009 coresystems GmbH
- * Copyright (C) 2009 Libra Li <libra.li@technexion.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#include <stdint.h>
-#include <stdlib.h>
-#include <console/console.h>
-#include <arch/interrupt.h>
-#include "vgabios.h"
-#include <x86emu/regs.h>
-
-
-int tim5690_int15_handler(void);
-
-static rs690_vbios_regs vbios_regs_local;
-
-/* Initialization interrupt function */
-static void vbios_fun_init(rs690_vbios_regs *vbios_regs)
-{
- vbios_regs_local.int15_regs.fun00_panel_id = vbios_regs->int15_regs.fun00_panel_id;
- vbios_regs_local.int15_regs.fun05_tv_standard = vbios_regs->int15_regs.fun05_tv_standard;
-}
-
-/* BIOS int15 function */
-int tim5690_int15_handler(void)
-{
- int res = 0;
-
- printk(BIOS_DEBUG, "tim5690_int15_handler\n");
-
- switch (X86_EAX & 0xffff) {
- case AMD_RS690_INT15:
- switch (X86_EBX & 0xff) {
- case 0x00:
- X86_EAX &= ~(0xff);
- X86_EBX = (X86_EBX & ~(0xff)) | vbios_regs_local.int15_regs.fun00_panel_id;
- res = 1;
- break;
- case 0x05:
- X86_EAX &= ~(0xff);
- X86_EBX = (X86_EBX & ~(0xff)) | vbios_regs_local.int15_regs.fun05_tv_standard;
- res = 1;
- break;
- }
- break;
- default:
- printk(BIOS_DEBUG, "Unknown INT15 function %04x!\n",
- X86_EAX & 0xffff);
- break;
- }
-
- return res;
-}
-
-/* Initialization VBIOS function */
-void vgabios_init(rs690_vbios_regs *vbios_regs)
-{
- printk(BIOS_DEBUG, "vgabios_init\n");
-
- mainboard_interrupt_handlers(0x15, &tim5690_int15_handler);
- vbios_fun_init(vbios_regs);
-}