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
a8b7e476
Commit
a8b7e476
authored
17 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://www.denx.de/git/u-boot-mpc86xx
parents
4fae35a5
33fa5c0b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
board/sbc8641d/sbc8641d.c
+4
-2
4 additions, 2 deletions
board/sbc8641d/sbc8641d.c
with
4 additions
and
2 deletions
board/sbc8641d/sbc8641d.c
+
4
−
2
View file @
a8b7e476
...
...
@@ -230,7 +230,8 @@ void pci_init_board(void)
volatile
immap_t
*
immap
=
(
immap_t
*
)
CFG_CCSRBAR
;
volatile
ccsr_gur_t
*
gur
=
&
immap
->
im_gur
;
uint
devdisr
=
gur
->
devdisr
;
uint
io_sel
=
(
gur
->
pordevsr
&
MPC86xx_PORDEVSR_IO_SEL
)
>>
16
;
uint
io_sel
=
(
gur
->
pordevsr
&
MPC8641_PORDEVSR_IO_SEL
)
>>
MPC8641_PORDEVSR_IO_SEL_SHIFT
;
#ifdef CONFIG_PCI1
{
...
...
@@ -238,7 +239,8 @@ void pci_init_board(void)
extern
void
fsl_pci_init
(
struct
pci_controller
*
hose
);
struct
pci_controller
*
hose
=
&
pci1_hose
;
#ifdef DEBUG
uint
host1_agent
=
(
gur
->
porbmsr
&
MPC86xx_PORBMSR_HA
)
>>
17
;
uint
host1_agent
=
(
gur
->
porbmsr
&
MPC8641_PORBMSR_HA
)
>>
MPC8641_PORBMSR_HA_SHIFT
;
uint
pex1_agent
=
(
host1_agent
==
0
)
||
(
host1_agent
==
1
);
#endif
if
((
io_sel
==
2
||
io_sel
==
3
||
io_sel
==
5
...
...
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