Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • 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
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Firmware
  • SCP-firmware
  • Merge requests
  • !9

pik_clock: make divider value check limit as configurable parameter

  • Review changes

  • Download
  • Email 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