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
59acc296
Commit
59acc296
authored
20 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Minor cleanup
parent
400558b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cpu/at91rm9200/i2c.c
+2
-2
2 additions, 2 deletions
cpu/at91rm9200/i2c.c
include/configs/cmc_pu2.h
+1
-1
1 addition, 1 deletion
include/configs/cmc_pu2.h
net/net.c
+5
-3
5 additions, 3 deletions
net/net.c
rtc/rs5c372.c
+0
-1
0 additions, 1 deletion
rtc/rs5c372.c
with
8 additions
and
7 deletions
cpu/at91rm9200/i2c.c
+
2
−
2
View file @
59acc296
...
...
@@ -118,8 +118,8 @@ i2c_probe(unsigned char chip)
}
int
i2c_read
(
unsigned
char
chip
,
unsigned
int
addr
,
int
alen
,
unsigned
char
*
buffer
,
int
len
)
i2c_read
(
unsigned
char
chip
,
unsigned
int
addr
,
int
alen
,
unsigned
char
*
buffer
,
int
len
)
{
#ifdef CFG_I2C_EEPROM_ADDR_OVERFLOW
/* we only allow one address byte */
...
...
This diff is collapsed.
Click to expand it.
include/configs/cmc_pu2.h
+
1
−
1
View file @
59acc296
...
...
@@ -204,7 +204,7 @@ struct bd_info_ext {
#define CFG_HZ 1000
#define CFG_HZ_CLOCK AT91C_MASTER_CLOCK/2
/* AT91C_TC0_CMR is implicitly set to */
/* AT91C_TC_TIMER_DIV1_CLOCK */
/* AT91C_TC_TIMER_DIV1_CLOCK */
#define CONFIG_STACKSIZE (32*1024)
/* regular stack */
...
...
This diff is collapsed.
Click to expand it.
net/net.c
+
5
−
3
View file @
59acc296
...
...
@@ -468,7 +468,7 @@ restart:
/*
* Main packet reception loop. Loop receiving packets until
* someone sets `Net
Quit'
.
* someone sets `Net
State' to a state that terminates
.
*/
for
(;;)
{
WATCHDOG_RESET
();
...
...
@@ -503,7 +503,9 @@ restart:
thand_f
*
x
;
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
#if defined(CFG_FAULT_ECHO_LINK_DOWN) && defined(CONFIG_STATUS_LED) && defined(STATUS_LED_RED)
# if defined(CFG_FAULT_ECHO_LINK_DOWN) &&
defined
(
CONFIG_STATUS_LED
)
&&
defined
(
STATUS_LED_RED
)
/*
* Echo the inverted link state to the fault LED.
*/
...
...
@@ -512,7 +514,7 @@ restart:
}
else
{
status_led_set
(
STATUS_LED_RED
,
STATUS_LED_ON
);
}
#endif
/* CFG_FAULT_ECHO_LINK_DOWN, ... */
#
endif
/* CFG_FAULT_ECHO_LINK_DOWN, ... */
#endif
/* CONFIG_MII, ... */
x
=
timeHandler
;
timeHandler
=
(
thand_f
*
)
0
;
...
...
This diff is collapsed.
Click to expand it.
rtc/rs5c372.c
+
0
−
1
View file @
59acc296
...
...
@@ -95,7 +95,6 @@ rs5c372_enable(void)
unsigned
char
buf
[
RS5C372_RAM_SIZE
+
1
];
int
ret
;
/* note that this returns reg. 15 in buf[1] */
ret
=
rs5c372_readram
(
&
buf
[
1
],
RS5C372_RAM_SIZE
);
if
(
ret
!=
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