From: Marek Vasut Date: Sat, 11 Jul 2020 14:35:58 +0200 Subject: [PATCH 02/12] net: dc2114x: Support all DC2114x In-Reply-To: <20200711123608.6541-1-marek.vasut+renesas@gmail.com> References: <20200711123608.6541-1-marek.vasut+renesas@gmail.com> Message-ID: <20200711123608.6541-2-marek.vasut+renesas@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de For the usage in this driver, the chips are identical, so support all of them. Signed-off-by: Marek Vasut Cc: Joe Hershberger Cc: Ramon Fried --- drivers/net/dc2114x.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index e537b29f3d..245218080e 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -581,7 +581,6 @@ int dc21x4x_initialize(bd_t *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(bd_t *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); -- 2.27.0