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
34b3049a
Commit
34b3049a
authored
21 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup
parent
ef709e92
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
board/mpl/vcma9/vcma9.c
+2
-0
2 additions, 0 deletions
board/mpl/vcma9/vcma9.c
board/sixnet/sixnet.c
+1
-1
1 addition, 1 deletion
board/sixnet/sixnet.c
drivers/smc91111.c
+0
-4
0 additions, 4 deletions
drivers/smc91111.c
with
3 additions
and
5 deletions
board/mpl/vcma9/vcma9.c
+
2
−
0
View file @
34b3049a
...
...
@@ -218,6 +218,7 @@ static u8 Get_PLD_Revision(void)
return
(
Get_PLD_ID
()
&
0x0F
);
}
#if 0 /* not used */
static int Get_Board_Config(void)
{
u8 config = Get_PLD_BOARD() & 0x03;
...
...
@@ -227,6 +228,7 @@ static int Get_Board_Config(void)
else
return 0;
}
#endif
static
uchar
Get_Board_PCB
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
board/sixnet/sixnet.c
+
1
−
1
View file @
34b3049a
...
...
@@ -330,7 +330,7 @@ int misc_init_r (void)
#if (CONFIG_COMMANDS & CFG_CMD_NAND)
void
nand_init
(
void
)
{
unsigned
long
totlen
=
nand_probe
(
CFG_
NAND
_BASE
);
unsigned
long
totlen
=
nand_probe
(
CFG_
DFLASH
_BASE
);
printf
(
"%4lu MB
\n
"
,
totlen
>>
20
);
}
...
...
This diff is collapsed.
Click to expand it.
drivers/smc91111.c
+
0
−
4
View file @
34b3049a
...
...
@@ -1406,9 +1406,6 @@ int smc_get_ethaddr (bd_t * bd)
if
(
env_present
&&
rom_valid
)
{
/* if both env and ROM are good */
if
(
memcmp
(
v_env_mac
,
v_rom_mac
,
6
)
!=
0
)
{
printf
(
"
\n
*** Warning: Environment and ROM MAC addresses don't match
\n
"
);
printf
(
"*** Using Environment MAC
\n
"
);
-----
printf
(
"
\n
Warning: MAC addresses don't match:
\n
"
);
printf
(
"
\t
HW MAC address: "
"%02X:%02X:%02X:%02X:%02X:%02X
\n
"
,
...
...
@@ -1421,7 +1418,6 @@ int smc_get_ethaddr (bd_t * bd)
v_env_mac
[
2
],
v_env_mac
[
3
],
v_env_mac
[
4
],
v_env_mac
[
5
])
;
debug
(
"### Set MAC addr from environment
\n
"
);
memcpy
(
addr
,
env_enetaddr
,
6
);
}
}
memcpy
(
bd
->
bi_enetaddr
,
v_mac
,
6
);
/* update global address to match env (allows env changing) */
...
...
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