From patchwork Sat Oct 8 04:25:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77384 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp501966qge; Fri, 7 Oct 2016 21:28:06 -0700 (PDT) X-Received: by 10.194.58.175 with SMTP id s15mr18971741wjq.97.1475900886444; Fri, 07 Oct 2016 21:28:06 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id s11si6064872wmd.11.2016.10.07.21.28.06; Fri, 07 Oct 2016 21:28:06 -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 41E52A768E; Sat, 8 Oct 2016 06:27:55 +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 uyvg4tumydL1; Sat, 8 Oct 2016 06:27:55 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 295EBB382D; Sat, 8 Oct 2016 06:27:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0080AA7636 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 gTEXgOn2HIYS for ; Sat, 8 Oct 2016 06:26:27 +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 0FD35A7695 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 u984PXpn027913; Sat, 8 Oct 2016 13:25:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u984PXpn027913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1475900740; bh=C/rMjglh9SEZNZR5ESJ31BiCXNPxa90itUVen9pvetE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0M1MVljBmDat8QjOgNPD+mv6EEQ8X6WAg8OacgsLBYDM9/CSTVlcTDYxlM1jNGeAz SgaZbGZJQTB58CzHv8C51qNjPMDPlHRVz1Y3SinxA3Rkvvi7IGTDV0tPKPWxHJj44u 3xU+IDEVdciRFlTRbPUrNMeiUT+vWtJPKY40oIQjrdSk7A02+ioqMCazmFyAKgQJaE frKgvWvyV4Q2uv2RLmjv87lNF7CPAVcOpr1j6RM7Wqbc+ujKMw2kQ2IpsPzUHhFQ/n ZU+bZwzFvVwcu94904efwcB2pQXxGUjvHJRlZQQ3iGhCtRVqLgDOBvlDrufGhPpbyN 3Iou3/wTRfhmQ== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 8 Oct 2016 13:25:27 +0900 Message-Id: <1475900731-10998-6-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 5/9] ARM: uniphier: enable CONFIG_SYS_NO_FLASH if no 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" NOR flash devices are seldom used on UniPhier platforms these days. The only use case I see is the Micro Support Card is connected. Otherwise, define CONFIG_SYS_NO_FLASH to disable NOR FLASH. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 7 +++---- 1 file changed, 3 insertions(+), 4 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 bb873a4..2cd7dce 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -40,10 +40,9 @@ /* FLASH related */ #define CONFIG_MTD_DEVICE -/* - * uncomment the following to disable FLASH related code. - */ -/* #define CONFIG_SYS_NO_FLASH */ +#ifndef CONFIG_MICRO_SUPPORT_CARD +#define CONFIG_SYS_NO_FLASH +#endif #define CONFIG_FLASH_CFI_DRIVER #define CONFIG_SYS_FLASH_CFI