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
8fd80563
Commit
8fd80563
authored
14 years ago
by
Graeme Russ
Committed by
Wolfgang Denk
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
eNET: Add support for onboard RTL8100B (RTL8139) chips
Signed-off-by:
Graeme Russ
<
graeme.russ@gmail.com
>
parent
21e67e79
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/eNET/eNET.c
+7
-0
7 additions, 0 deletions
board/eNET/eNET.c
include/configs/eNET.h
+8
-1
8 additions, 1 deletion
include/configs/eNET.h
with
15 additions
and
1 deletion
board/eNET/eNET.c
+
7
−
0
View file @
8fd80563
...
...
@@ -24,6 +24,8 @@
#include
<common.h>
#include
<asm/io.h>
#include
<asm/ic/sc520.h>
#include
<net.h>
#include
<netdev.h>
#ifdef CONFIG_HW_WATCHDOG
#include
<watchdog.h>
...
...
@@ -173,3 +175,8 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info)
}
else
return
0
;
}
int
board_eth_init
(
bd_t
*
bis
)
{
return
pci_eth_init
(
bis
);
}
This diff is collapsed.
Click to expand it.
include/configs/eNET.h
+
8
−
1
View file @
8fd80563
...
...
@@ -105,9 +105,10 @@
#define CONFIG_CMD_LOADS
/* loads */
#define CONFIG_CMD_MEMORY
/* md mm nm mw cp cmp crc base loop mtest */
#define CONFIG_CMD_MISC
/* Misc functions like sleep etc*/
#
un
def CONFIG_CMD_NET
/* bootp, tftpboot, rarpboot */
#def
ine
CONFIG_CMD_NET
/* bootp, tftpboot, rarpboot */
#undef CONFIG_CMD_NFS
/* NFS support */
#define CONFIG_CMD_PCI
/* PCI support */
#define CONFIG_CMD_PING
/* ICMP echo support */
#define CONFIG_CMD_RUN
/* run command in env variable */
#define CONFIG_CMD_SAVEENV
/* saveenv */
#define CONFIG_CMD_SETGETDCR
/* DCR support on 4xx */
...
...
@@ -226,6 +227,12 @@
#define CONFIG_SYS_THIRD_PCI_IRQ 11
#define CONFIG_SYS_FORTH_PCI_IRQ 15
/*
* Network device (TRL8100B) support
*/
#define CONFIG_NET_MULTI
#define CONFIG_RTL8139
/*-----------------------------------------------------------------------
* Hardware watchdog configuration
*/
...
...
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