Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: add WithBootFreq configuration #3331

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 24, 2023

  1. config: add WithBootFreq configuration

    The rocket-chip will set clock-frequency to 0 in the CPU fields of the
    device tree. And the value is taken from bootFreqHz in the
    RocketCoreParams which is zero by default. Some devices will use this
    property to calculate the clock divider ratio, but a zero value will
    cause division overflow.
    
    This patch allows setting the value by simply adding WithBootFreq to the
    configuration, so we will have the correct clock-frequency in the dts.
    
    Signed-off-by: Yangyu Chen <cyy@cyyself.name>
    cyyself committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    9f0eeff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4346aa0 View commit details
    Browse the repository at this point in the history