summaryrefslogtreecommitdiff
path: root/src/arch/riscv/boot.c
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-11-04 20:13:22 +0100
committerMartin Roth <martinroth@google.com>2017-12-20 16:52:06 +0000
commite07e39098aaac1c0be80bae6447b04de530da949 (patch)
treee4eabc60cc1b997aeae2ab9c5972f561d13a56e3 /src/arch/riscv/boot.c
parent35325e1688a74756c90bd5e30ef6f07f0172e85f (diff)
downloadcoreboot-e07e39098aaac1c0be80bae6447b04de530da949.tar.xz
drvs/lenovo/hybrid_graphics/romstage: Fix dGPU activation
While the older boards use a GPIO that has no state, the newer boards' PMH7 does have a state, that even remains after reboot. Don't assume default values in PMH7 and instead always program it. Fixes dGPU doesn't show up when switching from integrated to discrete GPU. The workaround of removing all power is no longer necessary. Change-Id: I30ec19e13269cb254e51ad1fab3b10ad1a49e86e Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/22341 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/riscv/boot.c')
0 files changed, 0 insertions, 0 deletions