Page MenuHomeFreeBSD

stand/fdt: Consistently apply fdt_overlays
ClosedPublic

Authored by kevans on Dec 28 2017, 2:46 PM.
Tags
None
Referenced Files
F132979901: D13664.id37185.diff
Tue, Oct 21, 7:00 PM
F132979185: D13664.id37136.diff
Tue, Oct 21, 6:50 PM
F132977597: D13664.id37137.diff
Tue, Oct 21, 6:27 PM
F132977383: D13664.id.diff
Tue, Oct 21, 6:24 PM
Unknown Object (File)
Tue, Oct 21, 6:39 AM
Unknown Object (File)
Sat, Oct 11, 1:21 AM
Unknown Object (File)
Fri, Oct 10, 9:44 PM
Unknown Object (File)
Fri, Oct 10, 3:53 PM
Subscribers

Details

Summary

Overlays were previously not applied when U-Boot provides FDT or EFI provides FDT, only when we load FDT from /boot/dtb given name from U-Boot. Make all three paths lead to loading fdt_overlays and applying them, so that fdt_overlays can be expected to Just Work.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

stand/efi/fdt/efi_fdt.c
52 ↗(On Diff #37136)

if (hdr == NULL)
return (1);

Address manu@'s comment, rework flow to just return early in case of errors.

This revision is now accepted and ready to land.Dec 28 2017, 3:14 PM
This revision was automatically updated to reflect the committed changes.