Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7353039ybl; Wed, 15 Jan 2020 21:13:23 -0800 (PST) X-Google-Smtp-Source: APXvYqwqRddVoYVIeeis8h0iCNek0n6Y2fyGuO/0aCBiroc8K9mkn7n1tVprrGfgicJfpiyd9NEi X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr667691otp.108.1579151602896; Wed, 15 Jan 2020 21:13:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579151602; cv=pass; d=google.com; s=arc-20160816; b=KLE9CAAMZAazs1zKCCuL4craWJfU1iewwqAOKQ16jGziZv/Uvu9eTycesSxZAmfXEB jf7QEGj6jh97Ypg4JzjbyyWOVPAxX/Ccfim/FoAmpR2+Tt5t3JK+4lxn0n3D1Mutd3c3 spNHKyXTbNg7ZpPTo5YoYfCMlc4yfILhk7nE3gimgPN1RitvqmAB9QFbIAF05aVY+hwo PHHSQweXUZ6lScPSpajafHsBohwyV/wj7JmOzmczsVOE7i8K6nrZ08doSfmWvHbax/sc BaOO7DPwhe9/zBnBGhcLl4jlmyTVnkr+jwy+w5rT19B+6KQjz/RLhnmUfdhjcduVVlq2 NdVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=HWdrEgsGxBUhEeIl1TveLZnox0xgq3TjOubjUxjvwTM=; b=IhPV6Dtyc9m7QXIlPrWMhiwDZOttpLteKz+4Ttt8+hoetgtwAhky5AkLGAxsiIY7t7 EBuPAU1ull+PJ4m5kNVSWso8mYx+O81smvy4B1AZ2DnWvyW0ug30BI/wp4zCClSq3A6N c/OMpEK+oRqkW7RswUNkrmB/fhvcnYctIbVDslWTBcANVVffomp33cOVq1cqIFCbI4xT 97QFhNccFrgbiVigok8dSxlLZVOdo6cSrvz9IxWha7ELr2MZ0PHRjJLxtMtM+4GzKMvV nemKpi2VC9Cax8lfrumzK9MixwrgAgUDnxLjK2rmv/o4hgtf/0f9Cx7Pje4U4anmOYbd /GpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ChLLMiBU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t74si10519829oih.155.2020.01.15.21.13.11; Wed, 15 Jan 2020 21:13:22 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=ChLLMiBU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730705AbgAPDtU (ORCPT + 99 others); Wed, 15 Jan 2020 22:49:20 -0500 Received: from mail-eopbgr70082.outbound.protection.outlook.com ([40.107.7.82]:25097 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730397AbgAPDtU (ORCPT ); Wed, 15 Jan 2020 22:49:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cs4XFACGmuac/8HTHFXhHrgUyw8pEofxhmN77ihjhKESpZ4iz32srDKADGcxlkUYGAYhplccj1fm3J8olHrpHssB6gj5cVS9genzVwhk9kgwDLphyR0MOb26dAOiT0Iva/l84EwmYE/qpvp9jKPqhhg73yhoVnB++oggE9DlwVyXInjUAVy5uUAbwvLfO70nuFe82BaxjGx8rXxBzIs4j/iUMke2UW/bAKX2yaXzI3m37UmzjVK+OAEndQpkcVkAR7s5amH5Z3ynV27JOxbsMDhonseL9sKA+3Gd6wk5fQOVOasmG9d5pAHhZan5Zx6WUEANk7CoR2PkChwW0ftg5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWdrEgsGxBUhEeIl1TveLZnox0xgq3TjOubjUxjvwTM=; b=C4wcsnq3fA4MQcD+1T2oo4e9snkeDjNTz8Ff0ispemMJIck3KZWS4Sf8Gb/s1H2U1i476nE9j80lKzcXUdsb8qd56aDqvenbw1J0y+bZSu/XJqw96bcTdvTGfFaydHHJMDhfhkoRmj7EU87yw02R6ZyPOjJlKxsetzxXgLU2o99XybOONO+ZYTc0RAbm7m+80UEIjBOdqbEjmHKtfImBwyoUyNyiRRZj1B7vqPIQpnmJKLZUHpA302lKOriTw2TCpAlM9HBpezCkZhZ+RyuTM0Qkx44nfT4qBGezR1XYrzRx08GGdfKovHPDnmIDYqYby9zos1/+Re1V3lrLRJbfIQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWdrEgsGxBUhEeIl1TveLZnox0xgq3TjOubjUxjvwTM=; b=ChLLMiBUjM88eN5J/vnxOOaeUcip4jVn+m1QGu37cXOOJcy3wSDD79ESHDebLXcMMa2isnHPzYKfdYAiBy52ymc8ypiV5Wbz0qHECdDJv37tJFHoETJr87eYHI1uHuepTNF1lBVkz1zU8uQ+SSVg5FWr61UGjaL9fEqMrhLeLtY= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB4612.eurprd04.prod.outlook.com (52.135.146.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.10; Thu, 16 Jan 2020 03:49:17 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::91e2:17:b3f4:d422%3]) with mapi id 15.20.2623.018; Thu, 16 Jan 2020 03:49:16 +0000 Received: from localhost.localdomain (119.31.174.66) by HK2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:202:2e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2644.20 via Frontend Transport; Thu, 16 Jan 2020 03:49:12 +0000 From: Peng Fan To: "catalin.marinas@arm.com" , "will@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "arnd@arndb.de" CC: "festevam@gmail.com" , "kernel@pengutronix.de" , dl-linux-imx , "olof@lixom.net" , Aisheng Dong , Leonard Crestez , Abel Vesa , "krzk@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Peng Fan Subject: [PATCH 4/4] soc: imx: Use CONFIG_SOC_IMX8M as build gate Thread-Topic: [PATCH 4/4] soc: imx: Use CONFIG_SOC_IMX8M as build gate Thread-Index: AQHVzB/s+hHkepQnjku3J7ycSA+g0w== Date: Thu, 16 Jan 2020 03:49:16 +0000 Message-ID: <1579146280-1750-5-git-send-email-peng.fan@nxp.com> References: <1579146280-1750-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1579146280-1750-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:202:2e::14) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: dd1e982c-b780-4275-cc83-08d79a370f0f x-ms-traffictypediagnostic: AM0PR04MB4612:|AM0PR04MB4612: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 02843AA9E0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(189003)(199004)(478600001)(2616005)(66946007)(2906002)(956004)(110136005)(8676002)(81156014)(81166006)(8936002)(44832011)(4326008)(66556008)(7416002)(66446008)(64756008)(66476007)(54906003)(5660300002)(86362001)(71200400001)(69590400006)(6506007)(316002)(36756003)(26005)(186003)(16526019)(52116002)(6486002)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4612;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yrbWfduEyrEW+5JTTzP172ID6kip/4qYyGkc+IienQWRrwYLqWIL7oHLu7vkF58/r6uB/tkkWra7uNj/cBCA/D2BWGIuMxN8c+y12ELrSas0+DiIKrN3zmZPfVR09dGiuXpHyceST/HBkZxxUhCla22i+KQmFycNmtWhHsma2zoHmp3RAvart6+LL05tE7+JtMDmzjWLgM0QkU8wqIm4JFr2qNYAQO7Czio2eaRVVF5eYZ5PfG0HgHiRjwhaYAYPlAyrV79KFgr+I87JW1cWg2eE2vKVEfk9/c2thvk7d31cZZh8W7VEEuC+jYu8VEjBWo432ksv2873/oiFg48g8jK0lS2KhlGTnxLYG+o/bbQiihPLTD3DZvwpwyx+MlM0UAkeb0ZJFHcRlzXwS4p31KoqpkOs1GntGut2cIEIQi9zE28KLxnKgzzSHDadREYC7VK+a6quBFNJlyJ/G4KdDbNLkacPzEROeUVnCTwFk7Pp5j6niumAHcmLTqJbyHpP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd1e982c-b780-4275-cc83-08d79a370f0f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 03:49:16.6684 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: chO3To2d3Puh+dwEr+gdg6qnt1Wj8KHLXLldamd5k7Izn29eCMYwp5rW7nhftl9Wy/nvIacTYueUSedG9sl17g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4612 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan The soc-imx8.c driver is actually for i.MX8M family, so rename it to soc-imx8m.c. Use CONFIG_SOC_IMX8M as build gate, not CONFIG_ARCH_MXC, to control whether build this driver, also make it possible for compile test. Signed-off-by: Peng Fan --- drivers/soc/imx/Makefile | 2 +- drivers/soc/imx/{soc-imx8.c =3D> soc-imx8m.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/soc/imx/{soc-imx8.c =3D> soc-imx8m.c} (100%) diff --git a/drivers/soc/imx/Makefile b/drivers/soc/imx/Makefile index cf9ca42ff739..103e2c93c342 100644 --- a/drivers/soc/imx/Makefile +++ b/drivers/soc/imx/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_HAVE_IMX_GPC) +=3D gpc.o obj-$(CONFIG_IMX_GPCV2_PM_DOMAINS) +=3D gpcv2.o -obj-$(CONFIG_ARCH_MXC) +=3D soc-imx8.o +obj-$(CONFIG_SOC_IMX8M) +=3D soc-imx8m.o obj-$(CONFIG_IMX_SCU_SOC) +=3D soc-imx-scu.o diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8m.c similarity index 100% rename from drivers/soc/imx/soc-imx8.c rename to drivers/soc/imx/soc-imx8m.c --=20 2.16.4