From patchwork Wed Mar 2 22:37:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Yoder X-Patchwork-Id: 591164 X-Patchwork-Delegate: yorksun@freescale.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 145DA140D0E for ; Thu, 3 Mar 2016 09:58:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9F330A7611; Wed, 2 Mar 2016 23:58:12 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vKzGCNRFY_bT; Wed, 2 Mar 2016 23:58:12 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CDBE3A75F8; Wed, 2 Mar 2016 23:58:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B04B1A75F8 for ; Wed, 2 Mar 2016 23:58:06 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APIu1jo98u6o for ; Wed, 2 Mar 2016 23:58:06 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0062.outbound.protection.outlook.com [157.56.110.62]) by theia.denx.de (Postfix) with ESMTPS id 0EC61A74A6 for ; Wed, 2 Mar 2016 23:58:02 +0100 (CET) Received: from BLUPR03CA008.namprd03.prod.outlook.com (10.255.124.25) by DM2PR03MB317.namprd03.prod.outlook.com (10.141.54.15) with Microsoft SMTP Server (TLS) id 15.1.415.20; Wed, 2 Mar 2016 22:57:58 +0000 Received: from BN1AFFO11FD038.protection.gbl (10.255.124.4) by BLUPR03CA008.outlook.office365.com (10.255.124.25) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Wed, 2 Mar 2016 22:57:58 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD038.mail.protection.outlook.com (10.58.52.242) with Microsoft SMTP Server (TLS) id 15.1.427.7 via Frontend Transport; Wed, 2 Mar 2016 22:57:58 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.70]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u22MvvrW019279; Wed, 2 Mar 2016 15:57:57 -0700 From: Stuart Yoder To: Date: Wed, 2 Mar 2016 16:37:13 -0600 Message-ID: <1456958233-23235-1-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.7.9.5 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131014330785942494; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CPI:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(5003940100001)(50986999)(110136002)(86362001)(50226001)(575784001)(85426001)(1096002)(5001960100004)(1220700001)(19580395003)(77096005)(19580405001)(11100500001)(189998001)(5008740100001)(4326007)(47776003)(92566002)(586003)(106466001)(36756003)(48376002)(2906002)(104016004)(50466002)(33646002)(87936001)(2351001)(229853001)(6806005)(105606002)(15650500001)(7059030)(4720700001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR03MB317; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD038; 1:bFMJ21KV3dptm8QlaWF66+xbPsi5UGsjSKo0lCF2PdbOHjsevEyvhR9ITmmaJiEG5W+1bsJA/zqYu4N24tgAMZHPA0votg8crMtRezl39PSp8Zwp3wazSProsNz3DryY78EdS/ehySkEXPkj8k2oo3Nzh4auit0LIszdlU1V6jhAe1CQ4XWL8rdNqE8x2elhtVWjG+TOEqNMqL/e6CvcrY7kVSvNJwZdc6RDKD54rdSgO7zwD/C8QNudkn8Cug0IChRKBgOa4mcvoP2Aj8guKKithvGQ27Hw159Hg+NJUuMjxxdupiDiTGyBWrIa13VWCu89v9hyu1NklJ2VD7qnVTuRBno39XLjk1dN3LEeJo671GNtDzhiuFF7K1wkgTKIOvNkcbhqYg2l8TCPkqEexsuTWpWjeGalHnzq+Gu3EDhp5/N+pFd4zjQIrjMZlPTYTG9O9mu5OQboa8OhA04G2ihOeocx6UBmbqDJRUjRAYIIQtpIe14kzAf+2f7J+ZgNVNHF3cDBacku6quZxNSE2ueBm/o6cId5yDDAxScxxmh5KriNm5Vq0E96Db/scvhYeqvedwpcJGoJSwKAJFJ4FbrFaYw6PC4QLUMNEX1tO3s= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 41dd4981-0523-47de-ea7c-08d342ee196f X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB317; 2:wTZQPN2a6FHWJOyu+IaxXOvK3FNFmKHaI8CiyT485fuhTRizJe4cmYNYhhXTkHQNz4yMvIXoxDPlv7lx0HgVmSdjKwGwMceenk/3jvIir8M+eMtAoZjT4B9NOcOF8I3dMeLNOwNfkkPpvXUgMWyGbRz77kwBZpeHrjxZgro1jxXoh+TUBttJZvfjvPkKw/u4; 3:5qrZ4KleSxMRPxRxrAaZjOf6XLOP5qmOUGSUAc1GsYKc/DuIrqEhYbpT5rYbJl+PkU10hknYv2ceE+sSoZPbsNDqpyZern99UOJWNyPbd1jl8doHkuzLieANCp999YbZntX5Eg9VrCbqTWPSJmQNrhAaQmFTVPROJyGLJ602NUSTNFX80612xWaw6OMtvW0j5JbuwWsy3OAdGiXk+xvKE/mrbDq9PL5OIzhXV1Uk0eA=; 25:7bTWMZfzGwMn+E90h2OqZzbi51Kz3Ss7xC7oGajWES+zMmJYIrOPEahrDkKNZyGGM0FdqApkmHvPgIcEXJR19YsuUel6THRUjaaTepQDSuR3MXrhKrIOYMNv0veuDv3ZJT6V8kld9CVVsJwq33OnW5PbZY9AhN78YaKQBndJVlcJ29+FN7t+Mi1L0KU0EDlfAD4pTpT6FFLcE4caJPbzBeeaeseqHnR6PHJ+hkLNG8hQolfVD3rxEIb55U4GEA7Rr4PrMYQd+tEurv0xFDM/YiF2MBKAHmbjwSptEIow8ZhBI1tfXy7PyZQcyT/odQofBWSq+3VWEp2ir1sVAFLZDzfPJYdWd+shwVYC+tM9QaU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB317; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13018025)(13017025)(13015025)(13024025)(13023025)(8121501046)(3002001)(10201501046); SRVR:DM2PR03MB317; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR03MB317; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB317; 4:ZXw59iXJAYzBw/2qaZODnNkWXYHOsbwfc6nF9paLj5F/lQkrnbk16HjpfbHYNL/TYizfTsC3xPDLfCC8yy2FTi9OwRdnTTptrDY34wDu+6oH1BSt1jZXXPktMXWgY4UirFYoBJ4mt5UhwmHxrhYSO4TeBbG0x9PcPTd8eVyAntv5LH+dhbFSkMFB1EJrkppKuFP6FOGxrqOmEmJwlqSoi9erBOPrp0NQRp2UKdnkaIRH5jiV7igfFNrs1/NoBmH/Nx+VR0BfpFPlDy7+GfJX61NKQAVpwrU2wdtaq1aflFWcEln/7pm5B1GtMTbei/+TXCbdcs5ow5N1BKqj5KwGpItWRW4TibSVE3NgFRRE83ZH89oEpiGvT78dHUWhsDougUfUOQQqH2VjlB3f3I/J3GyhRB4P8hIEym8lJOV9vmAnFopYXpqmwvKWwkdHJHZjLsjDnfZWCspF6jHzgH0rlA== X-Forefront-PRVS: 086943A159 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR03MB317; 23:siZ1aMH3T7hPKgWafLJ556o55w0CfYFF9Z05u6APWN?= =?us-ascii?Q?++Be3wR/HSc9f1Egeetr/YJOr8fz6YvdYrHHtFfPIDW2E3QyLOIwRtYVSgh2?= =?us-ascii?Q?R2Qht+P2QzvPTX63TZmZE5uC9PDUqJYWYKhiLV2diFd4wJda07kyWcWRehgD?= =?us-ascii?Q?fhlWRaWcAja3db+imBf7oI9mp4tkvLKf/t+Ks6bTrXVtuCepjWZShZl8J267?= =?us-ascii?Q?tm15NSRk9Yut7pb/kgvnRwyTBfR3o642CEXFQzBUGQ5uOR/QHYkdZEHauOBo?= =?us-ascii?Q?YG/m1Da6aU+PSSKRSz2Yfo4E2Aqfp8sLpHhhQjV0TXwNd5+3TR1sBMzopZWS?= =?us-ascii?Q?xYd6FVRpEskK9J4/916vxgSu4X38+XO9liEuDmB7cIhYbE/cV2uEzoG+s7+P?= =?us-ascii?Q?JQpVzz23n0UdKC2DWS39XypC/MDV84vfhh7nS4mdD3xEyi3wYxoOTixLC08N?= =?us-ascii?Q?SL9vPeMkw/Dxeu1+n3Zw5cM6aNHLbcaF+QcrdFiwZoTiSl/H/H8kAB2nCWW9?= =?us-ascii?Q?EgmHBDn7oQb2kMgtDM5OI1Dps8PJmHiusQaJzMNP5GF1dy1q56PE8am0j+xD?= =?us-ascii?Q?zRYlu3odhLpMYkvhdu/8V03v/3RG5BAaH3Bhr2rf0gfLrB9U0YtGzRFoCZ+Y?= =?us-ascii?Q?e3aiE8SD/7gt6dSSZc0MuyNbT9z1R06gojjxg/yYS18NdVY7D10I6C007NZv?= =?us-ascii?Q?ZnzT28Gpu4AsEB2Lk1Q5Mewt+spL6lpzOxccUc5LDVSiHXCfaA0iLwcCGBhy?= =?us-ascii?Q?76fqyKWpOh4OLYTC9Vua5Ln01pQQOVQWnToHILLx7rPYM/23PU1DEaXrgkQh?= =?us-ascii?Q?f+qK8njX40Y5uzaGlwag+7cJAM4dyCpqfjHr1ngvkpiNv4cQjsE6gw7yU5hP?= =?us-ascii?Q?UfvPUub3fQJDmnMs8uzqLJlTkTH+l2ZKVLz4OyOAuEtIkYJyrem8M39okxp2?= =?us-ascii?Q?ZgOINFFapuW+dP8BC/rXX/t5hssRtUGubcLPmvEkkss9Ka5w2rQAc6YnEfsT?= =?us-ascii?Q?8foMx3t4kzqchQE2Q7QZQCazrEjaq/BY0nLT4s4ahMvh/85qHTQS1rjzHsZe?= =?us-ascii?Q?bzaFGCy12vP3+RN0258ljDfhKSEJJFMHtCI2FbB02jm8uH1Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB317; 5:OoYjQg1/vIhdedFzlznHLCoG0b+iEOi5QxEeKnqby9v6rG91I7Q+pv3y0GMJwUWUXv7WAIQsMgevZ3E2+oL2hnrw67igAWGraqsNKxL3Yzqh67rhldpfdwqRQx0xyxWkrctYfOPelvzpwWMdXn+gvGys36llTgmdO2/dkXjV5r8=; 24:51IY7equ3pHdFtqZXRY4bXDqUaDkHOVQPXJL1JTa/LwvrS89dN4E1K+xS1J3Go0Xsmi3wYDXNerTZzU8tSvKP+XhpIOKNv2VxEJRwCNZzSI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2016 22:57:58.4070 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB317 Cc: leoyang.li@nxp.com Subject: [U-Boot] [PATCH] armv8: ls2080a: update fdt path for fsl-mc node X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Stuart Yoder The fsl-mc node has been moved under /soc, so update the path references accordingly. Backwards compatibility is retained for /fsl-mc. Delete backwards compatibility for the completely obsolete /fsl,dprc@0. Signed-off-by: Stuart Yoder --- board/freescale/ls2080a/ls2080a.c | 6 +++--- board/freescale/ls2080aqds/ls2080aqds.c | 4 ++-- board/freescale/ls2080ardb/ls2080ardb.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/board/freescale/ls2080a/ls2080a.c b/board/freescale/ls2080a/ls2080a.c index 7bce8b0..ace0d79 100644 --- a/board/freescale/ls2080a/ls2080a.c +++ b/board/freescale/ls2080a/ls2080a.c @@ -87,14 +87,14 @@ void fdt_fixup_board_enet(void *fdt) { int offset; - offset = fdt_path_offset(fdt, "/fsl-mc"); + offset = fdt_path_offset(fdt, "/soc/fsl-mc"); /* * TODO: Remove this when backward compatibility - * with old DT node (fsl,dprc@0) is no longer needed. + * with old DT node (/fsl-mc) is no longer needed. */ if (offset < 0) - offset = fdt_path_offset(fdt, "/fsl,dprc@0"); + offset = fdt_path_offset(fdt, "/fsl-mc"); if (offset < 0) { printf("%s: ERROR: fsl-mc node not found in device tree (error %d)\n", diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index aa256a2..f3925e2 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -258,10 +258,10 @@ void fdt_fixup_board_enet(void *fdt) { int offset; - offset = fdt_path_offset(fdt, "/fsl-mc"); + offset = fdt_path_offset(fdt, "/soc/fsl-mc"); if (offset < 0) - offset = fdt_path_offset(fdt, "/fsl,dprc@0"); + offset = fdt_path_offset(fdt, "/fsl-mc"); if (offset < 0) { printf("%s: ERROR: fsl-mc node not found in device tree (error %d)\n", diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index c63b639..6f518b2 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/board/freescale/ls2080ardb/ls2080ardb.c @@ -224,10 +224,10 @@ void fdt_fixup_board_enet(void *fdt) { int offset; - offset = fdt_path_offset(fdt, "/fsl-mc"); + offset = fdt_path_offset(fdt, "/soc/fsl-mc"); if (offset < 0) - offset = fdt_path_offset(fdt, "/fsl,dprc@0"); + offset = fdt_path_offset(fdt, "/fsl-mc"); if (offset < 0) { printf("%s: ERROR: fsl-mc node not found in device tree (error %d)\n",