From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 68.mail-out.ovh.net ([91.121.185.69]) by bombadil.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1OlvGG-0004mH-RV for barebox@lists.infradead.org; Thu, 19 Aug 2010 02:53:49 +0000 From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 19 Aug 2010 04:48:29 +0200 Message-Id: <1282186110-32738-5-git-send-email-plagnioj@jcrosoft.com> In-Reply-To: <20100819024811.GG454@game.jcrosoft.org> References: <20100819024811.GG454@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 5/6] macb: introduce HAS_MACB configuration To: barebox@lists.infradead.org Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/mach-at91/Kconfig | 2 ++ drivers/net/Kconfig | 5 ++++- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index bea238b..ef54a17 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -20,6 +20,7 @@ choice config ARCH_AT91SAM9260 bool "AT91SAM9260" select CPU_ARM926T + select HAS_MACB config ARCH_AT91SAM9261 bool "AT91SAM9261" @@ -30,6 +31,7 @@ config ARCH_AT91SAM9263 bool "AT91SAM9263" select CPU_ARM926T select MACH_HAS_LOWLEVEL_INIT + select HAS_MACB endchoice diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 0955562..a106a7b 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -4,6 +4,9 @@ config HAS_CS8900 config HAS_DM9000 bool +config HAS_MACB + bool + config HAS_AT91_ETHER bool @@ -71,7 +74,7 @@ config DRIVER_NET_EP93XX config DRIVER_NET_MACB bool "macb Ethernet driver" - depends on ARCH_AT91 + depends on HAS_MACB select MIIPHY config DRIVER_NET_TAP -- 1.7.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox