Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor 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
vesta
u-boot-2015.04
Commits
1e65c2be
Commit
1e65c2be
authored
15 years ago
by
Heiko Schocher
Committed by
trix
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
arm, mx27: add support for SDHC1 pin init
Signed-off-by:
Heiko Schocher
<
hs@denx.de
>
parent
3bb6b037
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/arm926ejs/mx27/generic.c
+17
-0
17 additions, 0 deletions
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/include/asm/arch-mx27/imx-regs.h
+1
-0
1 addition, 0 deletions
arch/arm/include/asm/arch-mx27/imx-regs.h
with
18 additions
and
0 deletions
arch/arm/cpu/arm926ejs/mx27/generic.c
+
17
−
0
View file @
1e65c2be
...
@@ -316,6 +316,23 @@ void mx27_fec_init_pins(void)
...
@@ -316,6 +316,23 @@ void mx27_fec_init_pins(void)
#endif
/* CONFIG_FEC_MXC */
#endif
/* CONFIG_FEC_MXC */
#ifdef CONFIG_MXC_MMC
#ifdef CONFIG_MXC_MMC
void
mx27_sd1_init_pins
(
void
)
{
int
i
;
unsigned
int
mode
[]
=
{
PE18_PF_SD1_D0
,
PE19_PF_SD1_D1
,
PE20_PF_SD1_D2
,
PE21_PF_SD1_D3
,
PE22_PF_SD1_CMD
,
PE23_PF_SD1_CLK
,
};
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
mode
);
i
++
)
imx_gpio_mode
(
mode
[
i
]);
}
void
mx27_sd2_init_pins
(
void
)
void
mx27_sd2_init_pins
(
void
)
{
{
int
i
;
int
i
;
...
...
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/arch-mx27/imx-regs.h
+
1
−
0
View file @
1e65c2be
...
@@ -37,6 +37,7 @@ extern void mx27_fec_init_pins(void);
...
@@ -37,6 +37,7 @@ extern void mx27_fec_init_pins(void);
#endif
/* CONFIG_FEC_MXC */
#endif
/* CONFIG_FEC_MXC */
#ifdef CONFIG_MXC_MMC
#ifdef CONFIG_MXC_MMC
extern
void
mx27_sd1_init_pins
(
void
);
extern
void
mx27_sd2_init_pins
(
void
);
extern
void
mx27_sd2_init_pins
(
void
);
#endif
/* CONFIG_MXC_MMC */
#endif
/* CONFIG_MXC_MMC */
...
...
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