From patchwork Fri Jun 17 10:24: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: 70305 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp203801qgy; Fri, 17 Jun 2016 03:24:19 -0700 (PDT) X-Received: by 10.194.114.72 with SMTP id je8mr1457557wjb.88.1466159056811; Fri, 17 Jun 2016 03:24:16 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id l7si11226151wjp.42.2016.06.17.03.24.16; Fri, 17 Jun 2016 03:24:16 -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 406BDA770D; Fri, 17 Jun 2016 12:23:59 +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 Pe0cJ9EmHURE; Fri, 17 Jun 2016 12:23:59 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E073AA770F; Fri, 17 Jun 2016 12:23:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AD23EA755D for ; Fri, 17 Jun 2016 12:23:29 +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 5oGUmS54mGGz for ; Fri, 17 Jun 2016 12:23:29 +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-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by theia.denx.de (Postfix) with ESMTPS id AD5FDA763C for ; Fri, 17 Jun 2016 12:23:24 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id u5HANA5b026719; Fri, 17 Jun 2016 19:23:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com u5HANA5b026719 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1466158991; bh=VG7dRfz5qhfAYYrvomYcYz4tbTOlCqVAxivNUPRk20k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MAgFXysYj3K+TOqDKPU9JUDn6VtbKoANrTHl17w3Ce7jF6KAJl+R30HxpQyq1cDjU oDbjyH2SG5OlrEz3f446kq71eD5iEA15V4RQsB3vgoaLk06XWirTjGDAfWd5/fXGf1 qpkVnyeVvHPW/EVF+lgtRgUxQ0lZiFafcs0W3seGFyjE+9HpNo+b6NET9/yf9trdx/ eNw7s07j7RhmkavuvO2FoZAghnlVOwu7bIc4OnmNtpBw+5WtemcCYSgx1BVJmuG9ER Rk+hQATpOgSBL+l83REQz9YNwWQrQ0pXEYEjsC2xMZLYOQQVNZjUWjdN2zlAi0PqyV bemkIH5X9b73w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 17 Jun 2016 19:24:27 +0900 Message-Id: <1466159070-9473-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466159070-9473-1-git-send-email-yamada.masahiro@socionext.com> References: <1466159070-9473-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 1/4] ARM: uniphier: introduce CONFIG_ARM_UNIPHIER_{32, 64}BIT 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 will make it easier to select config options specific to particular ARM processor generation. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig index ae763ad..175c9f7 100644 --- a/arch/arm/mach-uniphier/Kconfig +++ b/arch/arm/mach-uniphier/Kconfig @@ -3,35 +3,42 @@ if ARCH_UNIPHIER config SYS_CONFIG_NAME default "uniphier" +config ARCH_UNIPHIER_32BIT + bool + select CPU_V7 + +config ARCH_UNIPHIER_64BIT + bool + select ARM64 + select SPL_SEPARATE_BSS + choice prompt "UniPhier SoC select" default ARCH_UNIPHIER_PRO4 config ARCH_UNIPHIER_SLD3 bool "UniPhier PH1-sLD3 SoC" - select CPU_V7 + select ARCH_UNIPHIER_32BIT config ARCH_UNIPHIER_LD4_SLD8 bool "UniPhier PH1-LD4/PH1-sLD8 SoC" - select CPU_V7 + select ARCH_UNIPHIER_32BIT config ARCH_UNIPHIER_PRO4 bool "UniPhier PH1-Pro4 SoC" - select CPU_V7 + select ARCH_UNIPHIER_32BIT config ARCH_UNIPHIER_PRO5_PXS2_LD6B bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC" - select CPU_V7 + select ARCH_UNIPHIER_32BIT config ARCH_UNIPHIER_LD11 bool "UniPhier PH1-LD11 SoC" - select ARM64 - select SPL_SEPARATE_BSS + select ARCH_UNIPHIER_64BIT config ARCH_UNIPHIER_LD20 bool "UniPhier PH1-LD20 SoC" - select ARM64 - select SPL_SEPARATE_BSS + select ARCH_UNIPHIER_64BIT endchoice