Page MenuHomeFreeBSD

Use linker sets for definition of FDT UARTs
ClosedPublic

Authored by mmel on Mar 1 2015, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 5:34 AM
Unknown Object (File)
Thu, Jan 23, 5:02 AM
Unknown Object (File)
Jan 8 2025, 3:25 PM
Unknown Object (File)
Dec 26 2024, 4:35 AM
Unknown Object (File)
Dec 22 2024, 12:49 AM
Unknown Object (File)
Dec 18 2024, 4:11 AM
Unknown Object (File)
Dec 18 2024, 3:21 AM
Unknown Object (File)
Nov 2 2024, 5:49 AM
Subscribers
None

Details

Reviewers
andrew
imp
ian
Summary

Define new linker set, UART_FDT_CLASS_AND_DEVICE, for registering full (class and device) FDT UART.
Define second one, UART_FDT_CLASS, for UART class only.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mmel retitled this revision from to Use linker sets for definition of FDT UARTs.
mmel updated this object.
mmel edited the test plan for this revision. (Show Details)
mmel added reviewers: ian, andrew, imp.
imp edited edge metadata.
This revision is now accepted and ready to land.Mar 1 2015, 4:16 PM
ian edited edge metadata.

At first I was a bit confused by all this, but after looking at the related D1993 it all makes sense.

sys/dev/uart/uart_cpu_fdt.c
200

we should probably change this to OF_getencprop() and the else+swap can go away.

Closed by commit rS279723 (authored by @ian).