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)
Fri, Apr 26, 5:26 PM
Unknown Object (File)
Fri, Apr 26, 5:18 PM
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
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10408
Build 10819: arc lint + arc unit