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
Jack Humbert
reform-boundary-uboot
Commits
4a3cd9e6
Commit
4a3cd9e6
authored
19 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem in 440GP ethernet driver (ebony). Add support for 2nd
ethernet port on ebony. Patch by Stefan Roese, 7 Sep 2005
parent
9d2a873b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+4
-0
4 additions, 0 deletions
CHANGELOG
cpu/ppc4xx/4xx_enet.c
+3
-0
3 additions, 0 deletions
cpu/ppc4xx/4xx_enet.c
include/configs/ebony.h
+5
-2
5 additions, 2 deletions
include/configs/ebony.h
with
12 additions
and
2 deletions
CHANGELOG
+
4
−
0
View file @
4a3cd9e6
...
...
@@ -2,6 +2,10 @@
Changes for U-Boot 1.1.4:
======================================================================
* Fix problem in 440GP ethernet driver (ebony). Add support for 2nd
ethernet port on ebony.
Patch by Stefan Roese, 7 Sep 2005
* Add I2C support to TQM8540 and TQM8560 boards (EEPROM, RTC, LM75-DTT).
Removed CFG_CMD_DISPLAY from default commands.
Fixed compiler warning in net.c.
...
...
This diff is collapsed.
Click to expand it.
cpu/ppc4xx/4xx_enet.c
+
3
−
0
View file @
4a3cd9e6
...
...
@@ -365,6 +365,9 @@ static int ppc_4xx_eth_init (struct eth_device *dev, bd_t * bis)
out32
(
ZMII_FER
,
(
ZMII_FER_RMII
|
ZMII_FER_MDI
)
<<
ZMII_FER_V
(
devnum
));
#elif defined(CONFIG_440GX)
ethgroup
=
ppc_4xx_eth_setup_bridge
(
devnum
,
bis
);
#elif defined(CONFIG_440GP)
/* set RMII mode */
out32
(
ZMII_FER
,
ZMII_RMII
|
ZMII_MDI0
);
#else
if
((
devnum
==
0
)
||
(
devnum
==
1
))
{
out32
(
ZMII_FER
,
(
ZMII_FER_SMII
|
ZMII_FER_MDI
)
<<
ZMII_FER_V
(
devnum
));
...
...
This diff is collapsed.
Click to expand it.
include/configs/ebony.h
+
5
−
2
View file @
4a3cd9e6
...
...
@@ -31,6 +31,7 @@
* High Level Configuration Options
*----------------------------------------------------------------------*/
#define CONFIG_EBONY 1
/* Board is ebony */
#define CONFIG_440GP 1
/* Specifc GP support */
#define CONFIG_4xx 1
/* ... PPC4xx family */
#define CONFIG_BOARD_EARLY_INIT_F 1
/* Call board_early_init_f */
#undef CFG_DRAM_TEST
/* Disable-takes long time! */
...
...
@@ -191,6 +192,10 @@
#define CONFIG_MII 1
/* MII PHY management */
#define CONFIG_PHY_ADDR 8
/* PHY address */
#define CONFIG_HAS_ETH1
#define CONFIG_PHY1_ADDR 9
/* EMAC1 PHY address */
#define CONFIG_NET_MULTI 1
#define CFG_RX_ETH_BUFFER 32
/* Number of ethernet rx buffers & descriptors */
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
CFG_CMD_ASKENV | \
...
...
@@ -241,8 +246,6 @@
#define CONFIG_ZERO_BOOTDELAY_CHECK
/* check for keypress on bootdelay==0 */
#define CONFIG_VERSION_VARIABLE 1
/* include version env variable */
#define CFG_RX_ETH_BUFFER 32
/* Number of ethernet rx buffers & descriptors */
/*-----------------------------------------------------------------------
* PCI stuff
*-----------------------------------------------------------------------
...
...
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