aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2020-06-20 17:39:21 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2020-07-25 11:24:01 +0200
commit777aa715317213fc4eda62916e515a8da89d6e64 (patch)
treee6b063ae546b3865ad9ad589283a6b41340dcf1c /drivers/net
parent75e375b0a979176b72b0355534e03a863c19d95a (diff)
downloadu-boot-777aa715317213fc4eda62916e515a8da89d6e64.zip
u-boot-777aa715317213fc4eda62916e515a8da89d6e64.tar.gz
u-boot-777aa715317213fc4eda62916e515a8da89d6e64.tar.bz2
net: dc2114x: Support all DC2114x
For the usage in this driver, the chips are identical, so support all of them. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/dc2114x.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c
index dee699a..dfd893b 100644
--- a/drivers/net/dc2114x.c
+++ b/drivers/net/dc2114x.c
@@ -581,7 +581,6 @@ int dc21x4x_initialize(struct bd_info *bis)
unsigned int iobase;
int card_number = 0;
pci_dev_t devbusfn;
- unsigned int cfrv;
int idx = 0;
while (1) {
@@ -589,14 +588,6 @@ int dc21x4x_initialize(struct bd_info *bis)
if (devbusfn == -1)
break;
- /* Get the chip configuration revision register. */
- pci_read_config_dword(devbusfn, PCI_REVISION_ID, &cfrv);
-
- if ((cfrv & CFRV_RN) < DC2114x_BRK) {
- printf("Error: The chip is not DC21143.\n");
- continue;
- }
-
pci_read_config_word(devbusfn, PCI_COMMAND, &status);
status |= PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER;
pci_write_config_word(devbusfn, PCI_COMMAND, status);