From patchwork Mon Mar 21 13:47:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 600127 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3qTHBT0gnXz9s4x for ; Tue, 22 Mar 2016 00:44:49 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=jUVcFbdE; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEF3BA7600; Mon, 21 Mar 2016 14:44:39 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FhVtPHdEy0Mi; Mon, 21 Mar 2016 14:44:39 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 54D13A760E; Mon, 21 Mar 2016 14:44:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 88D9CA74D0 for ; Mon, 21 Mar 2016 14:44:28 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eo-UEpJZGyfg for ; Mon, 21 Mar 2016 14:44:28 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by theia.denx.de (Postfix) with ESMTPS id 0E40EA748F for ; Mon, 21 Mar 2016 14:44:22 +0100 (CET) Received: by mail-pf0-f175.google.com with SMTP id 4so134229936pfd.0 for ; Mon, 21 Mar 2016 06:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eEjP2yDguMCUQx2SSS8rGAu8hxznpBwFXnADCw+g51A=; b=jUVcFbdEEuFmgK9dh8hisUcN+QGriG1KaU+CXTIQM3PQ+qSr7BozcsYaRE94VSmbPI FcVx8nItPDZHzT8JIEMd7V9axmv4YJsc4upueP3/JLRT5PswhayXGTa5XOUPU/vlA7Op wBL+ryuiXrDibWFwsbosAiX8cBjEBuLvLTuTOjHrPHs9yEx6AlMH2BUAXKHjaNetssg7 PkPGPrkqQeHZxsrgXS4L/T6AAFJJ0sSUyJ+v3wk08cGKyk3+0MTFfDYAQ/IWBwR4yHU9 RYgVH1nGK/CB1yHZRCuyxUHKi13J+Xcb5IdbKK4uk5SZp0COIDUYkdPxRK9x7BIdRKKH RnkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eEjP2yDguMCUQx2SSS8rGAu8hxznpBwFXnADCw+g51A=; b=Sj3N0h5PJdBxZYdKqLy7hKnRQ4Tdp1fyhOuiZ0+ieOdMBrtTQjhG+YMsspm/sO34B5 g990nvspQl85iCkQ/wlZGDiZfl3xZQPRazbn82O9CMsjZq88HN7n85zgHC5/0CYIbW87 rSwLObMNlp3Id47a7ModRRJQPiZ9PeAXq7oHD7KY4IQ+fFJ7jFmPBBcdGGPjeq1IJbQc +5geZO43bmINLQlRbHFZw/RUueSHcLlsxRzM1lQLmGByllSee9QajgeqPmJ9tq0JeUi8 XxI8PpM5MeH+oLE+ckY/vEx/vAYTQZ8uJtBXM6mSWXKxw8PrTM/4zitLOkxmHS6DvDqA oZ5A== X-Gm-Message-State: AD7BkJKA3lqENa11ITp7qm0e1sabrCVqkHkW/OQ8D6s9/BnCW5E+RRmPkhobq+kKJOP4Uw== X-Received: by 10.66.253.169 with SMTP id ab9mr46029047pad.62.1458567861506; Mon, 21 Mar 2016 06:44:21 -0700 (PDT) Received: from ala-d2121-lx1.wrs.com (unknown-157-139.windriver.com. [147.11.157.139]) by smtp.gmail.com with ESMTPSA id l11sm24170700pfb.56.2016.03.21.06.44.20 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Mar 2016 06:44:20 -0700 (PDT) From: Bin Meng To: Tom Rini , Joe Hershberger , U-Boot Mailing List Date: Mon, 21 Mar 2016 06:47:41 -0700 Message-Id: <1458568062-3965-2-git-send-email-bmeng.cn@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1458568062-3965-1-git-send-email-bmeng.cn@gmail.com> References: <1458568062-3965-1-git-send-email-bmeng.cn@gmail.com> Cc: Gong Qianyu , Nobuhiro Iwamatsu , Scott Wood , Bin Meng Subject: [U-Boot] [PATCH v2 2/3] net: Move CONFIG_RTL8139 to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Introduce CONFIG_RTL8139 in Kconfig and move over boards' defconfig to use that. Signed-off-by: Bin Meng Acked-by: Joe Hershberger --- Changes in v2: None configs/MPC8544DS_defconfig | 1 + drivers/net/Kconfig | 6 ++++++ include/configs/MPC8536DS.h | 1 - include/configs/MPC8544DS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/r2dplus.h | 5 ----- 7 files changed, 7 insertions(+), 9 deletions(-) diff --git a/configs/MPC8544DS_defconfig b/configs/MPC8544DS_defconfig index 9790d8a..8937682 100644 --- a/configs/MPC8544DS_defconfig +++ b/configs/MPC8544DS_defconfig @@ -5,5 +5,6 @@ CONFIG_OF_BOARD_SETUP=y CONFIG_OF_STDOUT_VIA_ALIAS=y CONFIG_NETDEVICES=y CONFIG_E1000=y +CONFIG_RTL8139=y CONFIG_SYS_NS16550=y CONFIG_OF_LIBFDT=y diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index bc2f51d..3ac6b66 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -102,6 +102,12 @@ config PCH_GBE This MAC is present in Intel Platform Controller Hub EG20T. It supports 10/100/1000 Mbps operation. +config RTL8139 + bool "Realtek 8139 series Ethernet controller driver" + help + This driver supports Realtek 8139 series fast ethernet family of + PCI chipsets/adapters. + config XILINX_AXIEMAC depends on DM_ETH && (MICROBLAZE || ARCH_ZYNQ || ARCH_ZYNQMP) select PHYLIB diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index 9298c30..980cb99 100644 --- a/include/configs/MPC8536DS.h +++ b/include/configs/MPC8536DS.h @@ -527,7 +527,6 @@ #undef CONFIG_EEPRO100 #undef CONFIG_TULIP -#undef CONFIG_RTL8139 #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDR CONFIG_SYS_PCI1_IO_BUS diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index 494c46f..2372d5f 100644 --- a/include/configs/MPC8544DS.h +++ b/include/configs/MPC8544DS.h @@ -298,7 +298,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #undef CONFIG_EEPRO100 #undef CONFIG_TULIP -#define CONFIG_RTL8139 #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDR CONFIG_SYS_PCI1_IO_BUS diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h index cfcd5b9..95f59e0 100644 --- a/include/configs/MPC8572DS.h +++ b/include/configs/MPC8572DS.h @@ -490,7 +490,6 @@ #undef CONFIG_EEPRO100 #undef CONFIG_TULIP -#undef CONFIG_RTL8139 #ifndef CONFIG_PCI_PNP #define PCI_ENET0_IOADDR CONFIG_SYS_PCIE3_IO_BUS diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index bd0a3f5..1f4ed2a 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -362,7 +362,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_PCI_PNP /* do pci plug-and-play */ -#define CONFIG_RTL8139 #undef CONFIG_EEPRO100 #undef CONFIG_TULIP diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h index 2d1e56a..82e7a89 100644 --- a/include/configs/r2dplus.h +++ b/include/configs/r2dplus.h @@ -110,9 +110,4 @@ #define CONFIG_PCI_SYS_PHYS (CONFIG_SYS_SDRAM_BASE & 0x1fffffff) #define CONFIG_PCI_SYS_SIZE CONFIG_SYS_SDRAM_SIZE -/* - * Network device (RTL8139) support - */ -#define CONFIG_RTL8139 - #endif /* __CONFIG_H */