Page MenuHomeFreeBSD

stand/fdt: Consistently apply fdt_overlays
ClosedPublic

Authored by kevans on Dec 28 2017, 2:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 8, 4:14 AM
Unknown Object (File)
Thu, Sep 18, 11:17 AM
Unknown Object (File)
Wed, Sep 17, 5:04 AM
Unknown Object (File)
Tue, Sep 16, 5:05 AM
Unknown Object (File)
Wed, Sep 10, 3:09 PM
Unknown Object (File)
Sep 2 2025, 8:55 AM
Unknown Object (File)
Sep 1 2025, 1:41 PM
Unknown Object (File)
Aug 27 2025, 11:57 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 13894

Event Timeline

stand/efi/fdt/efi_fdt.c
49–50

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.