Add hw_clockrate and CPU frequency, basing on sample-at-reset
configuration.
Details
Details
- Reviewers
loos zbb mmel andrew - Commits
- rS320005: Enhance Armada 38x SoC identification string
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I would like it if rather than using __weak_reference we were to architect the code properly.
sys/arm/mv/mv_common.c | ||
---|---|---|
424 ↗ | (On Diff #28788) | This won't work in a kernel that supports multiple implementations of get_cpu_freq. |
Comment Actions
Instead of using weak_reference for get_cpu_clk, provide dummy functions for all other Marvell SoC's (same way as get_tclk is done).