Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
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
Model registry
Operate
Environments
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
onny
uboot-i9100
Commits
e623a1a3
Commit
e623a1a3
authored
20 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
esd misc file esd common routines added.
parent
1d6f9720
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
board/esd/common/misc.c
+40
-0
40 additions, 0 deletions
board/esd/common/misc.c
with
40 additions
and
0 deletions
board/esd/common/misc.c
0 → 100644
+
40
−
0
View file @
e623a1a3
/*
* (C) Copyright 2004
* Stefan Roese, esd gmbh germany, stefan.roese@esd-electronics.com
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
#include
<common.h>
#ifdef CONFIG_LXT971_NO_SLEEP
#include
<miiphy.h>
#endif
#ifdef CONFIG_LXT971_NO_SLEEP
void
lxt971_no_sleep
(
void
)
{
unsigned
short
reg
;
miiphy_read
(
CONFIG_PHY_ADDR
,
0x10
,
&
reg
);
reg
&=
~
0x0040
;
/* disable sleep mode */
miiphy_write
(
CONFIG_PHY_ADDR
,
0x10
,
reg
);
}
#endif
/* CONFIG_LXT971_NO_SLEEP */
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