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
Reform
reform-boundary-uboot
Commits
b75ef85f
Commit
b75ef85f
authored
18 years ago
by
Marian Balakowicz
Browse files
Options
Downloads
Patches
Plain Diff
Update CPU target identification strings for Coldfire family.
parent
b4853b77
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
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
cpu/mcf52x2/cpu.c
+7
-6
7 additions, 6 deletions
cpu/mcf52x2/cpu.c
with
9 additions
and
6 deletions
CHANGELOG
+
2
−
0
View file @
b75ef85f
...
...
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* Update CPU target identification strings for Coldfire family.
* Update register definitions for MCF5271.
* Fix serial console support for MCF5271.
...
...
This diff is collapsed.
Click to expand it.
cpu/mcf52x2/cpu.c
+
7
−
6
View file @
b75ef85f
...
...
@@ -46,7 +46,9 @@
#ifdef CONFIG_M5271
int
checkcpu
(
void
)
{
puts
(
"CPU: MOTOROLA Coldfire MCF5271
\n
"
);
char
buf
[
32
];
printf
(
"CPU: Freescale Coldfire MCF5271 at %s MHz
\n
"
,
strmhz
(
buf
,
CFG_CLK
));
return
0
;
}
...
...
@@ -71,7 +73,6 @@ int watchdog_disable (void)
int
watchdog_init
(
void
)
{
mbar_writeShort
(
MCF_WTM_WCNTR
,
CONFIG_WATCHDOG_TIMEOUT
);
mbar_writeShort
(
MCF_WTM_WCR
,
MCF_WTM_WCR_EN
);
return
(
0
);
}
...
...
@@ -106,12 +107,12 @@ int checkcpu(void) {
case
0x4
:
suf
=
"3K75N"
;
break
;
default:
suf
=
NULL
;
printf
(
"
MOTOROLA
MCF5272 (Mask:%01x)
\n
"
,
msk
);
printf
(
"
Freescale
MCF5272 (Mask:%01x)
\n
"
,
msk
);
break
;
}
if
(
suf
)
printf
(
"
MOTOROLA
MCF5272 %s
\n
"
,
suf
);
printf
(
"
Freescale
MCF5272 %s
\n
"
,
suf
);
return
0
;
};
...
...
@@ -157,7 +158,7 @@ int watchdog_init (void)
#ifdef CONFIG_M5282
int
checkcpu
(
void
)
{
puts
(
"CPU:
MOTOROLA
Coldfire MCF5282
\n
"
);
puts
(
"CPU:
Freescale
Coldfire MCF5282
\n
"
);
return
0
;
}
...
...
@@ -171,7 +172,7 @@ int checkcpu (void)
{
char
buf
[
32
];
printf
(
"CPU:
MOTOROLA
Coldfire MCF5249 at %s MHz
\n
"
,
strmhz
(
buf
,
CFG_CLK
));
printf
(
"CPU:
Freescale
Coldfire MCF5249 at %s MHz
\n
"
,
strmhz
(
buf
,
CFG_CLK
));
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