Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SCP-firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

The Gitlab will upgrade to latest version for security in the Oct 7th (9:00 ~ 12:00 UTC+8), during the time, the Gitlab site will be offline.

  • Firmware
  • SCP-firmware
  • Merge requests
  • !9

pik_clock: make divider value check limit as configurable parameter

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Darryl Green requested to merge github/fork/manojkumar-arm/pik-clock-divider-fix into master Sep 06, 2018
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: manojkumar-arm

PIK clock divider value limit checking is hardcoded to 16 with 4-bit assumption. However many mobile & infra platforms has 5-bit divider.

This patch fixes the issue by adding a configurable module parameter so that the platform's config file can set the divider bitfield size based on platform.

Additionally, if platform does not provide module configuration data, then the divider limit is set to a default value of 5-bits.

Change-Id: I70103ec84eacc2d26be999ca6524878bff51dd9d Signed-off-by: Manoj Kumar manoj.kumar3@arm.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/manojkumar-arm/pik-clock-divider-fix