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
a720fd99
Commit
a720fd99
authored
19 years ago
by
Jon Loeliger
Browse files
Options
Downloads
Plain Diff
Merge with
rsync://git-user@source.denx.net/git/u-boot.git
parents
f046ccd1
15f36a5e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+8
-0
8 additions, 0 deletions
CHANGELOG
common/cmd_dcr.c
+1
-1
1 addition, 1 deletion
common/cmd_dcr.c
post/sysmon.c
+11
-2
11 additions, 2 deletions
post/sysmon.c
with
20 additions
and
3 deletions
CHANGELOG
+
8
−
0
View file @
a720fd99
...
...
@@ -34,6 +34,14 @@ Changes for U-Boot 1.1.3:
Eliminates the CONFIG_MPC8560 option entirely. Distributes the
new CONFIG_CPM2 option to each 8260 board.
* Fix sysmon POST problem: check I2C error codes
This fixes a problem of displaying bogus voltages when the voltages
are so low that the I2C devices start failing while the rest of the
system keeps running.
* Patch by Cedric Vincent, 6 Jul 2005:
Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c"
* Patch by Jon Loeliger, 20 Jul 2005:
Add missing PCI IO port definitions.
...
...
This diff is collapsed.
Click to expand it.
common/cmd_dcr.c
+
1
−
1
View file @
a720fd99
...
...
@@ -29,7 +29,7 @@
#include
<config.h>
#include
<command.h>
#if defined(CONFIG_4xx) &&
defined(
CFG_CMD_SETGETDCR)
#if defined(CONFIG_4xx) &&
(CONFIG_COMMANDS &
CFG_CMD_SETGETDCR)
/* ======================================================================
* Interpreter command to retrieve an IBM PPC 4xx Device Control Register
...
...
This diff is collapsed.
Click to expand it.
post/sysmon.c
+
11
−
2
View file @
a720fd99
...
...
@@ -185,6 +185,10 @@ static char *sysmon_unit_value (sysmon_table_t *s, uint val)
char
*
p
,
sign
;
int
dec
,
frac
;
if
(
val
==
-
1
)
{
return
"I/O ERROR"
;
}
if
(
unit_val
<
0
)
{
sign
=
'-'
;
unit_val
=
-
unit_val
;
...
...
@@ -297,8 +301,13 @@ int sysmon_post_test (int flags)
}
val
=
t
->
sysmon
->
read
(
t
->
sysmon
,
t
->
addr
);
t
->
val_valid
=
val
>=
t
->
val_min
&&
val
<=
t
->
val_max
;
t
->
val_valid_alt
=
val
>=
t
->
val_min_alt
&&
val
<=
t
->
val_max_alt
;
if
(
val
!=
-
1
)
{
t
->
val_valid
=
val
>=
t
->
val_min
&&
val
<=
t
->
val_max
;
t
->
val_valid_alt
=
val
>=
t
->
val_min_alt
&&
val
<=
t
->
val_max_alt
;
}
else
{
t
->
val_valid
=
0
;
t
->
val_valid_alt
=
0
;
}
if
(
t
->
exec_after
)
{
t
->
exec_after
(
t
);
...
...
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