diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2014-09-05 23:53:39 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2014-09-11 05:05:52 +0200 |
commit | dac17a74156a3eea2cc92c336b552165741119cb (patch) | |
tree | 0b081da455dded14e47e78dbd5956d4fd7fd58a4 /src/mainboard/roda/rk886ex | |
parent | 8932f11c91d9f8b80af562936c8b5c82af9a3c29 (diff) |
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)
Diffstat (limited to 'src/mainboard/roda/rk886ex')
-rw-r--r-- | src/mainboard/roda/rk886ex/mainboard.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mainboard/roda/rk886ex/mainboard.c b/src/mainboard/roda/rk886ex/mainboard.c index ba7ed230c5..4c7fffabbe 100644 --- a/src/mainboard/roda/rk886ex/mainboard.c +++ b/src/mainboard/roda/rk886ex/mainboard.c @@ -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 = { |