Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
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
Model registry
Operate
Environments
Monitor
Incidents
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
onny
uboot-i9100
Commits
2af7e810
Commit
2af7e810
authored
12 years ago
by
Eric Nelson
Committed by
Tom Rini
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
i.MX6: get rid of redundant struct src_regs (dupe of struct src)
Signed-off-by:
Eric Nelson
<
eric.nelson@boundarydevices.com
>
parent
de710a14
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/cpu/armv7/mx6/soc.c
+1
-1
1 addition, 1 deletion
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h
+0
-21
0 additions, 21 deletions
arch/arm/include/asm/arch-mx6/imx-regs.h
with
1 addition
and
22 deletions
arch/arm/cpu/armv7/mx6/soc.c
+
1
−
1
View file @
2af7e810
...
...
@@ -146,7 +146,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
void
boot_mode_apply
(
unsigned
cfg_val
)
{
unsigned
reg
;
struct
src
_regs
*
psrc
=
(
struct
src
_regs
*
)
SRC_BASE_ADDR
;
struct
src
*
psrc
=
(
struct
src
*
)
SRC_BASE_ADDR
;
writel
(
cfg_val
,
&
psrc
->
gpr9
);
reg
=
readl
(
&
psrc
->
gpr10
);
if
(
cfg_val
)
...
...
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/arch-mx6/imx-regs.h
+
0
−
21
View file @
2af7e810
...
...
@@ -593,26 +593,5 @@ struct iomuxc_base_regs {
u32
daisy
[
104
];
/* 0x7b0..94c */
};
struct
src_regs
{
u32
scr
;
/* 0x00 */
u32
sbmr1
;
/* 0x04 */
u32
srsr
;
/* 0x08 */
u32
reserved1
;
/* 0x0c */
u32
reserved2
;
/* 0x10 */
u32
sisr
;
/* 0x14 */
u32
simr
;
/* 0x18 */
u32
sbmr2
;
/* 0x1c */
u32
gpr1
;
/* 0x20 */
u32
gpr2
;
/* 0x24 */
u32
gpr3
;
/* 0x28 */
u32
gpr4
;
/* 0x2c */
u32
gpr5
;
/* 0x30 */
u32
gpr6
;
/* 0x34 */
u32
gpr7
;
/* 0x38 */
u32
gpr8
;
/* 0x3c */
u32
gpr9
;
/* 0x40 */
u32
gpr10
;
/* 0x44 */
};
#endif
/* __ASSEMBLER__*/
#endif
/* __ASM_ARCH_MX6_IMX_REGS_H__ */
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