Page MenuHomeFreeBSD

conf: deduplicate dwc config logic
ClosedPublic

Authored by mhorne on Feb 27 2024, 5:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 5:02 PM
Unknown Object (File)
Fri, Apr 26, 3:44 AM
Unknown Object (File)
Fri, Apr 26, 2:24 AM
Unknown Object (File)
Sun, Apr 21, 2:20 PM
Unknown Object (File)
Thu, Apr 4, 6:09 PM
Unknown Object (File)
Thu, Apr 4, 5:22 PM
Unknown Object (File)
Mar 2 2024, 10:36 PM
Unknown Object (File)
Feb 27 2024, 10:33 PM
Subscribers

Details

Summary

Move the core dwc(4) file entries to the MI conf/files.
Platform-specific versions e.g. rk_dwc are retained in their current
position. On arm64 this necessitates adding an additional 'device dwc'
option.

This hardware is found on several available/emerging RISC-V SoCs, so we
will soon need it on this architecture. Add it to LINT for now.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrtc27 added inline comments.
sys/riscv/conf/NOTES
61 ↗(On Diff #135082)

This seems like a separate change?

sys/riscv/conf/NOTES
61 ↗(On Diff #135082)

Yeah, you are right. I will split this out before commit, same goes for dwmmc addition in D44104.

sys/riscv/conf/NOTES
61 ↗(On Diff #135082)

Ok. I think it's fine to merge the two riscv dwc* changes into one commit though if you want to, though commits are cheap.

This revision is now accepted and ready to land.Feb 27 2024, 6:16 PM
This revision was automatically updated to reflect the committed changes.