Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3902106imu; Mon, 7 Jan 2019 11:34:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN7kef6OyTtHo+PrP0LAiPyh5ejaBMiGggOlV/yFnEyq3MvBml5SPPFsvfckn1IEt1mrhtxJ X-Received: by 2002:a17:902:680f:: with SMTP id h15mr61492168plk.40.1546889671417; Mon, 07 Jan 2019 11:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546889671; cv=none; d=google.com; s=arc-20160816; b=c5OEov/jGNSgstFsjrC0F2IsKSH6zFvgVD0nSAdN0VtM5ofKE8fo6bqN3X88Y3jEhO cxTR0zUHB2MJeJz0v8ymgRFhd0zndTNZ96MW+166c9LjNSF6SY6Ng0u6pf1NqjD6DOmF EUvEy1qg97FuhagAvXmP4NhFtF/myz4zUvlncsW0Y7S0VaEFxvFIT2cNiWoLCYcLRkuX uLgSvfK7YNqDttcw/DUsAE21X0vPra3wSMysnFHtXYfXSjP2Q698akiDl7rUJ+UuZyKG wcJj3MGhXQ+5kW1KAQIua29hSoaKn1UND9/+bdOQS8FHZ/73h7Tb4V79JigGbajv8/BL o0Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=i1fMnhOm+Y9U1AisH04cMbVFvziya26w9mslcL6hxfM=; b=HEcV7eDPTE3O3OnAqkZuSD6sM0Pwe2uaVwdc6RkzrlZJTn3WRgchM2gMkqhXVMsoMZ bay6c7CnTw7l1EdgxDxjAQ0hq2WOMVh0bb5nv7Hlk/yp23QaSQpM326VpQRhWnASk44T AFZcCim0aDfBeIX7w6bCQ3IbXQoh90SfdSbLhPuMxusjV3YIVzUDslr0ZiefeVVPEyJu I2rsCPdFLp7D2/l4w+kv67DYWzeAtGKWlhhYHdH8QUFdWpWQeKz2RmpJBe9hE2JUiUr2 AuZ1ohaHuaIAk0W5D0E2pMi+nxfdQoa214IsVkATnddS0K/aTsLlw0nhbXdk920kIKQV dVZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="jMHTpl/n"; 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 q73si8959484pfi.205.2019.01.07.11.34.16; Mon, 07 Jan 2019 11:34:31 -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=selector1 header.b="jMHTpl/n"; 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 S1728216AbfAGTbo (ORCPT + 99 others); Mon, 7 Jan 2019 14:31:44 -0500 Received: from mail-eopbgr10078.outbound.protection.outlook.com ([40.107.1.78]:25466 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726934AbfAGTbk (ORCPT ); Mon, 7 Jan 2019 14:31:40 -0500 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 CC: Michal Marek , Fabio Estevam , Mark Rutland , Aisheng Dong , Leo Li , "linux-kbuild@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" 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 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: 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) +=3D \ imx53-tx53-x03x.dtb \ imx53-tx53-x13x.dtb \ imx53-usbarmory.dtb \ imx53-voipac-bsb.dtb dtb-$(CONFIG_SOC_IMX6Q) +=3D \ - 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) +=3D \ - imx6sl-evk.dtb \ - imx6sl-warp.dtb + $(call wilddt,imx6sl-*) dtb-$(CONFIG_SOC_IMX6SLL) +=3D \ - imx6sll-evk.dtb + $(call wilddt,imx6sll-*) dtb-$(CONFIG_SOC_IMX6SX) +=3D \ - 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) +=3D \ - 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) +=3D \ - 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) +=3D \ - imx7ulp-evk.dtb + $(call wilddt,imx7ulp-*) dtb-$(CONFIG_SOC_LS1021A) +=3D \ ls1021a-moxa-uc-8410a.dtb \ ls1021a-qds.dtb \ ls1021a-twr.dtb dtb-$(CONFIG_SOC_VF610) +=3D \ --=20 2.17.1