summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-31 00:30:26 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-09-05 01:15:39 +0200
commit5dfd6819785590a1c4ea092160b78fe59a54a684 (patch)
tree3c87ff8dd21a721a3a38868f23d657efcab5f275 /src
parent02d674ac2f9b238ea83ba31e3e4f32d25f9fedf6 (diff)
downloadcoreboot-5dfd6819785590a1c4ea092160b78fe59a54a684.tar.xz
roda/rk886ex: Move device changes to mainboard code from acpi tables code
Change-Id: I3d694e5b3092d78bce89f6baa7b2dedffddf3012 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6807 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/roda/rk886ex/acpi_tables.c4
-rw-r--r--src/mainboard/roda/rk886ex/mainboard.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/roda/rk886ex/acpi_tables.c b/src/mainboard/roda/rk886ex/acpi_tables.c
index f6ed4ae6dd..c81c2f6c9c 100644
--- a/src/mainboard/roda/rk886ex/acpi_tables.c
+++ b/src/mainboard/roda/rk886ex/acpi_tables.c
@@ -263,9 +263,5 @@ unsigned long write_acpi_tables(unsigned long start)
printk(BIOS_DEBUG, "current = %lx\n", current);
printk(BIOS_INFO, "ACPI: done.\n");
- /* Enable Dummy DCC ON# for DVI */
- printk(BIOS_DEBUG, "Laptop handling...\n");
- outb(inb(0x60f) & ~(1 << 5), 0x60f);
-
return current;
}
diff --git a/src/mainboard/roda/rk886ex/mainboard.c b/src/mainboard/roda/rk886ex/mainboard.c
index 7f188d406e..7158dca300 100644
--- a/src/mainboard/roda/rk886ex/mainboard.c
+++ b/src/mainboard/roda/rk886ex/mainboard.c
@@ -131,6 +131,9 @@ static void mainboard_enable(device_t dev)
#if DUMP_RUNTIME_REGISTERS
dump_runtime_registers();
#endif
+ /* Enable Dummy DCC ON# for DVI */
+ printk(BIOS_DEBUG, "Laptop handling...\n");
+ outb(inb(0x60f) & ~(1 << 5), 0x60f);
}
struct chip_operations mainboard_ops = {