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)
Sun, Dec 22, 12:49 AM
Unknown Object (File)
Wed, Dec 18, 4:11 AM
Unknown Object (File)
Wed, Dec 18, 3:21 AM
Unknown Object (File)
Nov 2 2024, 5:49 AM
Unknown Object (File)
Oct 1 2024, 7:58 AM
Unknown Object (File)
Sep 27 2024, 4:09 PM
Unknown Object (File)
Sep 16 2024, 1:04 AM
Unknown Object (File)
Sep 11 2024, 4:43 PM
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).