Page MenuHomeFreeBSD

Add external PLATFORM access, and use it in the pl310 driver.
ClosedPublic

Authored by andrew on Jul 9 2017, 12:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 4:20 PM
Unknown Object (File)
Sat, Jan 18, 5:16 PM
Unknown Object (File)
Sat, Jan 18, 5:12 PM
Unknown Object (File)
Jan 16 2025, 4:07 PM
Unknown Object (File)
Dec 5 2024, 10:16 AM
Unknown Object (File)
Nov 26 2024, 2:09 PM
Unknown Object (File)
Nov 7 2024, 4:50 AM
Unknown Object (File)
Oct 23 2024, 11:11 PM
Subscribers
None

Details

Summary

This allows multiple instances of SoCs that use the pl310 driver to be
built within the same kernel:

  • Add access to the platform_t object from outside platform.c
  • Use this with the pl310 driver

There is a new platform_pl310 interface to replace the existing code.
SoCs need to implement the init method, and if they have special
requirements to write to the two registers we care about will also
need to implement the write_ctrl and write_debug methods.

Diff Detail

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