Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5934426ybp; Tue, 15 Oct 2019 07:14:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqW+rwKZ+OXHzKCROYbAKHBoTVtjfyo3yx6gTaPT09Q4pvqj0ODS2jCEFevihXFFEdDKpt X-Received: by 2002:a50:b966:: with SMTP id m93mr33614903ede.228.1571148849647; Tue, 15 Oct 2019 07:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571148849; cv=none; d=google.com; s=arc-20160816; b=rusx25/pXqZLscZVEM0wedMtXc6Hsm6XTqgtzOvpHGRXMvkd1W/fDuOIE1JK1CCkx/ JuyM6/Dy8KkmVa3JGfglJV/zXsgVlxL49f4rTcAznWwmv0TqZ0jGMI1L1uPxuWmd/zxE l56JGeCZftzOPCJI8ZufyWQeEfV2JkxHQLqvzClezRy2ruOI5gi4lVQp81wCz6dIzK5o 8q/4WYCf4tPRA2LQ5Y9Wu5FgOlGrf0AA4S5uPPhUHjnOFv/GZ3hYlq3law4cEumD6yqI dENGBPhxLeG0PeER2xDOU/E1Q1d3/VoKWnL4hI9/31mvV90Wkm8sMsmqb/sZAEZDa41g um1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YhnnS+fONegzJKouW6TGJYBzAX4jJpOzISUMhIfFdCE=; b=gkVrKpLifPgzDs0mhXDTh5ST93RscxegOpQ8MDEt/MsHI9YyUdPrnJAUEfbLVBX8F2 3+2WbSJs185UnejxThthyt9fM66KIGeZepGPnOIkmcZ05YYZ8bXDGtPcomSEJZsuC2uA mUho2BGau7Y6HtI1lTqG/CY6mApZNb0PxTNFcnaUvO6DrI3XD1fB2C0DlLKDwrnSE3U0 J1h1hltC4B1rCeNcydVs2+P5G+2Yhw56egJNlJRw1SSdRLVwYuXlgXYZ0jE8ASyemqMV Y0GqxnGQREgtGyw/cEW/TL+1l/cY5boBzDz7t2lDea3Z139cOwVOFzF9qSiwZBYnTm1a 6aMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="haOGaYC/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si13371604ejr.383.2019.10.15.07.13.45; Tue, 15 Oct 2019 07:14:09 -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; dkim=pass header.i=@linaro.org header.s=google header.b="haOGaYC/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732470AbfJOONd (ORCPT + 99 others); Tue, 15 Oct 2019 10:13:33 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:35395 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731977AbfJOONd (ORCPT ); Tue, 15 Oct 2019 10:13:33 -0400 Received: by mail-vs1-f65.google.com with SMTP id s7so13263507vsl.2 for ; Tue, 15 Oct 2019 07:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YhnnS+fONegzJKouW6TGJYBzAX4jJpOzISUMhIfFdCE=; b=haOGaYC/1KpBT/vZYB+zjBwPW0pfiZ9pk+jzE6qpTtML9GwFS2Ys1CErgD5FIvPiB+ X0ToEA3MXJvRPHR9pr3mqn44Qeg1eiBHtuWFLadTcT838sJ27Bdf2bXC4JFczewUcDwk /Dc/CxazPnZRkv8scafnNFeJ6raAwhqzfwh40y+ueE186kUodVfkPFgQ8vQ5+KYF2z/+ J5zhBocRy6yw1MxIaA4QWZDuIdwQ+ySN//DZYJewJpFVJO7Iak1lO3oRZq2PikbPV/07 TFqzaYgK9VHbCEHSto/sb5hkTXvjqWzsds595DHF0kyv2w3YPBVzQrUCaGfOLUvmYlcQ Qq2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YhnnS+fONegzJKouW6TGJYBzAX4jJpOzISUMhIfFdCE=; b=Lv7lr/N5Bl6Zt1zaHdbcmA5MtcpWIODOjsDoS20NQPmwQu3f/qbOz8uVIrgGBbfHZa 2cZ4jh5IAck1uhDqUXp5VPU+99ijjWbeflpkCTSwJ46svGMHKVP+qofAcu5hobb/UqyL Xf4DBIB7yvwGMwYzjJCRIa/C5cXqwU5NDXcZxsyh2TrigqZ4QjsfLtu1tin6I3Cuuglg p58AR/UXbpeM1amsvRSQEoRsdOENNM4xkrbIaMlwQJDC77panhOq2QGzvd1WcCRn7evU oFe0jvnR18ncDCYGLvSPvnGqhPnTH7fz2IflQXMlHp8LIeJCOTZ6f8Zl83xsseUlwreC 8FJQ== X-Gm-Message-State: APjAAAXikDCXOls70mGB0+yZOpyvLR9Zb39o+z6RPk2WjqtYvYOV1kUw SsY2FiDUHAlb/M4Elq4KIgpPem9nbKkCsJdbgfuvbg== X-Received: by 2002:a67:ef89:: with SMTP id r9mr20863437vsp.200.1571148811398; Tue, 15 Oct 2019 07:13:31 -0700 (PDT) MIME-Version: 1.0 References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> <20191010203043.1241612-8-arnd@arndb.de> In-Reply-To: <20191010203043.1241612-8-arnd@arndb.de> From: Ulf Hansson Date: Tue, 15 Oct 2019 16:12:55 +0200 Message-ID: Subject: Re: [PATCH 08/36] ARM: exynos: stop selecting PLAT_SAMSUNG To: Arnd Bergmann Cc: Kukjin Kim , Krzysztof Kozlowski , linux-samsung-soc , Linux ARM , Linus Walleij , Olof Johansson , Sascha Hauer , Bartlomiej Zolnierkiewicz , "Enrico Weigelt, metux IT consult" , Linux Kernel Mailing List , "linux-mmc@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2019 at 22:34, 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 +- For the mmc part: Acked-by: Ulf Hansson Kind regards Uffe > 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 > 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 >