Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
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
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
Florian Mayer
u-boot
Commits
6183bb9e
Commit
6183bb9e
authored
18 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
MCC200: restrict addressable flash space to 32 MB
parent
463764c8
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
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
board/mcc200/mcc200.c
+8
-0
8 additions, 0 deletions
board/mcc200/mcc200.c
with
10 additions
and
0 deletions
CHANGELOG
+
2
−
0
View file @
6183bb9e
...
...
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* MCC200: restrict addressable flash space to 32 MB
* Add debug console on COM12 for MCC200 board
* Fix control-c handing in CONFIG_CMDLINE_EDITING
...
...
This diff is collapsed.
Click to expand it.
board/mcc200/mcc200.c
+
8
−
0
View file @
6183bb9e
...
...
@@ -203,6 +203,8 @@ int checkboard (void)
int
misc_init_r
(
void
)
{
ulong
flash_sup_end
,
snum
;
/*
* Adjust flash start and offset to detected values
*/
...
...
@@ -257,6 +259,12 @@ int misc_init_r (void)
(
flash_info
[
0
].
start
[
0
]
-
1
)
+
flash_info
[
0
].
size
,
&
flash_info
[
0
]);
*
(
volatile
int
*
)
MPC5XXX_CS0_CFG
&=
~
(
1
<<
6
);
printf
(
"Warning: Only 32 of 64 MB of Flash are accessible from U-Boot
\n
"
);
flash_info
[
0
].
size
=
32
<<
20
;
for
(
snum
=
0
,
flash_sup_end
=
gd
->
bd
->
bi_flashstart
+
(
32
<<
20
);
flash_info
[
0
].
start
[
snum
]
<
flash_sup_end
;
snum
++
);
flash_info
[
0
].
sector_count
=
snum
;
}
return
(
0
);
...
...
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