From patchwork Fri Jan 6 04:56:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wenyou Yang X-Patchwork-Id: 711680 X-Patchwork-Delegate: andreas.biessmann@googlemail.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 3tvsnV0GT7z9sdn for ; Fri, 6 Jan 2017 16:00:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2CAC0B3922; Fri, 6 Jan 2017 06:00:33 +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 P4exG0eRjs3W; Fri, 6 Jan 2017 06:00:33 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62D5AB395B; Fri, 6 Jan 2017 06:00:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 27AADB3940 for ; Fri, 6 Jan 2017 06:00:27 +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 zi2ylX7h33QY for ; Fri, 6 Jan 2017 06:00:27 +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 ussmtp01.atmel.com (nasmtp01.atmel.com [192.199.1.245]) by theia.denx.de (Postfix) with ESMTPS id 52749B393B for ; Fri, 6 Jan 2017 06:00:22 +0100 (CET) Received: from apsmtp01.atmel.com (10.168.254.30) by DVREDG01.corp.atmel.com (10.42.103.30) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 5 Jan 2017 22:00:12 -0700 Received: from shaarm01.corp.atmel.com (10.168.254.13) by apsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server id 14.3.235.1; Fri, 6 Jan 2017 13:03:12 +0800 From: Wenyou Yang To: U-Boot Mailing List Date: Fri, 6 Jan 2017 12:56:52 +0800 Message-ID: <20170106045654.21193-4-wenyou.yang@atmel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170106045654.21193-1-wenyou.yang@atmel.com> References: <20170106045654.21193-1-wenyou.yang@atmel.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 3/4] ARM: at91: sama5: add SoC configs 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" To remove the SoCs options such as SAMA5D2, SAMA5D3 and SAMA5D4 from CONFIG_SYS_EXTRA_OPTIONS which is deprecated. Add these SoC configs to Kconfig. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/Kconfig | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 5cefeb429b..631566ec1b 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -3,6 +3,18 @@ if ARCH_AT91 config AT91FAMILY def_bool y +config SAMA5D2 + bool + select CPU_V7 + +config SAMA5D3 + bool + select CPU_V7 + +config SAMA5D4 + bool + select CPU_V7 + choice prompt "Atmel AT91 board select" optional @@ -84,37 +96,37 @@ config TARGET_AT91SAM9X5EK config TARGET_SAMA5D2_PTC bool "SAMA5D2 PTC board" - select CPU_V7 + select SAMA5D2 select SUPPORT_SPL config TARGET_SAMA5D2_XPLAINED bool "SAMA5D2 Xplained board" - select CPU_V7 + select SAMA5D2 select SUPPORT_SPL config TARGET_SAMA5D3_XPLAINED bool "SAMA5D3 Xplained board" - select CPU_V7 + select SAMA5D3 select SUPPORT_SPL config TARGET_SAMA5D3XEK bool "SAMA5D3X-EK board" - select CPU_V7 + select SAMA5D3 select SUPPORT_SPL config TARGET_SAMA5D4_XPLAINED bool "SAMA5D4 Xplained board" - select CPU_V7 + select SAMA5D4 select SUPPORT_SPL config TARGET_SAMA5D4EK bool "SAMA5D4 Evaluation Kit" - select CPU_V7 + select SAMA5D4 select SUPPORT_SPL config TARGET_MA5D4EVK bool "DENX MA5D4EVK Evaluation Kit" - select CPU_V7 + select SAMA5D4 select SUPPORT_SPL config TARGET_MEESC @@ -150,7 +162,7 @@ config TARGET_SMARTWEB config TARGET_VINCO bool "Support VINCO" - select CPU_V7 + select SAMA5D4 select SUPPORT_SPL endchoice