Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp654218ybg; Wed, 23 Oct 2019 03:58:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyyPwKUtUHwZY0VE5Tlyi2H3TrMmAE/66VzjQ3nrJhGiBSP7Im4BBc9kgt1VNDEnoeGMwC X-Received: by 2002:a17:906:5c0a:: with SMTP id e10mr32082837ejq.285.1571828306367; Wed, 23 Oct 2019 03:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571828306; cv=none; d=google.com; s=arc-20160816; b=TWLqDuBHb3rD9aSeT0CklRUP4Xv1T5Gfz6vrf3bPK/ehOuR+AaCyKSewN+sjVelBFi iMvFuYkoYf/iITKvfeNwmhKehrgW3P3BlSD1ymV7ROM7Ss2OfQ/PrMkC5FzXn4bYPU/6 l2YVVU39MZSaUbFNTwr+74im35hnKhDGGp2AsMT33zpTaHX+S83oMbXw1XyPE9Frtn8Z atNDJa4e06o3X3rm7/HFJNUJbTtsoORlxmpmhEu7M7X/VhiMGCgBMBdtEjj/shbsPQ8L 2YPMjrBFQpkHuvXv5Ed8EXsJ5EQCvRcbmMgC6oNP0Sl8YrpImgWQCx6iQJMJpL7RKkf/ 4Pow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AVFd6LJ96F4qd/EigznQJuvz3SMKebF4Tl0OCKWEbU4=; b=FGnaUxpkmXTiQqJXCynxjKcyX+sdmD3Zqegte5r1J3ZzYMz1gHZ+ovZFfOpIGaoWy1 78UhMbQmldEJfLPrzZLuC5w2Zz08N5IV14HoSRdjayuJNKZ1ed4Aqf531rAtE9kEhwAJ Iw8XZxDqRVqfd9ah/oQIa2098Rw+QKpEOK/WimTKX8pX/+0qwAYJhasO/V+s1/qGgpd8 Hj9Q1Z0ZIje1JcUEMSERGSFAyb/ELZjcM2B+VWV8EgwyKRcFy6OAWGoOY5Qy2PFkJQXc Pe/htSp9itef/w4oEJQOb+J2YdS9yq6amgcIlTuALES5wFMeDYzxg0+RLSz/2gUTS4II /7jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h22si3304185edb.346.2019.10.23.03.58.02; Wed, 23 Oct 2019 03:58:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391107AbfJWK5X (ORCPT + 99 others); Wed, 23 Oct 2019 06:57:23 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:43921 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390540AbfJWK5W (ORCPT ); Wed, 23 Oct 2019 06:57:22 -0400 Received: by mail-ed1-f68.google.com with SMTP id q24so9419919edr.10; Wed, 23 Oct 2019 03:57:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AVFd6LJ96F4qd/EigznQJuvz3SMKebF4Tl0OCKWEbU4=; b=QzWyaQ7NqoDAwu3CVR9ad0gwsDFCbX0bqO8rrs6wPJchDSXiyHyIDgpHz5oDIRW1kN jxOIRVSrZK/8e4qwWvE4BFo06pJId/91uJIlPt7HCmR6SNWky5BmJB4Kz4DEB6vKvCaw rCEFWsiPeHEyd+IIeity+8p1Exxo4WPSIZP3l/sZRtSKClLBc1fqIJ4Ll8IGdwzp/ngS oo2PQco+ck9k3ujfjKxF9sRwyNlgvtZNjvVRBzF8gQue0dG4qt2CcYT5aGb0qInL1DBM 6nF/PC+rjf0haW7Yb5jCWXcr7dk2YT4z/SC1xIU1nOsSOjrzojDI7wdUM+pf00CbbVQT ItQA== X-Gm-Message-State: APjAAAX5VPED3PoKSSZeNKt83ug2mwXN9JLQlVVnEN4ZzbNCBgNT44dR lAQ8193bos/6iMLliVK5ZuhJAEGR X-Received: by 2002:a17:906:585a:: with SMTP id h26mr20637220ejs.329.1571828239818; Wed, 23 Oct 2019 03:57:19 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id m5sm143443ejc.70.2019.10.23.03.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 03:57:19 -0700 (PDT) Date: Wed, 23 Oct 2019 12:57:17 +0200 From: Krzysztof Kozlowski To: Arnd Bergmann Cc: Kukjin Kim , Ulf Hansson , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org, Olof Johansson , Sascha Hauer , Bartlomiej Zolnierkiewicz , "Enrico Weigelt, metux IT consult" , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 08/36] ARM: exynos: stop selecting PLAT_SAMSUNG Message-ID: <20191023105717.GF10630@pi3> References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> <20191010203043.1241612-8-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191010203043.1241612-8-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 10:29:52PM +0200, Arnd Bergmann wrote: > Now that no code in arch/arm is shared between mach-exynos and the > others, make the split formal. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/Kconfig.debug | 8 ++++---- > arch/arm/Makefile | 1 - > arch/arm/mach-exynos/Makefile | 4 ---- > arch/arm/plat-samsung/Kconfig | 4 ++-- > drivers/mmc/host/Kconfig | 2 +- > 5 files changed, 7 insertions(+), 12 deletions(-) > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index d05b836dfeb2..9c4f2d6deb06 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -998,7 +998,7 @@ choice > via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0). > > config DEBUG_S3C_UART0 > - depends on PLAT_SAMSUNG > + depends on PLAT_SAMSUNG || ARCH_EXYNOS > select DEBUG_EXYNOS_UART if ARCH_EXYNOS > select DEBUG_S3C24XX_UART if ARCH_S3C24XX > select DEBUG_S3C64XX_UART if ARCH_S3C64XX > @@ -1010,7 +1010,7 @@ choice > by the boot-loader before use. > > config DEBUG_S3C_UART1 > - depends on PLAT_SAMSUNG > + depends on PLAT_SAMSUNG || ARCH_EXYNOS > select DEBUG_EXYNOS_UART if ARCH_EXYNOS > select DEBUG_S3C24XX_UART if ARCH_S3C24XX > select DEBUG_S3C64XX_UART if ARCH_S3C64XX > @@ -1022,7 +1022,7 @@ choice > by the boot-loader before use. > > config DEBUG_S3C_UART2 > - depends on PLAT_SAMSUNG > + depends on PLAT_SAMSUNG || ARCH_EXYNOS > select DEBUG_EXYNOS_UART if ARCH_EXYNOS > select DEBUG_S3C24XX_UART if ARCH_S3C24XX > select DEBUG_S3C64XX_UART if ARCH_S3C64XX > @@ -1034,7 +1034,7 @@ choice > by the boot-loader before use. > > config DEBUG_S3C_UART3 > - depends on PLAT_SAMSUNG && (ARCH_EXYNOS || ARCH_S5PV210) > + depends on ARCH_EXYNOS || ARCH_S5PV210 You need to keep PLAT_SAMSUNG because of additional architectures, so follow pattern from DEBUG_S3C_UART2. Best regards, Krzysztof > select DEBUG_EXYNOS_UART if ARCH_EXYNOS > select DEBUG_S3C64XX_UART if ARCH_S3C64XX > select DEBUG_S5PV210_UART if ARCH_S5PV210 > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index db857d07114f..f492d7c338fe 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -233,7 +233,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear > > # Platform directory name. This list is sorted alphanumerically > # by CONFIG_* macro name. > -plat-$(CONFIG_ARCH_EXYNOS) += samsung > plat-$(CONFIG_ARCH_OMAP) += omap > plat-$(CONFIG_ARCH_S3C64XX) += samsung > plat-$(CONFIG_ARCH_S5PV210) += samsung > diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile > index 0fd3fcf8bfb0..53fa363c8e44 100644 > --- a/arch/arm/mach-exynos/Makefile > +++ b/arch/arm/mach-exynos/Makefile > @@ -3,10 +3,6 @@ > # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. > # http://www.samsung.com/ > > -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include > - > -# Core > - > obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o > > obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o > diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig > index 832ab0e6cd72..e31a156a27df 100644 > --- a/arch/arm/plat-samsung/Kconfig > +++ b/arch/arm/plat-samsung/Kconfig > @@ -4,7 +4,7 @@ > > config PLAT_SAMSUNG > bool > - depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_EXYNOS || ARCH_S5PV210 > + depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 > default y > select GENERIC_IRQ_CHIP > select NO_IOPORT_MAP > @@ -240,7 +240,7 @@ config SAMSUNG_PM_DEBUG > bool "Samsung PM Suspend debug" > depends on PM && DEBUG_KERNEL > depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 > - depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART > + depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART > help > Say Y here if you want verbose debugging from the PM Suspend and > Resume code. See > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig > index 49ea02c467bf..400a581c918c 100644 > --- a/drivers/mmc/host/Kconfig > +++ b/drivers/mmc/host/Kconfig > @@ -275,7 +275,7 @@ config MMC_SDHCI_TEGRA > > config MMC_SDHCI_S3C > tristate "SDHCI support on Samsung S3C SoC" > - depends on MMC_SDHCI && PLAT_SAMSUNG > + depends on MMC_SDHCI && (PLAT_SAMSUNG || ARCH_EXYNOS) > help > This selects the Secure Digital Host Controller Interface (SDHCI) > often referrered to as the HSMMC block in some of the Samsung S3C > -- > 2.20.0 >