Skip to content
Commit c7cdd846 authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Anas Nashif
Browse files

drivers: clock_control: gd32: Refer to the CPU Frequency from the DTS



CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is not always the same as CPU frequency.
Referring to the `/cpus/cpu@0,clock-frequency` in DTS to determine
the CPU frequency.

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
parent b49d981e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment