From patchwork Sat Oct 8 04:25:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77386 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp502054qge; Fri, 7 Oct 2016 21:28:34 -0700 (PDT) X-Received: by 10.28.207.204 with SMTP id f195mr1321414wmg.29.1475900914344; Fri, 07 Oct 2016 21:28:34 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id s8si25242126wjx.171.2016.10.07.21.28.34; Fri, 07 Oct 2016 21:28:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4AAE2B3824; Sat, 8 Oct 2016 06:28:14 +0200 (CEST) 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 FgbdUigzvi61; Sat, 8 Oct 2016 06:28:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 44578B3843; Sat, 8 Oct 2016 06:27:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 23FBCA763F for ; Sat, 8 Oct 2016 06:26:28 +0200 (CEST) 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 7-D2ajlhCFIc for ; Sat, 8 Oct 2016 06:26:28 +0200 (CEST) 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 conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 23CE6A75E5 for ; Sat, 8 Oct 2016 06:25:57 +0200 (CEST) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id u984PXpo027913; Sat, 8 Oct 2016 13:25:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u984PXpo027913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1475900740; bh=M8nxNHq7VHzLy23vXpvRIkp4XijLz+tHUeXKb7E5HFY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KKw9VTu9eS4pSBOBX/KobIZHfZAKEejgFKSawz0HUG7qxM6gToeSk5ZuPNppUBd6p mt06naCLuRUlrsgEbFgpfRWyrcvkLyly3IUPC4J4N1YyN3haMEcShRwilxJf7bsUyR X7WXhsmdJfcD9wFxLppDXPVKnwHR6VSAlBtMJHQYyE332Fj6cnj9L2FYXcImVhUkb+ hVHNiHgdk3N7Hey0Pxry0sPTFLmArvoVDUU+S9+R6eHfQn7UiijjkFTKhcgiFCg/EA Fkr0Oyq7BYsscX+VSjiGGM0kwpNIb0GSzPIcWnwQsId5ZFMRaXqHgzFMit1DMJ+ZtH HqxycAofpL+Lg== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 8 Oct 2016 13:25:28 +0900 Message-Id: <1475900731-10998-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> References: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> Cc: Albert Aribaud Subject: [U-Boot] [PATCH 6/9] ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD 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" This is an on-board Ethernet device. It has no point if the Micro Support Card is not available. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 2cd7dce..3b78eff 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -15,12 +15,6 @@ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 -#define CONFIG_SMC911X - -/* dummy: referenced by examples/standalone/smc911x_eeprom.c */ -#define CONFIG_SMC911X_BASE 0 -#define CONFIG_SMC911X_32_BIT - /*----------------------------------------------------------------------- * MMU and Cache Setting *----------------------------------------------------------------------*/ @@ -40,7 +34,13 @@ /* FLASH related */ #define CONFIG_MTD_DEVICE -#ifndef CONFIG_MICRO_SUPPORT_CARD +#define CONFIG_SMC911X_32_BIT +/* dummy: referenced by examples/standalone/smc911x_eeprom.c */ +#define CONFIG_SMC911X_BASE 0 + +#ifdef CONFIG_MICRO_SUPPORT_CARD +#define CONFIG_SMC911X +#else #define CONFIG_SYS_NO_FLASH #endif