From patchwork Tue Nov 8 02:34:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 692129 X-Patchwork-Delegate: trini@ti.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 3tCYM15H66z9vF1 for ; Tue, 8 Nov 2016 13:35:25 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6E3D4A75F9; Tue, 8 Nov 2016 03:35:19 +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 XIMwpiNRGhCE; Tue, 8 Nov 2016 03:35:19 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5168A75FA; Tue, 8 Nov 2016 03:35:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5ED14A7594 for ; Tue, 8 Nov 2016 03:35:09 +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 nr-NVF377SD4 for ; Tue, 8 Nov 2016 03:35:09 +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 mail-qt0-f193.google.com (mail-qt0-f193.google.com [209.85.216.193]) by theia.denx.de (Postfix) with ESMTPS id D5E8DA75A9 for ; Tue, 8 Nov 2016 03:35:05 +0100 (CET) Received: by mail-qt0-f193.google.com with SMTP id n34so6629300qtb.3 for ; Mon, 07 Nov 2016 18:35:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=87bh1WZ1BxLiBQIXMnuO6dnhy6lVOMuT3hsuSZqJbOI=; b=D4Qyemdc43zbfaP+P52XrJ3aMgeCuok5WMpC+73jEKYwBiWTdA+mqLjNZzaO+/D5OI br2iQKOYHX72VjsN7T34svFSsRQACm0YgsnHDRHOInXX4ZYmjzPibcNnnL1FObM/Tztz ZL8UvOirEUZ3VRTn16Tiyqfm83Vk6f3Xh9vtd9vov8bcdim8zD554XdHYmvPsdplE6z3 7ZkU1YMrLapknkiBwTazei7d0Bf6Ih71AvJdW1V8IZf+6+XFz2V5Y08EDnFXYmoBh+Do 4IldWcvRSN30aaRRA2ai4j7fbsaHfeysPjWREcNOTVR4iD3DKX3BbMvLBJcfDSr7nak9 p3og== X-Gm-Message-State: ABUngvfUGNG6s7OtzrUMFXokICm4/Lk+WovNgSEwC4MNwBdezxl5Ku16GwpaQPm+t4djBw== X-Received: by 10.237.34.46 with SMTP id n43mr10279718qtc.105.1478572503716; Mon, 07 Nov 2016 18:35:03 -0800 (PST) Received: from localhost.localdomain (cpe-75-180-228-133.ec.res.rr.com. [75.180.228.133]) by smtp.gmail.com with ESMTPSA id p2sm18143462qkc.11.2016.11.07.18.35.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 18:35:02 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Date: Mon, 7 Nov 2016 21:34:53 -0500 Message-Id: <1478572495-20674-2-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478572495-20674-1-git-send-email-trini@konsulko.com> References: <1478572495-20674-1-git-send-email-trini@konsulko.com> Subject: [U-Boot] [PATCH 1/3] arm: Introduce ARCH_OMAP2 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" To start consolidating various TI-related code, introduce the ARCH_OMAP2 symbol. While we have removed omap2-specific boards some time ago, matching up with the kernel naming here will help overall. Signed-off-by: Tom Rini --- arch/arm/Kconfig | 50 ++++++++++++++++++++------------------------------ 1 file changed, 20 insertions(+), 30 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d7a9b11c766a..308245185b83 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -126,6 +126,11 @@ config ENABLE_ARM_SOC_BOOT0_HOOK ARM_SOC_BOOT0_HOOK which contains the required assembler preprocessor code. +config ARCH_OMAP2 + bool + select CPU_V7 + select SUPPORT_SPL + choice prompt "Target select" default TARGET_HIKEY @@ -327,71 +332,61 @@ config TARGET_VEXPRESS_CA9X4 config TARGET_BRXRE1 bool "Support BRXRE1" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 config TARGET_BRPPT1 bool "Support BRPPT1" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 config TARGET_DRACO bool "Support draco" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_THUBAN bool "Support thuban" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_RASTABAN bool "Support rastaban" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_ETAMIN bool "Support etamin" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_PXM2 bool "Support pxm2" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_RUT bool "Support rut" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select DM select DM_SERIAL select DM_GPIO config TARGET_TI814X_EVM bool "Support ti814x_evm" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 config TARGET_TI816X_EVM bool "Support ti816x_evm" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 config TARGET_BCM23550_W1D bool "Support bcm23550_w1d" @@ -486,25 +481,21 @@ config TARGET_MX53SMD config OMAP34XX bool "OMAP34XX SoC" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select USE_TINY_PRINTF config OMAP44XX bool "OMAP44XX SoC" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 select USE_TINY_PRINTF config OMAP54XX bool "OMAP54XX SoC" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 config AM43XX bool "AM43XX SoC" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 help Support for AM43xx SOC from Texas Instruments. The AM43xx high performance SOC features a Cortex-A9 @@ -514,8 +505,7 @@ config AM43XX config AM33XX bool "AM33XX SoC" - select CPU_V7 - select SUPPORT_SPL + select ARCH_OMAP2 help Support for AM335x SOC from Texas Instruments. The AM335x high performance SOC features a Cortex-A8