Message ID | 20210807080113.16020-14-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1028995jap; Sat, 7 Aug 2021 00:29:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw87+2RtqTTltuqVpeCYKuQb6XTDpRSUhwy541MhC/545hxiVWuxhqXzqKugmz4YVvkRzr0 X-Received: by 2002:a05:6402:280e:: with SMTP id h14mr17605140ede.187.1628321374429; Sat, 07 Aug 2021 00:29:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628321374; cv=pass; d=google.com; s=arc-20160816; b=BpIhOgWEnbbtY+b+1RBjpIq2sLpj9AB2V7oY77D1W2s3sKroJhBS1z6uFO37aheKX8 cm0pUKDolGWNCg2tuZm7AeKwdDmrZosvl2F/hudGzRRwTCvXPrTIjA8MgrrJloNvvTDW fVpxZxA0rMDsL/HuOMVnEOcLT5LW0laHk0ACpgqw863cFim8yYWHEsoiWMUvGqWE2xK2 nHuzEXEuvhWb8XJnosbsSMgb9SpQHTPUWWzPZMDYt8hxuGP31b7fvGVUxFOg4cDZgtX8 e4x9dmRYlNvsNgEqvH+fE2erpbmTKGpmWheLE54YOXLN97cxTckN8XO1jWmjq5uRr2+j eriw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=r+tSmgVehDQRmNZzKCvg4XRThaLqAe7INtOuarachQI=; b=q12d0BXROQPOf7bVnh2+KycN06IH42vExv2CdNCNqawJYPduOsFGomYkywCizip+v7 dHU/UUh5VIEYVWrTC67irIsmNW87efb7IeBKhbwQ8P2knwqnJQyDtgR9LOcBQuRITOVl UDl0ONEEGtJIxRJLITBie4X6ejW4HIULeDR3kKGwbphtQBjdb/gFI7mZX+L8jwpG3zDC /ptzp3VfRA1TzibiRGfUyx1J6XIXDhr4ffJceZLsPqhSYnopHnvjml31rBGiwQuSkASI JQP07P+Z0bxRe06FZhakM4QgHN2VX+AXZLyqqLi/Hyic/8EonAuYLqaBdhbN8nA0kDsb yVPw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=D9a0+kpg; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id j23si11829148eje.501.2021.08.07.00.29.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 00:29:34 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=D9a0+kpg; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D79B8321D; Sat, 7 Aug 2021 09:28:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="D9a0+kpg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 666ED83231; Sat, 7 Aug 2021 09:27:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0623.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::623]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 28EE583217 for <u-boot@lists.denx.de>; Sat, 7 Aug 2021 09:27:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dypx5ctxjOqj48mJmpFs4kUk7+VA6l21S5/BWdXTmgU3o2HecnY4R73NRsq3UQffn+5cRoGWKpj9lPhYVjfdtjS2DxXSLnBIEZNtzIPLB+OJeY9dSiNPpDn9lZSL7x6PEV/U/14TE2gK1McdcYagRmRtt2qpf+r2+TmrJYcPN+WBE76tKWz8vnwHfst2wVdSGejERkktBzMwQ+OCzFzXFl4FFGyAJiOePN1ZxRZKpNdHrzKWFxDWVbR0nerkcqtkKCEQj8EQVsKvme4PktrhV0is53RuzoNBQHMw4fBQn5263okAqvR09DEqAKl3l0brGhKyiOtCWuJNV1IlFwG3MA== 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=r+tSmgVehDQRmNZzKCvg4XRThaLqAe7INtOuarachQI=; b=XEyBLe9OZK1buG5XHZ/2NnhMsL0fnZ6IN+osdinqXs+rmfq1fzqGNeWseyvE/gS5OvPNABfbCi53w2cl2QyPbH1jP0WlDmvwcOcLUmr2N/dUdrPavck/KPzsZuLW0xxI4TEyzeExWhOKb9lp8Bd/5zsKrW9i8UvVg7l0ZE+FwoRYETf4oYi5s7vvvv7xMpIo52xqdwyxPLPBwLSNTZJno2tqVzjgHBEJXQvcJVOwtXAnQUj06pZfJJoemX5ezATJ1j6raGHgo9ftWIQUZ1edkhVhodm5X6NpoG49Mol8sTPtnCdEXyb0Y4+qtI6uY7e0wT+0+HNuq1R24bKPaTWZPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r+tSmgVehDQRmNZzKCvg4XRThaLqAe7INtOuarachQI=; b=D9a0+kpgdBPP1jVQY6/NH7R1Qck8v27x3uCIoy/HTSI/dN480KmU2XSkfeZx9cBWL+guq/JILoy79qc0JVxz7ocSjG+C5WnJHwmKtDIKC/1evMI8+9JkzWKbYVfV7xVAa3b3al4UUiL+jvCWo8gU3otCip8sabLNErgvct5UjVU= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB3PR0402MB3658.eurprd04.prod.outlook.com (2603:10a6:8:2::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.17; Sat, 7 Aug 2021 07:27:14 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4394.019; Sat, 7 Aug 2021 07:27:14 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan <peng.fan@nxp.com>, Ramon Fried <rfried.dev@gmail.com> Subject: [PATCH V5 13/44] net: fec_mxc: support i.MX8ULP Date: Sat, 7 Aug 2021 16:00:42 +0800 Message-Id: <20210807080113.16020-14-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210807080113.16020-1-peng.fan@oss.nxp.com> References: <20210807080113.16020-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0133.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::13) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR01CA0133.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Sat, 7 Aug 2021 07:27:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9c4dc34a-0218-459a-b668-08d95974c6fb X-MS-TrafficTypeDiagnostic: DB3PR0402MB3658: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB3PR0402MB3658E41FD8CB4C63B110714DC9F49@DB3PR0402MB3658.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2958; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BLhFlCcDAee2E/mbuWDrQJ3KerBEjl7gGtWpeFP31F+2i15vK904CMr9bn6Kzy4Td5cVf0U5AwAec+54g2JzVVjnFR1GO9QfN92eVZZWDbYyUfXvzoFhqwLzloLwOLx8xFGpDaxota2IOa4CG5uTnZeM/l1pM5IXtuKBks80ydiNQlARur4gKQ77+zCnrITxnL0fT/lul+j9WiBS8wwoPwTZDq+Yv77GKfLJwJGVHTkP7hJealvWOB4zLHrAQOURN8anAB4dfBj9pi8TClSfJbJHuWz9s+v5EBsf2eNGT5VJVKFK9BDVLQbjxkY1gPJXLk+pll4539gXzMQ6Cdzf/IB8fX57UBgvvhLEgC51zxO+FCIYKhegI6bhYUplVLXnzn7fCouZVmYjDBID0ozoA5Xu9aGubjIRdisWx2jszol/5ZJW9mI0wqq9dtZRI0XINoiSUgmNSjbPIbL0/B6YAJfZM6+cVJcQYfqoCPmIR+VNc7tM6LaeDtvDcKREFOcH3doHb6tF9UBFgmSJiIV0tboSrSiQEv8M2PrCRfAZ2qTEa0jVSyU4PMSMS0ETu6A4sEmDePK9+aHT2/Bn4Ti1znhlKnPR3BYBhVWrQnbtD7lQpDER4OQsgXN7pA/H+jwoDNr+mFm1Id0LZ29L5Fw9hPqe/UYsJZMoiOIRgZGpatkV849ZbVRcDCllJcg3IWjGkQuwzNW7dLuLiz4KAGe5hg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(478600001)(6512007)(8936002)(8676002)(38100700002)(6666004)(316002)(54906003)(6486002)(6506007)(2616005)(956004)(4326008)(38350700002)(52116002)(86362001)(83380400001)(5660300002)(2906002)(1076003)(26005)(66946007)(66476007)(186003)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wBm03S921PahiMpXa18gjSaWbIlbzuJyPzUY939SV41vu+IWUQyRggWg93GblMoTxp1sGly/aIqeoSBCO5TfktRn1XVvpJ5YQFyfPFE+u0LngG1biRp5f3h01Sldfj/PuUjLh76DqplbJLMpNTtYr6wOm84oFJzn31w5tXE2fgLVzwPNFzeJ33ZhvJnktkqfs61+5/HP+tIpCuNW6clg+mqj+R5NkC0eE/7ZMINim2xnrY/QTsKUaIHTVLzUaZ4f3VBcNJr3fyNCluPw0HiluqqrPuNT6/w9l2/gjvgBsHOYxQXVGBaYsABb9oMxJrhqAeTW0/6gAIbdmXEHgg4P8trty8xUWCLrMu77wZfaRJc6MReULYxyrG6hJU+uplI1Y32KQwuxz7GelsApe7rHMqDzXX9YFgGdEPXVB8VnD5+5AxZBED6F6X8DjxXd/pVl6zczzwSsNIiIt3nsqOJbjgPSNTUX3UE6CKN1liTKfdR+0UZCwpGHbCpQqGt5WrlfBCQJgAZSW4EUapX3E3HoMbaOPg7SFRq4GgGPpzP+2Gw4GHrX4uJqyIuseAx7QZ0zqJh5JaVIeoyF56vryMA8yDSyfuv4ehkRYh6uW55UQ5ZsbQHaPwj91ZZlqhMMBK5A8EY5pjSFmeN1ICwHOjJS512TFy9nSF/aJHqzhqed8ZATjHj7ba5EEsmGi4ICeWKED4eMBjMlRv5vf7jhz51lBzoMmcRe318iF98U/EuHoi8SDNUwQry5NZ0ZhGeGDWbxiEp6mVulWlbdjvnrPY52yHqA9JODQscxn4YkZT8UOWMfh7Y4GOEzbzsgBfT7Qjp0+AcNbuh5/NZi5WEry7Vvg2yJuxdKAB/IHeYb5vrmcy7At4if69XEeR1/zq/lz6E/ET/GTdnzABezzQnsRPR5vMooHJI47RKYe9QUOt8Yw93mL6szNpQqjKGhBFyiIiwgJZz4aBzCG6svakNM3tthgC9MboGrjfaQUdLTanaBiP4ED1j6xuEPrgQg4Z5YhkSCovDDarjhgHI65OSU7Hvl2/1hZhKBC0GqifieQfF9OLufU9wRLD0dHiafrzjRv3oJMXk2q1/vGDXeS+Kmf0rRGKaJpE7XeT9fhGit6vE81Wrle+wNQ5sUm2S3ktW4jZ8k+faNGyGIVcB8mkt4psgI4NTVIpDDEy9ZkGNiOlNrT2BG7kJXoA44FIoi7nobiWKW1pjyHLHgIDV5WwoB0R6n2i8px0Ebkgp0H7M4uKZDJddJUrmHsDjuFIFApQhXue+F0X+ph+9QNnWyatq1CnRHpYSSbNXeUlL4uOVpZMZ7m4P+aGtqkfmDxlU2DYZD4Wt+ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c4dc34a-0218-459a-b668-08d95974c6fb X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2021 07:27:14.3827 (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: fgX49uL4+YQkzbZQkmk+XXulnHKmsKYoszMmUID8Qab7dW4MCFAy5SWJMrBrAFzjK+UOFOZvjdPT/7l+sCjhtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3658 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
imx: add i.MX8ULP support
|
expand
|
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 8b10148579..32f2708dc3 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -331,7 +331,7 @@ config FEC_MXC_MDIO_BASE config FEC_MXC bool "FEC Ethernet controller" - depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610 + depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || IMX8ULP || VF610 help This driver supports the 10/100 Fast Ethernet controller for NXP i.MX processors. diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index db2cdaf684..9bb42e5ca9 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -631,7 +631,7 @@ static int fec_init(struct eth_device *dev, struct bd_info *bd) writel(0x00000000, &fec->eth->gaddr2); /* Do not access reserved register */ - if (!is_mx6ul() && !is_mx6ull() && !is_imx8() && !is_imx8m()) { + if (!is_mx6ul() && !is_mx6ull() && !is_imx8() && !is_imx8m() && !is_imx8ulp()) { /* clear MIB RAM */ for (i = mib_ptr; i <= mib_ptr + 0xfc; i += 4) writel(0, i);