From patchwork Mon Sep 23 17:20:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Daudt X-Patchwork-Id: 2929131 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0427DBFF05 for ; Mon, 23 Sep 2013 17:21:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AAD2E200D4 for ; Mon, 23 Sep 2013 17:21:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE33420397 for ; Mon, 23 Sep 2013 17:20:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752540Ab3IWRU5 (ORCPT ); Mon, 23 Sep 2013 13:20:57 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:53000 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635Ab3IWRU4 (ORCPT ); Mon, 23 Sep 2013 13:20:56 -0400 Received: by mail-pd0-f180.google.com with SMTP id y10so3460534pdj.25 for ; Mon, 23 Sep 2013 10:20:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H79VNs8DlLcgWP+j8aYoUlCfv4kyZhDe1PfR2+B1HQY=; b=MmJ8WJxMm4W0mnkAgpHMmLCoRumVl2cZn2faROITmkpADLSEgncFUoN4tH7wEchSMc cn8n9gM+GRII9XUnNLEmBbOtbX2o+rwWK8eW/wsMeipLBfyE43b3CiQIxDCmbZAP7fWF KhEDVYuBKpmFoNN1+z2n1BnTheUEUn1T65b5FhPDmjIn/D2MkcePwvyIh4Wa5SgS518l RMb6je9MBORY1kEHoPHcZ3k5470Jpxr71yCit37j2yyfqRoa/T4n1JmNBcju9g3djRmV M/O7sUoPeWCj5jSPHxiPoH8eeNkUCYtZaarPxn2GCfEIYiKphvDCk0WuHLbssEA7zUrM 22Lw== X-Gm-Message-State: ALoCoQlPgipIBxgrOJYJjjhM/7D5hTdSyjqcxsMp+q9+DF+bxjyauh2wc0HEnFDwRyX/tg/6BQ0q X-Received: by 10.68.98.228 with SMTP id el4mr2646537pbb.190.1379956856171; Mon, 23 Sep 2013 10:20:56 -0700 (PDT) Received: from mackenzie.boldstreet.net ([207.230.251.134]) by mx.google.com with ESMTPSA id 7sm39421239paf.22.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Sep 2013 10:20:54 -0700 (PDT) From: Christian Daudt To: Olof Johansson , Arnd Bergmann , Stephen Warren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , Daniel Lezcano , Thomas Gleixner , Chris Ball Cc: Domenico Andreoli , Christian Daudt , Hauke Mehrtens , Matt Porter , Alex Elder , devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Christian Daudt Subject: [PATCH v2 1/4] rename ARCH_BCM to ARCH_BCM_MOBILE (mach-bcm) Date: Mon, 23 Sep 2013 10:20:33 -0700 Message-Id: <1379956836-5866-2-git-send-email-bcm@fixthebug.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1379956836-5866-1-git-send-email-bcm@fixthebug.org> References: <1379956836-5866-1-git-send-email-bcm@fixthebug.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently ARCH_BCM has been used for Broadcom Mobile V7 based SoCs. In order to allow other Broadcom SoCs to also use mach-bcm directory and files, this patch renames the original ARCH_BCM to ARCH_BCM_MOBILE, and uses ARCH_BCM to define any Broadcom chip residing in mach-bcm directory. Signed-off-by: Christian Daudt Acked-by: Olof Johansson Changes from v1: - fix alpha ordering in dts/Makefile - break into 4 patches for separate subsys diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index 6e49310..efb0132 100644 --- a/arch/arm/configs/bcm_defconfig +++ b/arch/arm/configs/bcm_defconfig @@ -27,6 +27,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_PARTITION_ADVANCED=y CONFIG_EFI_PARTITION=y CONFIG_ARCH_BCM=y +CONFIG_ARCH_BCM_MOBILE=y CONFIG_ARM_THUMBEE=y CONFIG_ARM_ERRATA_743622=y CONFIG_PREEMPT=y diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 6e572c6..89a5064 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -6,6 +6,7 @@ CONFIG_ARCH_MVEBU=y CONFIG_MACH_ARMADA_370=y CONFIG_MACH_ARMADA_XP=y CONFIG_ARCH_BCM=y +CONFIG_ARCH_BCM_MOBILE=y CONFIG_GPIO_PCA953X=y CONFIG_ARCH_HIGHBANK=y CONFIG_ARCH_KEYSTONE=y diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 69d67f7..af86cda 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -1,5 +1,17 @@ config ARCH_BCM - bool "Broadcom SoC" if ARCH_MULTI_V7 + bool "Broadcom SoC Support" + select ARCH_MULTIPLATFORM + help + This enables support for Broadcom ARM based SoC + chips + +if ARCH_BCM + +menu "Broadcom SoC Selection" + +config ARCH_BCM_MOBILE + bool "Broadcom Mobile SoC" if ARCH_MULTI_V7 + default y depends on MMU select ARCH_REQUIRE_GPIOLIB select ARM_ERRATA_754322 @@ -14,7 +26,11 @@ config ARCH_BCM select TICK_ONESHOT select CACHE_L2X0 help - This enables support for system based on Broadcom SoCs. + This enables support for systems based on Broadcom mobile SoCs. It currently supports the 'BCM281XX' family, which includes BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 variants. + +endmenu + +endif diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile index e3d0303..c2ccd5a 100644 --- a/arch/arm/mach-bcm/Makefile +++ b/arch/arm/mach-bcm/Makefile @@ -10,6 +10,6 @@ # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -obj-$(CONFIG_ARCH_BCM) := board_bcm281xx.o bcm_kona_smc.o bcm_kona_smc_asm.o kona.o +obj-$(CONFIG_ARCH_BCM_MOBILE) := board_bcm281xx.o bcm_kona_smc.o bcm_kona_smc_asm.o kona.o plus_sec := $(call as-instr,.arch_extension sec,+sec) AFLAGS_bcm_kona_smc_asm.o :=-Wa,-march=armv7-a$(plus_sec)