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
7b18e8c9
Commit
7b18e8c9
authored
15 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-mpc85xx
parents
b55edd97
cdbdbe65
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpu/mpc85xx/tlb.c
+2
-2
2 additions, 2 deletions
cpu/mpc85xx/tlb.c
cpu/mpc8xxx/ddr/options.c
+3
-4
3 additions, 4 deletions
cpu/mpc8xxx/ddr/options.c
with
5 additions
and
6 deletions
cpu/mpc85xx/tlb.c
+
2
−
2
View file @
7b18e8c9
...
...
@@ -132,10 +132,10 @@ int find_tlb_idx(void *addr, u8 tlbsel)
void
init_addr_map
(
void
)
{
int
i
;
unsigned
int
max
_cam
=
(
mfspr
(
SPRN_TLB1CFG
)
>>
16
)
&
0xff
;
unsigned
int
num
_cam
=
mfspr
(
SPRN_TLB1CFG
)
&
0xff
f
;
/* walk all the entries */
for
(
i
=
0
;
i
<
max
_cam
;
i
++
)
{
for
(
i
=
0
;
i
<
num
_cam
;
i
++
)
{
unsigned
long
epn
;
u32
tsize
,
_mas1
;
phys_addr_t
rpn
;
...
...
This diff is collapsed.
Click to expand it.
cpu/mpc8xxx/ddr/options.c
+
3
−
4
View file @
7b18e8c9
...
...
@@ -22,9 +22,7 @@ unsigned int populate_memctl_options(int all_DIMMs_registered,
unsigned
int
ctrl_num
)
{
unsigned
int
i
;
#if (CONFIG_NUM_DDR_CONTROLLERS > 1)
const
char
*
p
;
#endif
/* Chip select options. */
...
...
@@ -242,8 +240,10 @@ unsigned int populate_memctl_options(int all_DIMMs_registered,
simple_strtoul
(
p
,
NULL
,
0
);
}
}
#endif
if
(
(
p
=
getenv
(
"ba_intlv_ctl"
))
!=
NULL
)
{
if
(
((
p
=
getenv
(
"ba_intlv_ctl"
))
!=
NULL
)
&&
(
CONFIG_CHIP_SELECTS_PER_CTRL
>
1
))
{
if
(
strcmp
(
p
,
"cs0_cs1"
)
==
0
)
popts
->
ba_intlv_ctl
=
FSL_DDR_CS0_CS1
;
else
if
(
strcmp
(
p
,
"cs2_cs3"
)
==
0
)
...
...
@@ -283,7 +283,6 @@ unsigned int populate_memctl_options(int all_DIMMs_registered,
break
;
}
}
#endif
fsl_ddr_board_options
(
popts
,
pdimm
,
ctrl_num
);
...
...
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