From patchwork Mon Jan 7 19:31:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10751149 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 744E691E for ; Mon, 7 Jan 2019 19:31:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64687286A9 for ; Mon, 7 Jan 2019 19:31:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5750E289E2; Mon, 7 Jan 2019 19:31:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E2A5D289E9 for ; Mon, 7 Jan 2019 19:31:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5OEtoyMBcHZLlQ1CGjBQr/NU1MpZZ+rQDaMk5TVUrmM=; b=NXNoyrvtnN6Mci Yz7u/uNPrHYl1ccfY5ag815D50ciXDpXw80IkW3Aebv1UYC2187v2jNWdblhXYsLk46aT2mBgRURe BE+TX9GsKGUTv8LNIh8noitzO2dY3eGAKK083jJYZCBRu6Mb4JIPifNwuy0NmRj+ttvHK4n/SFmK2 geKO8xdhwYwoRoPl4z6x3FJss36Hv4vyozLNpnl784kKz2CNilmcDSS3xbRTgGqrRnF4RplNqSh9j hp+2EbyQPt0dkho7Jy80mElDitE1L9j4fJEsGfZQwYLfYnsvbyPhSZrKmq3yhRed3wSQ3JTDygXcT EWngN2zUSG28dsWY6AoA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggacj-0000cE-VT; Mon, 07 Jan 2019 19:31:45 +0000 Received: from mail-eopbgr10076.outbound.protection.outlook.com ([40.107.1.76] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggacX-0000QA-VZ for linux-arm-kernel@lists.infradead.org; Mon, 07 Jan 2019 19:31:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/gR70ss4UCrz5jHnN+kp/qLUBnogGnoD3wRlkcDAI+c=; b=SOz1HgfRYrqchpfgDYMsh+ObgGfmI96R2Qze3h0zi9kl2aYXFeWetCPTxWvTOTd0WvnobV4FcUkWNXsRwI+oL3ZhEPYxqJxCh6F5rQkis08U5K+VITnlPEU0dwz247ecezAULIbtWmyNMmJicRgucOdVF9I3swXW95wTgYYm6Ss= Received: from VI1PR04MB5533.eurprd04.prod.outlook.com (20.178.122.159) by VI1PR04MB5311.eurprd04.prod.outlook.com (20.177.52.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Mon, 7 Jan 2019 19:31:27 +0000 Received: from VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184]) by VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184%5]) with mapi id 15.20.1495.011; Mon, 7 Jan 2019 19:31:27 +0000 From: Leonard Crestez To: Masahiro Yamada , Rob Herring , Olof Johansson , Shawn Guo Subject: [PATCH 1/3] kbuild: Add wilddt function Thread-Topic: [PATCH 1/3] kbuild: Add wilddt function Thread-Index: AQHUpr+US0fxTx6gT0CcdEs9j++Ijg== Date: Mon, 7 Jan 2019 19:31:26 +0000 Message-ID: <7fe1bbe77ddec38678a60e75512dabdd7e97ab1c.1546888138.git.leonard.crestez@nxp.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [95.76.156.53] x-mailer: git-send-email 2.17.1 x-clientproxiedby: AM6PR0502CA0030.eurprd05.prod.outlook.com (2603:10a6:209:1::43) To VI1PR04MB5533.eurprd04.prod.outlook.com (2603:10a6:803:d2::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5311; 6:SZs3S2a0pXSNwjdmTAjpumnI/IMIltL8Zsg/pviayA8M7u1O8VETnJueIWE808iuCLX8BrHZrFKb/v029b4cxaX6HFtEBRwPDntsV854boXPBBN9nvGzrUl6LP8fJTfJn4Hm7MsR0Y4MwvXTCCgAg0EExFN9ybqEhE9LPy53K4NoryRVmwqz9gMq1otTu8IuXtufl2f+0fyfJUTKZEjj+JE6yGqK5pY3zCzxVCHEM2P5/fJLTeIeqpTd/9MtADRKiHcHJAHBMYYCJsIgoT1Q+hAKkrW0lmI1dmJhvcKzQTrvJAAYJZxaEJWXmO+ybb2+pqdFkthb6JU/oMx/93RRgCPh74RQXrLRlJHkS21HJDQQEzjD8+Sy7TATgEW8H8OBrDZRKmYb0Kpont8voRe3JslH1XLhMNEXqbFvgg8zhinVnYpthRympg02b8noIGK+IO+/8/P5vEpYOAjPFlzT1A==; 5:70vnNeLsQ6ybTZyaUk+tWXrO/NUPY0I3P7SgAg0erB+50lyfikmgYCle83xSzgZRINeQ9nEpjkj5FtgGIvM25R0KFNvY7+5jGp0x9bk/fGtuTMN7XveVwc3eT2dWDD2HbBayEw1powX4P9tmxhHMSXYQDz8v8J3n9Bg7u+tenfoJkL0Oj6Qiq3Vr6YKi69gRk6wQY1X0OQFcXpDwiPQpnA==; 7:07iq9/UUX+32sy0B4FdncvF9qWs2Xcc+WVtFVpES8YD9EZMwZE87j6KPxwDNuhvH7nroVNqKZJJxS0eCduaXf+F7DQlrkNM/r4dAHS07COIL5pSNzHFj+OPM5KlEwtYyWfPBjRE6PpbkTV27JVVTJw== x-ms-office365-filtering-correlation-id: 196e436c-17ce-4421-cef0-08d674d6b744 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5311; x-ms-traffictypediagnostic: VI1PR04MB5311: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(3231475)(944501520)(52105112)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5311; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5311; x-forefront-prvs: 0910AAF391 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(376002)(366004)(346002)(199004)(189003)(11346002)(5660300001)(102836004)(256004)(7416002)(6436002)(97736004)(478600001)(446003)(25786009)(476003)(2616005)(14454004)(6116002)(3846002)(8936002)(486006)(66066001)(4326008)(44832011)(305945005)(6486002)(2906002)(7736002)(81166006)(81156014)(99286004)(106356001)(50226002)(186003)(53936002)(110136005)(316002)(54906003)(8676002)(105586002)(6506007)(386003)(86362001)(575784001)(52116002)(76176011)(118296001)(71200400001)(71190400001)(6512007)(68736007)(26005)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5311; H:VI1PR04MB5533.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: nIlGkW1EHEeB9gX0GpPOa+6LffakAmfSXkiHqbUMIknF70RIAPiSLEfWy4X2qdclZH7B2jE/gFqV9Ybu9Q16ZALqK2A2V2pAiKMCgulPrmKMqTbA/6jx9Ygp0qSrbF4/03VN0doQkiyg0Qt4HjVFcvvOTDefPnOqplCrhlSTRUkpBNlQMonF1TbK/Jgddi3sQNDcMvoFDS1nwATt99/dfIQRIXTxKtdAywNofKj/kh6hOEOxHK+6yx5hRjXSl3QKXgrxLjQEyQzrP6BKd49rBATsEZQoPtSaVHCz5VuFzbjZ81u8l/AwyPDrNOLe+62e spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 196e436c-17ce-4421-cef0-08d674d6b744 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2019 19:31:25.5949 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5311 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190107_113134_014218_37313D66 X-CRM114-Status: GOOD ( 11.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Aisheng Dong , Michal Marek , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leo Li , "devicetree@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Many SOCs have very simple naming conventions for all boards using a certain chip and long dtb lists can be collapsed using wildcards. Since this applied to many architectures add a wilddt function to Kbuild.include. Example usage: dtb-$CONFIG_SOC_ABC123 += $(call wilddt,abc123-*) Signed-off-by: Leonard Crestez --- scripts/Kbuild.include | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 46bf1a073f5d..6b8c0cca07c1 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -197,10 +197,16 @@ clean := -f $(srctree)/scripts/Makefile.clean obj # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.headersinst obj= # Usage: # $(Q)$(MAKE) $(hdr-inst)=dir hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj +### +# Return list of .dtb for all .dts matching $1 in current directory +# +# Example usage: dtb-$CONFIG_SOC_ABC123 += $(call wilddt,abc123-*) +wilddt = $(patsubst $(srctree)/$(src)/%.dts,%.dtb, $(wildcard $(srctree)/$(src)/$(1).dts)) + # Prefix -I with $(srctree) if it is not an absolute path. # skip if -I has no parameter addtree = $(if $(patsubst -I%,%,$(1)), \ $(if $(filter-out -I/% -I./% -I../%,$(1)),$(patsubst -I%,-I$(srctree)/%,$(1)),$(1)),$(1)) From patchwork Mon Jan 7 19:31:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10751161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 907FD91E for ; Mon, 7 Jan 2019 19:32:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DAB4289DC for ; Mon, 7 Jan 2019 19:32:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71CDB28958; Mon, 7 Jan 2019 19:32:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C7F10289E8 for ; Mon, 7 Jan 2019 19:32:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vvbmCfWdLMQ7cHnnhxIjZtqnxPdKDmLkecyD5eg8hvg=; b=u/t3wEXFvd33sx dkSaPDdP55jCQDrNl3D8IFYOUGHatHK42Xf9fJZwUwTnCHpcGRakY4IT6xu6raZu6eXIVTdpnXsSc qXHZaNG5ePvSwFd2mPf174BHDeKWsU2E0QFNFb1fhdOPelXMNX/owZF5JMIQa6fk3uOG2PWGYmIst JgfU0eDLfB+nwic+HOwoixmZdtVMZph/lsgtIt+kD0gRlXC8P+mQtEXH0SBTKOu7Ud9qJEnCbkWJq Z7FIfJg9GPlEbfvXoSsU67Hmx1xFYxyePEC8Bhw//ZL+/vG4xtVTFo6uW3+5/0y5Hmnzt++sXSDwx pNnymY05BeRQbcWeLhzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggad0-0000ur-Am; Mon, 07 Jan 2019 19:32:02 +0000 Received: from mail-eopbgr10076.outbound.protection.outlook.com ([40.107.1.76] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggacZ-0000QA-OB for linux-arm-kernel@lists.infradead.org; Mon, 07 Jan 2019 19:31:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i1fMnhOm+Y9U1AisH04cMbVFvziya26w9mslcL6hxfM=; b=jMHTpl/nb7TcA6G+k883j1b9ULO0iEfy9tckcjAPcMc18ZCQEO9A4qy3HNMiHYv9T+RTNk/7zzwcoS5sk1BuyFx3Qz5LOlSTCgLUPiuPV3JRGP1LJFHGZep+VVZ+Kj7LUk2RhBg8XSItMCE/NWjJwbc7Smkob88XcnfrB+DX9KA= Received: from VI1PR04MB5533.eurprd04.prod.outlook.com (20.178.122.159) by VI1PR04MB5311.eurprd04.prod.outlook.com (20.177.52.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Mon, 7 Jan 2019 19:31:28 +0000 Received: from VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184]) by VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184%5]) with mapi id 15.20.1495.011; Mon, 7 Jan 2019 19:31:28 +0000 From: Leonard Crestez To: Masahiro Yamada , Rob Herring , Olof Johansson , Shawn Guo Subject: [PATCH 2/3] ARM: dts: imx: Use wilddt function Thread-Topic: [PATCH 2/3] ARM: dts: imx: Use wilddt function Thread-Index: AQHUpr+VLvSIVO/yykWz5BYmnc94SA== Date: Mon, 7 Jan 2019 19:31:28 +0000 Message-ID: <1b21795fa78829dd8aee3e9e257ff91d91a76d93.1546888138.git.leonard.crestez@nxp.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [95.76.156.53] x-mailer: git-send-email 2.17.1 x-clientproxiedby: AM6PR0502CA0030.eurprd05.prod.outlook.com (2603:10a6:209:1::43) To VI1PR04MB5533.eurprd04.prod.outlook.com (2603:10a6:803:d2::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5311; 6:ruSw+twoXEO2YaBz6OrVSjnqKCYrJVc8YFgx0Jr2k2cAr4RljJC4hBE+l9xIYOX3Eyh8N4eMCvO4ubkDZ9FJbs3TJA9jLMsxYEfv4OoSG7ZRxyVlKJK6x+DhZu1BaPRPDHpvwAezOJrkaHSPgAZG+uRhmKr70AB+E68P7ocdlioSv+2f2BfuE2zG5fmPyjynjk993G3xE1esvucqqPjhnn1/z45wdSpIVhaazwNC4YOHsY9GtjIUMPgBlUxFI9MQT8OHrtbxhKwQJQOFU1iXPq4BqgRTIKBss/glcEXea8MZZxZghOp0HigB35lxtt2AfBYGf+EUD27bBLMqJkVjfFfAnIU1XgWiBt6e6o5orG1msjeZO+I7IdCifx5WuiJT7orZY9alB0iearODqgnjhL9kL9hDUajzsQnghIqaqC+i58sPWm2INYXss5T0BXP2i7Z1182MYfpkTVsKEu8TJg==; 5:6lFOudcgL0bo9/pGIwSU/rS/h51uE9HePon71jXhT6Pc551tFJhbAcQPtwE3Zx5PFLLerzSbi6hkcrmoYlzstAIKVTa57G442iSREeojIWGhshXASw7GZmtR8yV+5laecwmTy9SQ9bnIs3+lg7hl9EnAHa41+FcN/54elaNjDSuiYFpUp1ucZDE+3AIiD3QcP7x4gWmfIdhd7P00jbn6gw==; 7:b/lLcoEpDOyFmypkoKOY9xlvGsDsUuAYM6V+Om0DUusrut4x6Dpf+a0pUQ/lZpn7anEFRZWQlGjgRnIuMr3PNrNlhlSUbcOunR7WFf1csInccSO3HfnIDfGehTRj0oLUDRFn0swPRu88ztVA6o6I+Q== x-ms-office365-filtering-correlation-id: d27c1c41-95b0-428f-04b4-08d674d6b814 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5311; x-ms-traffictypediagnostic: VI1PR04MB5311: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(3231475)(944501520)(52105112)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5311; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5311; x-forefront-prvs: 0910AAF391 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(376002)(366004)(346002)(199004)(189003)(11346002)(5660300001)(102836004)(256004)(7416002)(6436002)(97736004)(478600001)(446003)(25786009)(476003)(2616005)(14454004)(6116002)(3846002)(8936002)(486006)(66066001)(4326008)(44832011)(305945005)(6486002)(2906002)(7736002)(81166006)(81156014)(99286004)(106356001)(50226002)(186003)(53936002)(110136005)(316002)(54906003)(8676002)(105586002)(6506007)(386003)(86362001)(52116002)(76176011)(118296001)(71200400001)(71190400001)(6512007)(68736007)(26005)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5311; H:VI1PR04MB5533.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: rVYuCqcF7XK06dTD19szq24Eo6IDSPUlLw7jEimZp4xlqmKAiRCxuw3flyH+U/h5OCNb/1qtCU/zFPIaUBZQiwFt8ysSg0RZgD0MULj6kdLL61M2p8OoRIH5jlf3vcxKVV2UCCrutzelKoa1H9aOs0GPaLDrVIsg8TxGsYyqmonP2N8lUNlfdAEosy+cwnS9GoKkWHx7ziMkse9wkgxoROH0vk9vvjL56lVVw8TGGSZExGBG6TUZYWKh60ieAk1IpBvgXQvUk2sYS0WWB/6d04qslv66QKCPcHtSpUhykiuJya9KaebwFmuQPByF3NSP spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d27c1c41-95b0-428f-04b4-08d674d6b814 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2019 19:31:26.9529 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5311 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190107_113135_921130_7AFA4C20 X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Aisheng Dong , Michal Marek , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leo Li , "devicetree@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use the wilddt function instead of listing imx6/7 dts files. This shrinks the makefile and avoids needing future changes when boards are added. Signed-off-by: Leonard Crestez --- arch/arm/boot/dts/Makefile | 201 ++----------------------------------- 1 file changed, 11 insertions(+), 190 deletions(-) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index bd40148a15b2..b71c8af4cd57 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -385,206 +385,27 @@ dtb-$(CONFIG_SOC_IMX53) += \ imx53-tx53-x03x.dtb \ imx53-tx53-x13x.dtb \ imx53-usbarmory.dtb \ imx53-voipac-bsb.dtb dtb-$(CONFIG_SOC_IMX6Q) += \ - imx6dl-apf6dev.dtb \ - imx6dl-aristainetos_4.dtb \ - imx6dl-aristainetos_7.dtb \ - imx6dl-aristainetos2_4.dtb \ - imx6dl-aristainetos2_7.dtb \ - imx6dl-colibri-eval-v3.dtb \ - imx6dl-cubox-i.dtb \ - imx6dl-cubox-i-emmc-som-v15.dtb \ - imx6dl-cubox-i-som-v15.dtb \ - imx6dl-dfi-fs700-m60.dtb \ - imx6dl-emcon-avari.dtb \ - imx6dl-gw51xx.dtb \ - imx6dl-gw52xx.dtb \ - imx6dl-gw53xx.dtb \ - imx6dl-gw54xx.dtb \ - imx6dl-gw551x.dtb \ - imx6dl-gw552x.dtb \ - imx6dl-gw553x.dtb \ - imx6dl-gw560x.dtb \ - imx6dl-gw5903.dtb \ - imx6dl-gw5904.dtb \ - imx6dl-hummingboard.dtb \ - imx6dl-hummingboard-emmc-som-v15.dtb \ - imx6dl-hummingboard-som-v15.dtb \ - imx6dl-hummingboard2.dtb \ - imx6dl-hummingboard2-emmc-som-v15.dtb \ - imx6dl-hummingboard2-som-v15.dtb \ - imx6dl-icore.dtb \ - imx6dl-icore-mipi.dtb \ - imx6dl-icore-rqs.dtb \ - imx6dl-mamoj.dtb \ - imx6dl-nit6xlite.dtb \ - imx6dl-nitrogen6x.dtb \ - imx6dl-phytec-mira-rdk-nand.dtb \ - imx6dl-phytec-pbab01.dtb \ - imx6dl-rex-basic.dtb \ - imx6dl-riotboard.dtb \ - imx6dl-sabreauto.dtb \ - imx6dl-sabrelite.dtb \ - imx6dl-sabresd.dtb \ - imx6dl-savageboard.dtb \ - imx6dl-ts4900.dtb \ - imx6dl-ts7970.dtb \ - imx6dl-tx6dl-comtft.dtb \ - imx6dl-tx6s-8034.dtb \ - imx6dl-tx6s-8034-mb7.dtb \ - imx6dl-tx6s-8035.dtb \ - imx6dl-tx6s-8035-mb7.dtb \ - imx6dl-tx6u-801x.dtb \ - imx6dl-tx6u-80xx-mb7.dtb \ - imx6dl-tx6u-8033.dtb \ - imx6dl-tx6u-8033-mb7.dtb \ - imx6dl-tx6u-811x.dtb \ - imx6dl-tx6u-81xx-mb7.dtb \ - imx6dl-udoo.dtb \ - imx6dl-wandboard.dtb \ - imx6dl-wandboard-revb1.dtb \ - imx6dl-wandboard-revd1.dtb \ - imx6q-apalis-eval.dtb \ - imx6q-apalis-ixora.dtb \ - imx6q-apalis-ixora-v1.1.dtb \ - imx6q-apf6dev.dtb \ - imx6q-arm2.dtb \ - imx6q-b450v3.dtb \ - imx6q-b650v3.dtb \ - imx6q-b850v3.dtb \ - imx6q-cm-fx6.dtb \ - imx6q-cubox-i.dtb \ - imx6q-cubox-i-emmc-som-v15.dtb \ - imx6q-cubox-i-som-v15.dtb \ - imx6q-dfi-fs700-m60.dtb \ - imx6q-dhcom-pdk2.dtb \ - imx6q-display5-tianma-tm070-1280x768.dtb \ - imx6q-dmo-edmqmx6.dtb \ - imx6q-dms-ba16.dtb \ - imx6q-emcon-avari.dtb \ - imx6q-evi.dtb \ - imx6q-gk802.dtb \ - imx6q-gw51xx.dtb \ - imx6q-gw52xx.dtb \ - imx6q-gw53xx.dtb \ - imx6q-gw5400-a.dtb \ - imx6q-gw54xx.dtb \ - imx6q-gw551x.dtb \ - imx6q-gw552x.dtb \ - imx6q-gw553x.dtb \ - imx6q-gw560x.dtb \ - imx6q-gw5903.dtb \ - imx6q-gw5904.dtb \ - imx6q-h100.dtb \ - imx6q-hummingboard.dtb \ - imx6q-hummingboard-emmc-som-v15.dtb \ - imx6q-hummingboard-som-v15.dtb \ - imx6q-hummingboard2.dtb \ - imx6q-hummingboard2-emmc-som-v15.dtb \ - imx6q-hummingboard2-som-v15.dtb \ - imx6q-icore.dtb \ - imx6q-icore-mipi.dtb \ - imx6q-icore-ofcap10.dtb \ - imx6q-icore-ofcap12.dtb \ - imx6q-icore-rqs.dtb \ - imx6q-kp-tpc.dtb \ - imx6q-marsboard.dtb \ - imx6q-mccmon6.dtb \ - imx6q-nitrogen6x.dtb \ - imx6q-nitrogen6_max.dtb \ - imx6q-nitrogen6_som2.dtb \ - imx6q-novena.dtb \ - imx6q-phytec-mira-rdk-emmc.dtb \ - imx6q-phytec-mira-rdk-nand.dtb \ - imx6q-phytec-pbab01.dtb \ - imx6q-pistachio.dtb \ - imx6q-rex-pro.dtb \ - imx6q-sabreauto.dtb \ - imx6q-sabrelite.dtb \ - imx6q-sabresd.dtb \ - imx6q-savageboard.dtb \ - imx6q-sbc6x.dtb \ - imx6q-tbs2910.dtb \ - imx6q-ts4900.dtb \ - imx6q-ts7970.dtb \ - imx6q-tx6q-1010.dtb \ - imx6q-tx6q-1010-comtft.dtb \ - imx6q-tx6q-1020.dtb \ - imx6q-tx6q-1020-comtft.dtb \ - imx6q-tx6q-1036.dtb \ - imx6q-tx6q-1036-mb7.dtb \ - imx6q-tx6q-10x0-mb7.dtb \ - imx6q-tx6q-1110.dtb \ - imx6q-tx6q-11x0-mb7.dtb \ - imx6q-udoo.dtb \ - imx6q-utilite-pro.dtb \ - imx6q-var-dt6customboard.dtb \ - imx6q-wandboard.dtb \ - imx6q-wandboard-revb1.dtb \ - imx6q-wandboard-revd1.dtb \ - imx6q-zii-rdu2.dtb \ - imx6qp-nitrogen6_max.dtb \ - imx6qp-nitrogen6_som2.dtb \ - imx6qp-phytec-mira-rdk-nand.dtb \ - imx6qp-sabreauto.dtb \ - imx6qp-sabresd.dtb \ - imx6qp-tx6qp-8037.dtb \ - imx6qp-tx6qp-8037-mb7.dtb \ - imx6qp-tx6qp-8137.dtb \ - imx6qp-tx6qp-8137-mb7.dtb \ - imx6qp-wandboard-revd1.dtb \ - imx6qp-zii-rdu2.dtb + $(call wilddt,imx6dl-*) \ + $(call wilddt,imx6q-*) \ + $(call wilddt,imx6qp-*) dtb-$(CONFIG_SOC_IMX6SL) += \ - imx6sl-evk.dtb \ - imx6sl-warp.dtb + $(call wilddt,imx6sl-*) dtb-$(CONFIG_SOC_IMX6SLL) += \ - imx6sll-evk.dtb + $(call wilddt,imx6sll-*) dtb-$(CONFIG_SOC_IMX6SX) += \ - imx6sx-nitrogen6sx.dtb \ - imx6sx-sabreauto.dtb \ - imx6sx-sdb-reva.dtb \ - imx6sx-sdb-sai.dtb \ - imx6sx-sdb.dtb \ - imx6sx-softing-vining-2000.dtb \ - imx6sx-udoo-neo-basic.dtb \ - imx6sx-udoo-neo-extended.dtb \ - imx6sx-udoo-neo-full.dtb + $(call wilddt,imx6sx-*) dtb-$(CONFIG_SOC_IMX6UL) += \ - imx6ul-14x14-evk.dtb \ - imx6ul-ccimx6ulsbcexpress.dtb \ - imx6ul-ccimx6ulsbcpro.dtb \ - imx6ul-geam.dtb \ - imx6ul-isiot-emmc.dtb \ - imx6ul-isiot-nand.dtb \ - imx6ul-liteboard.dtb \ - imx6ul-opos6uldev.dtb \ - imx6ul-pico-hobbit.dtb \ - imx6ul-pico-pi.dtb \ - imx6ul-tx6ul-0010.dtb \ - imx6ul-tx6ul-0011.dtb \ - imx6ul-tx6ul-mainboard.dtb \ - imx6ull-14x14-evk.dtb \ - imx6ull-colibri-eval-v3.dtb \ - imx6ull-colibri-wifi-eval-v3.dtb \ - imx6ulz-14x14-evk.dtb + $(call wilddt,imx6ul-*) \ + $(call wilddt,imx6ull-*) \ + $(call wilddt,imx6ulz-*) dtb-$(CONFIG_SOC_IMX7D) += \ - imx7d-cl-som-imx7.dtb \ - imx7d-colibri-emmc-eval-v3.dtb \ - imx7d-colibri-eval-v3.dtb \ - imx7d-nitrogen7.dtb \ - imx7d-pico-hobbit.dtb \ - imx7d-pico-pi.dtb \ - imx7d-sbc-imx7.dtb \ - imx7d-sdb.dtb \ - imx7d-sdb-reva.dtb \ - imx7d-sdb-sht11.dtb \ - imx7s-colibri-eval-v3.dtb \ - imx7s-warp.dtb + $(call wilddt,imx7[ds]-*) dtb-$(CONFIG_SOC_IMX7ULP) += \ - imx7ulp-evk.dtb + $(call wilddt,imx7ulp-*) dtb-$(CONFIG_SOC_LS1021A) += \ ls1021a-moxa-uc-8410a.dtb \ ls1021a-qds.dtb \ ls1021a-twr.dtb dtb-$(CONFIG_SOC_VF610) += \ From patchwork Mon Jan 7 19:31:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10751163 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D54813AD for ; Mon, 7 Jan 2019 19:32:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C74128524 for ; Mon, 7 Jan 2019 19:32:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 009DE2858D; Mon, 7 Jan 2019 19:32:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0581828524 for ; Mon, 7 Jan 2019 19:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WREuS9AKjkIQp2z6QYrtzZcRb8lbuo6BQArIud1VPcc=; b=kyAp33nAMf9iGE dN78xgDp99Xc1TEZVEMqKL7Tvnq3aXR4AHAIjRBv8RSHfAQO9ZxRnNWDIuHPR5gahpojvg4Aw90N/ OVXW4q3ck3S6NqVC3hrkZyQZ6H4/6/9LY832iK6aE1teO2kf0VgGQXVZitkJqqo0yo9Xrt8aj13jl v/4RhRaz95bLJNVm2F1OIVLMlFF5Q5QB9J+KhFsWwwN+lihv4ZAfE9qHxETFP5+6XdScTyiPUoJxr seKv4Hbnt+gg6NvKzyO3sZhO6U5Js/hQDKggWbvGrdenjgjQk6T0TRf4uFaKR8we1MT1R6NUPEGl6 Dqb0/2LMjAVvYbUlf0dg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggadJ-0001F3-42; Mon, 07 Jan 2019 19:32:21 +0000 Received: from mail-eopbgr10076.outbound.protection.outlook.com ([40.107.1.76] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggacc-0000QA-Ho for linux-arm-kernel@lists.infradead.org; Mon, 07 Jan 2019 19:31:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r0VkuMg7xK/N4CkN0AJTNcH+x7A9tCxpTbv0K1uyAIM=; b=ict9RG7opXJDzRgIPeaGnIEpJ+gcWpTELpAIPf68iAiW9FJ1huAVpYmeUsO3/Ganya7Q8bYqSy2agBI6GTLWJJNQJ5T4hyBtPBZSO0WG/NuqR7+aw1IP1AGI4rIy7lQuik4vkG8LuV+IS5rWEJVQ7q+yJYra5mRYH3ticewpmaI= Received: from VI1PR04MB5533.eurprd04.prod.outlook.com (20.178.122.159) by VI1PR04MB5311.eurprd04.prod.outlook.com (20.177.52.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Mon, 7 Jan 2019 19:31:29 +0000 Received: from VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184]) by VI1PR04MB5533.eurprd04.prod.outlook.com ([fe80::7d6d:ce34:3439:c184%5]) with mapi id 15.20.1495.011; Mon, 7 Jan 2019 19:31:29 +0000 From: Leonard Crestez To: Masahiro Yamada , Rob Herring , Olof Johansson , Shawn Guo Subject: [PATCH 3/3] arm64: dts: freescale: Use wilddt function Thread-Topic: [PATCH 3/3] arm64: dts: freescale: Use wilddt function Thread-Index: AQHUpr+WBeSko1D/iEyQsecAnfiAfg== Date: Mon, 7 Jan 2019 19:31:29 +0000 Message-ID: <3678c8f380da308469d6cdcda9938ce79f94d3ed.1546888138.git.leonard.crestez@nxp.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [95.76.156.53] x-mailer: git-send-email 2.17.1 x-clientproxiedby: AM6PR0502CA0030.eurprd05.prod.outlook.com (2603:10a6:209:1::43) To VI1PR04MB5533.eurprd04.prod.outlook.com (2603:10a6:803:d2::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5311; 6:5j/EtFqLA9NaeJqNMvbIEowZu7DN/sJQzCB6zbmz2dxCe7mSzukj1cEWoii63Yvh4qOU8IX/YvY+DW6ePEbRqsz3lWbutT0qM7r5oAoKVnRedhy+/a02Zx8VZDY0YHug9gvK8j6SmeiXc3cZXF+1gzCMLpe4XLBKivbuYyR1ScpzBj1VZCtNIroGL/kYv9NWRbsZ1lWZBau9e16YK5JJWXeDidDLS28ptj4feycIQNkIT/FVP436WyC+4+ddyRtjX6iYU3ItF7K7SST+KTXjcVi+GjytkmAE9TJbgUpMxIHEcNEjjT5jJBApa1DlyzNKtowR8sU+W5nOlItb0NSXvvTa5VOO9HI4tyY6ejdCmrqFag+CQ093N/XtAlYEr+W+eDNDDwNAagRCsPr2l4QPJU4VJ0FvTHn/VH3CmcuQJHeChhcLu1nOuXL+JyNGKBPWLpG6nG1vKp5eeDR7NyCjgw==; 5:17/aLq5v98er90SEflk82gldyBfjnt/Wj/OsKZNVswPSs+tl56bD5uTmRfOz2KakU7PdiVCycryAM0g9anrN3627nL9snRHzkLXvrVk+FlVG8Z26ADybDLZicl+74fctRKiv6GEQgDrQDZ/4etZjgtUVLSZqeVXc3zHEHLOlJIL2Cb64Exd7VoqMF+2+NHUPzdvQDcg4qQMYI5ety7vAcA==; 7:o9H7J8Cob5iVUniQDeP67/TtphSBUmLs1pNzojxNR39/C/JqPxPC4g1Gyk73s3YiH4Wo2a0oJYWseMd5PuCK7e0fpuAMjp/D9TtTL2LcU939u7ZIh3Snj0HnFzMeBWE0EwSwW2VHwgbytelFpbiU9A== x-ms-office365-filtering-correlation-id: 7a14a4c1-716d-4a93-3ccb-08d674d6b8ec x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5311; x-ms-traffictypediagnostic: VI1PR04MB5311: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(3231475)(944501520)(52105112)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB5311; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB5311; x-forefront-prvs: 0910AAF391 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(396003)(376002)(366004)(346002)(199004)(189003)(11346002)(5660300001)(102836004)(256004)(7416002)(6436002)(97736004)(478600001)(446003)(25786009)(476003)(2616005)(14454004)(6116002)(3846002)(8936002)(486006)(66066001)(4326008)(44832011)(305945005)(6486002)(2906002)(7736002)(81166006)(81156014)(99286004)(106356001)(50226002)(186003)(53936002)(110136005)(316002)(54906003)(8676002)(105586002)(6506007)(386003)(86362001)(52116002)(76176011)(118296001)(71200400001)(71190400001)(6512007)(68736007)(26005)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5311; H:VI1PR04MB5533.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QD8GnYlegwePGG8LAh946dTz0+WVcTdnj3oETPp8Fr2M1f+UJdqjJ6gOHhHiP82FJoAaPpMitD50QaVzsLN7yay3XzogL1SfiK5MtRpQMlblQKgmfQ8FbJ4/WHqUVoyn/82EEZghIEpZ5eI7GFmd7+MjK5LC9DLMyb49GiwI7kERbcqoqsoVw9WnBoKhysXcnSU94CVp2XY6fBpeCUU6/wnb49n5itlQHDT8yJ0FTYANoFLpuPX+7Pz2RBpDm1NxmwnyYrryaZU7lRwGDu+8nkKs9x595rXqnUK5tryMOLD5D3GA1cyVc160Z4ltP5WO spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a14a4c1-716d-4a93-3ccb-08d674d6b8ec X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2019 19:31:28.3599 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5311 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190107_113139_244906_39EF579B X-CRM114-Status: GOOD ( 11.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Aisheng Dong , Michal Marek , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leo Li , "devicetree@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use the wilddt function instead of listing dts files. This shrinks the makefile and avoids needing future changes when boards are added. Signed-off-by: Leonard Crestez --- arch/arm64/boot/dts/freescale/Makefile | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index f9be2426f83c..ab28e485179d 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -1,22 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb -dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb - -dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb +dtb-$(CONFIG_ARCH_LAYERSCAPE) += \ + $(call wilddt,fsl-ls*) \ + $(call wilddt,fsl-lx*) +dtb-$(CONFIG_ARCH_MXC) += $(call wilddt,imx*)