[PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

Pali Rohár pali at kernel.org
Sun Sep 4 03:08:19 CEST 2022


On Saturday 03 September 2022 17:38:01 Tony Dinh wrote:
> Hi Pali,
> 
> Is there a way to get the CPU frequency from the board upon start up?
> 
> Thanks,
> Tony

Hello! Each SoC has either fixed CPU frequency or has some bits in SAR
register which say on which frequency is CPU running. SAR bits are SoC
specific and are documented either in Functional Specifications or in
Hardware Specifications (both documents are available for free all
32-bit Marvell SoCs except 375 and 39x).


More information about the U-Boot mailing list