aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/biostar/th61-itx/early_init.c
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2021-02-01 16:28:15 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-03 08:53:10 +0000
commitdec2c7840320069de8cae98f7606d73d2b5b0309 (patch)
tree120c5e7d4fc4202538f29f1ac3baf866f83cde83 /src/mainboard/biostar/th61-itx/early_init.c
parent6d7a6d291d6dd04c2fc5ca0dba2b3ccb032c9ff4 (diff)
drivers/aspeed: Fix some issues
* Use probe_resource instead of find_resource. This prevents a call to die and instead returns NULL. * Handle the case where BAR2 isn't present * Don't hardcode legacy VGA when BAR2 is present. This fixes graphic initialisation when the Aspeed isn't the primary GPU and thus doesn't decode VGA cycles. This makes the coreboot code more similar to the Linux kernel code. Change-Id: I2a99712a562a57c65f1cd0df7b1d7606681afe9b Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50195 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/biostar/th61-itx/early_init.c')
0 files changed, 0 insertions, 0 deletions