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)
Feb 22 2024, 1:01 AM
Unknown Object (File)
Dec 20 2023, 3:32 AM
Unknown Object (File)
Sep 17 2023, 7:17 PM
Unknown Object (File)
Aug 3 2023, 6:42 PM
Unknown Object (File)
Aug 3 2023, 6:18 PM
Unknown Object (File)
Aug 3 2023, 6:02 PM
Unknown Object (File)
Aug 1 2023, 4:44 PM
Unknown Object (File)
Jul 15 2023, 4:28 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