HomeFreeBSD

a10_timer: some tidying/re-organization

Description

a10_timer: some tidying/re-organization

In preparation for enabling the driver on the D1 platform (riscv).

  • Better isolate armv7-only portions of the driver
  • Move a10 timecounter setup into a helper function
  • Small style tweaks

Reviewed by: manu, ganbold
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48670

Details

Provenance
mhorneAuthored on Mon, Jan 27, 7:59 PM
Reviewer
manu
Differential Revision
D48670: a10_timer: some tidying/re-organization
Parents
rG066ef2aec187: ports/filesystems: Fix fallout
Branches
Unknown
Tags
Unknown