Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
ee5ba3c6
Commit
ee5ba3c6
authored
9 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
mx7: crm_regs: parenthesises around macro arguments
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
e134e78b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/include/asm/arch-mx7/crm_regs.h
+3
-3
3 additions, 3 deletions
arch/arm/include/asm/arch-mx7/crm_regs.h
with
3 additions
and
3 deletions
arch/arm/include/asm/arch-mx7/crm_regs.h
+
3
−
3
View file @
ee5ba3c6
...
...
@@ -2095,18 +2095,18 @@ struct mxc_ccm_anatop_reg {
#define DRAM_CLK_ROOT_POST_DIV_MASK 0x00000007
#define CLK_ROOT_POST_DIV_MASK 0x0000003f
#define CLK_ROOT_POST_DIV_SHIFT 0
#define CLK_ROOT_POST_DIV(n) ((
n
<< CLK_ROOT_POST_DIV_SHIFT) & CLK_ROOT_POST_DIV_MASK)
#define CLK_ROOT_POST_DIV(n) ((
(n)
<< CLK_ROOT_POST_DIV_SHIFT) & CLK_ROOT_POST_DIV_MASK)
#define CLK_ROOT_AUTO_DIV_MASK 0x00000700
#define CLK_ROOT_AUTO_DIV_SHIFT 8
#define CLK_ROOT_AUTO_DIV(n) ((
n
<< CLK_ROOT_AUTO_DIV_SHIFT) & CLK_ROOT_AUTO_DIV_MASK)
#define CLK_ROOT_AUTO_DIV(n) ((
(n)
<< CLK_ROOT_AUTO_DIV_SHIFT) & CLK_ROOT_AUTO_DIV_MASK)
#define CLK_ROOT_AUTO_EN_MASK 0x00001000
#define CLK_ROOT_AUTO_EN 0x00001000
#define CLK_ROOT_PRE_DIV_MASK 0x00070000
#define CLK_ROOT_PRE_DIV_SHIFT 16
#define CLK_ROOT_PRE_DIV(n) ((
n
<< CLK_ROOT_PRE_DIV_SHIFT) & CLK_ROOT_PRE_DIV_MASK)
#define CLK_ROOT_PRE_DIV(n) ((
(n)
<< CLK_ROOT_PRE_DIV_SHIFT) & CLK_ROOT_PRE_DIV_MASK)
#define CLK_ROOT_MUX_MASK 0x07000000
#define CLK_ROOT_MUX_SHIFT 24
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment