HomeFreeBSD

ofwfb: fix boot on LE

Description

ofwfb: fix boot on LE

Some framebuffer properties obtained from the device tree were not being
properly converted to host endian.
Replace OF_getprop calls by OF_getencprop where needed to fix this.

This fixes boot on PowerPC64 LE, when using ofwfb as the system console.

Reviewed by: bdragon
Sponsored by: Eldorado Research Institute (eldorado.org.br)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D27475

Details

Provenance
luporlAuthored on Mar 9 2021, 3:11 PM
Reviewer
bdragon
Differential Revision
D27475: ofwfb: fix boot on LE
Parents
rGf61831d2e8bd: Revert "rc: implement parallel boot"
Branches
Unknown
Tags
Unknown