roda/rk886ex: Move dummy DCC ON# to finalize stage

During Vladimir's ACPI cleanups, this was moved into the mainboard's
enable stage, which will prevent the VGA option rom from executing
correctly. Move it to the finalize stage to make sure it runs after
all initialize functions have been called.

Change-Id: I0fcca4d4a95f89382f377ce923f82ecb71467fd8
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/6845
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer 2014-09-05 23:53:39 +02:00
parent 8932f11c91
commit dac17a7415
1 changed files with 9 additions and 3 deletions

View File

@ -63,6 +63,13 @@ static void dump_runtime_registers(void)
}
#endif
static void mainboard_final(device_t dev)
{
/* Enable Dummy DCC ON# for DVI */
printk(BIOS_DEBUG, "Laptop handling...\n");
outb(inb(0x60f) & ~(1 << 5), 0x60f);
}
static void mainboard_enable(device_t dev)
{
/* Configure the MultiKey controller */
@ -81,9 +88,8 @@ 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);
dev->ops->final = mainboard_final;
}
struct chip_operations mainboard_ops = {