summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/Kconfig.name
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2020-01-23 12:48:03 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-17 15:48:23 +0000
commit16043d6742aedb2740d23628fead775748aa0ce0 (patch)
treef5b9a857f29c6efd76da044953694178e7ed4223 /src/mainboard/emulation/Kconfig.name
parent96f18a01da872079bbec51c3c3c10cd7d4d4bc83 (diff)
libpayload/corebootfb: Fix character buffer relocation
The `chars` pointer references the heap which is part of the payload and relocated along with it. So calling phys_to_virt() on it was always wrong; and the virt_to_phys() at its initialization was a no-op anyway, when the console was brought up before relocation. While we are at it, add a null-pointer check. Change-Id: Ic03150f0bcd14a6ec6bf514dffe2b9153d5a6d2a Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38536 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/emulation/Kconfig.name')
0 files changed, 0 insertions, 0 deletions