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
d0a94620
Commit
d0a94620
authored
13 years ago
by
Eric Benard
Committed by
Albert ARIBAUD
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
cpuat91: fix board support
Signed-off-by:
Eric Bénard
<
eric@eukrea.com
>
parent
95d50e5c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MAKEALL
+0
-1
0 additions, 1 deletion
MAKEALL
board/eukrea/cpuat91/cpuat91.c
+3
-3
3 additions, 3 deletions
board/eukrea/cpuat91/cpuat91.c
with
3 additions
and
4 deletions
MAKEALL
+
0
−
1
View file @
d0a94620
...
@@ -454,7 +454,6 @@ LIST_at91="$(boards_by_soc at91)\
...
@@ -454,7 +454,6 @@ LIST_at91="$(boards_by_soc at91)\
at91sam9g20ek
\
at91sam9g20ek
\
at91sam9m10g45ek
\
at91sam9m10g45ek
\
at91sam9rlek
\
at91sam9rlek
\
CPUAT91
\
pm9g45
\
pm9g45
\
SBC35_A9G20
\
SBC35_A9G20
\
TNY_A9260
\
TNY_A9260
\
...
...
This diff is collapsed.
Click to expand it.
board/eukrea/cpuat91/cpuat91.c
+
3
−
3
View file @
d0a94620
...
@@ -63,7 +63,7 @@ int dram_init(void)
...
@@ -63,7 +63,7 @@ int dram_init(void)
#ifdef CONFIG_DRIVER_AT91EMAC
#ifdef CONFIG_DRIVER_AT91EMAC
int
board_eth_init
(
bd_t
*
bis
)
int
board_eth_init
(
bd_t
*
bis
)
{
{
return
at91emac_register
(
bis
,
(
u32
)
AT
91_EMAC_BASE
);
return
at91emac_register
(
bis
,
(
u32
)
AT
MEL_BASE_EMAC
);
}
}
#endif
#endif
...
@@ -71,8 +71,8 @@ int board_eth_init(bd_t *bis)
...
@@ -71,8 +71,8 @@ int board_eth_init(bd_t *bis)
void
i2c_init_board
(
void
)
void
i2c_init_board
(
void
)
{
{
u32
pin
;
u32
pin
;
at91_pmc_t
*
pmc
=
(
at91_pmc_t
*
)
AT
91_PMC
_BASE
;
at91_pmc_t
*
pmc
=
(
at91_pmc_t
*
)
AT
MEL
_BASE
_PMC
;
at91_pio_t
*
pio
=
(
at91_pio_t
*
)
AT
91_PIO
_BASE
;
at91_pio_t
*
pio
=
(
at91_pio_t
*
)
AT
MEL
_BASE
_PIO
;
writel
(
1
<<
AT91_ID_PIOA
,
&
pmc
->
pcer
);
writel
(
1
<<
AT91_ID_PIOA
,
&
pmc
->
pcer
);
pin
=
AT91_PMX_AA_TWD
|
AT91_PMX_AA_TWCK
;
pin
=
AT91_PMX_AA_TWD
|
AT91_PMX_AA_TWCK
;
...
...
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