Message ID | 20210721141725.23346-14-peng.fan@oss.nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6210383jao; Wed, 21 Jul 2021 06:45:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWp2pRBJ7WcPA8DO7I4LrQMf8m+no+AxlG50s3NvibVTXvdFq/43F6zAD40rayUDddIeyg X-Received: by 2002:aa7:c458:: with SMTP id n24mr49264501edr.30.1626875149450; Wed, 21 Jul 2021 06:45:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875149; cv=pass; d=google.com; s=arc-20160816; b=aQZkeT3upVQFrWRn69jBfR2EWhuLY1sasOAXAeU7vnLOfA4JRjXE7n+aGwa8t8mbZZ wbmxkzBKGBeTw1b7oRantYzeGS3Eff5GSroZYHsYea2MpOdYY+q5we7/G4ihmBrFkfIB iMJeh6C3sy+B3lP3vIO8raz9Yq7ADN8jncmNPdMfx2bXdmjOME7b7FGmEC7kbmDJlr1z SIopwyBNH9q3BNzbtzvla5gK0XeO/rJ2omTpNadsoBo6Ec7pvbDY5B2d+Szte38eYFbU zehuVWQGn0BXzcJrkanyeQ8Ns1FD1aV+qFIqGh6qDaOw6bayIULH3UdaCC1m9zIS7lwh L30w== 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=QxLkGdoIWYs8pvM0clKGPdYKbzmC5CfmUW2vKb3a5eE=; b=0rJf1HW9QIGJh58JJREs1IWKAXVC0YI/dwLRcrbShJTLv3XS7PqLSHY4ywOnm/mMfJ sLY9w3TEzRY8D7ELXZzSKYJsyvoeHwNJmsKaleGzimriJHAuIwCSMEFmCn9eZo/RgXWz bdXCmKaME8TfR2Gur8ekRpFUQ06CtnjL7rvrW8P0C2V2jbgHjYGME5EefYbHM2F8VrLH vYBQ/UdRks6U9i3FVCdtbYx8/fP/xMQ7N7+Qw3MSPLyJ+gwPuMJCmB7n3nyuaI6K8zil jCo6yStftW8tnM98NOi1RmSEDSVci6Gca5rCAeUgbdES18j0jmscVkRsQuWl5UFIm0cn Mf8A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=G8142OT2; 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 u6si8661016eds.500.2021.07.21.06.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:45:49 -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=G8142OT2; 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 5EE4182C88; Wed, 21 Jul 2021 15:44:47 +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="G8142OT2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD1ED82C08; Wed, 21 Jul 2021 15:43:58 +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 EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0626.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::626]) (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 E968B829FB for <u-boot@lists.denx.de>; Wed, 21 Jul 2021 15:43:50 +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=YAWgga4hChc4XpDhXT7ZqqGs6SBs/LR8FRgWoSETI6CSfJnXY1JGSEZUAjWnd7IJXya0DeTUo1ZLxwQAfHjNK6orEfXeOALFwuUjg3VlK3BmOZiSbfzgU6qQE0ByGHHSEmVIlWNuR27JlAg9YMP5U0CqewH5dstjdovdfjkZoT6/gliL0glS1uXLipBEzZ9n6L5AwuAXt2yn2vBBaS7YeO42hVioYZjRxPjuMvtdA6l4/gIVbNwe1gIJseqRxXfDOzys3xVIoo7umr9BiCwWsDpf7QMJcHyBMwi39pIGfUQMMO4Ed7ydGNt5SFIDraGSeefJOIJvDiQWqaYrbV2SkQ== 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=QxLkGdoIWYs8pvM0clKGPdYKbzmC5CfmUW2vKb3a5eE=; b=jlifW4pLuIPhvZVOV3PvpoPa+y/wtYQCOFCgfiSAqlm+BjtI1fNE/ybkP9jvEWc0p/bvlmQG8n9IizHKXYQ4aw1NXmw1gTqQ2UzX5b3DRN0PXIRCeTWvdzKgBxLI9a0DJhfmkTsx6g3BkjWxzw+EClN/F8cckeUlR22C9s+lMlruwJxE/xk1KPzYwkDk8l9kkotjpLPa9j9ct/vrFSeJasKgltBE4ciHb1xMcYmiseQ/17fnqZy8xS/HiruM0/KrKFH/hhKMRMiXI1b3tVNThjvyB6N9+v6SYelQWT2QEruAQgjQZ6qQ3YQz0msUl2rGbjfSrOVd5zkVAVxB9ZOADg== 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=QxLkGdoIWYs8pvM0clKGPdYKbzmC5CfmUW2vKb3a5eE=; b=G8142OT21ZgYqsN1moGcZ/TXVu2T8wXGKd1InnvEOKs3IKGNf+3VjfBfEPFKP95Pp9kLuFQdlunmMCRCTha6LAfC/6Q1yVLUeYeZ0Y1Zx0m5MYZr8f9GHR//Sv0TJyzoI8kQd2p0qaLmUgkiNJC63mhI4lptyZPYrH1tUCyC6pY= 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 DB8PR04MB5802.eurprd04.prod.outlook.com (2603:10a6:10:a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Wed, 21 Jul 2021 13:43:49 +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.4331.034; Wed, 21 Jul 2021 13:43:49 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com>, Ramon Fried <rfried.dev@gmail.com> Subject: [PATCH V4 13/44] net: fec_mxc: support i.MX8ULP Date: Wed, 21 Jul 2021 22:16:54 +0800 Message-Id: <20210721141725.23346-14-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210721141725.23346-1-peng.fan@oss.nxp.com> References: <20210721141725.23346-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) 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 SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Wed, 21 Jul 2021 13:43:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0475c2fb-ac3a-4bd7-8d3c-08d94c4d91d7 X-MS-TrafficTypeDiagnostic: DB8PR04MB5802: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB8PR04MB58022A753E52F126E9F039FCC9E39@DB8PR04MB5802.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: f8drPu5D8GjTya5BIiCi/kcLEkLUVb8JoldVhRO9wEBo+nfzAdTRgJxp2zTlNeIHq810DZZ+Hr0/veGulvI2BZoew7yvWTuscbFwdZM55r7OHZy3ltzusgmiyfVDeLjp1ZPcvfSOdC4Zq11DtfNONLSRbG2YGGcg1ngTxbtRXh5n0dBOZ012cJuYfc0BAgUI/ZKAv7ZERSeXF4yxqE/8dAduTT5yk0dmMVjot3fgjhXInP2DqXVl3IuH8N1UySHX3nse7QvKjGhpXZPwYpx/R1rGkBkSs6bFg3bw6IiAY8W0ihDm6Kv64NBRt5u5xGd4BYAzl/fkNV3thCqzQif2EdeqZ21pEnX8R89IQdEFRLgO4gCuRkjcBGst6wEPk27IsGr82UujhLavF+DJki19lMiNW92HaKciNNmgT9A5v7YxezzTLmymrr+/2YG+8XtvBvCvU1QDfKdJF3Knx8nmycnCOCUivfLI+kddnEzWSCio9OTV3hSXbRsK9ZkxU29MKl9TE4yamtJgciWiZv9PNPlNqDlinlUr59/cbvrxVSDDXtmtVmsyJ44Rr2MDq+5Nppj5o+KpkPdQ5UsIXpeukRmvaQ+KfixfUXSLWLss01uwOeAMQGBI7fXu8xjD9ysoqXVMwflxivUF5NTjfW+yu5OIvJogZp1BJ8JIp33gGSUyMtCB0NqRKtpJu/m+s4BNvttOvDxH71KibDmnpGOz+g== 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)(376002)(39860400002)(396003)(346002)(136003)(6666004)(8936002)(6512007)(4326008)(5660300002)(8676002)(2906002)(54906003)(1076003)(38350700002)(38100700002)(956004)(66556008)(66476007)(66946007)(316002)(86362001)(6486002)(26005)(83380400001)(52116002)(2616005)(186003)(6506007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 7kGQ9uaTldNp8iw1A7pYuejz+aREWYzNxOuhfUdERhP0XuYRaHZYLrBaHwZ0jG3jCjZ1TOsXVuOTbNu+MY1sRgMuXmFFreyJ8tNeEQk92l1IhQx7enMrr9nbcihF8GJ84oavTZeSPy+LRcjbc/eVVLQ9VgfC1idn+lhh+Vs10d3ejtHbldDCj8k4WY7FldAhJGZbjY+E/PoMM1rjOnUP9Nq47bL+5rQIEZJv94ROAnG5wj18NIVTDCKBPqucPEHqa43dtiurOS49nNmnJ2M8SKWekzujp3pLQSA0IirlYseb5tg0mYb6/MINr+HrBUkH9UveW1AaF/ii6lX67rq1sy0Bwxe/SlEDktFiJCZ2eGyL8NdKLLpJ/Qx0TU1IbX1q7b9R0XvCJpjvUWItMi/yljDvZ7oFEE3h4xQmMZ92f8Od5tG9YcxM7AvUNp2A8WLt5DQkMLKG+S5p43ZUxkCN5uVV2yjSXs7J80C/tIxPqswqGvdiP6YxcVw3jau2HvSoncFhcFYjzUEjga322yz0JLO2O/jRm2Kw8WGxMpxUrnG6ii15D0rH0imK35Q7Zos4P5VZVO6SKPWMvKNQo9nrLXX7BD+ncRiQOV9hSNBC93IdSFN1Tp+jFs8HG8SpaTjHG+XsU6uGdV+wWiElZmRorpPz08PAq0gJ7Iqf9P4gB5tDgG8OMIYIoaSNur66UopFTPzz1IM5Yya55bQvYdLyrrJeKfqj1sUD153tmFWHdSQHReqjnsSNr7UhQZlxmj3j8O/WHP5w2kcfb09nYZ/kCusz5O0tRiF26hCQTivKQRsO9D0UL93mbvTpEfCqZ1j3Pvv6SiG8QJ4CYJfWhC8XeSvX1XhiYk/kZS/J9HIz5zSCVcUJ3McSsOXEZokmfKnuKwpOviCqKsrW8KyW4Nhmkk4UvKqVh9+BB4ZTfxJx2X4MmvSArO3NeCZoN6UbeHoPqvT4z5Z/oOicuK4FYBooxwiO+X4imeRhwb6+t8rInq9MzEGjVPqL8c9pkdrT2W3HRgbiJoFP1w4cdof3DigYvgPNGm7dwRsJI6HYL/+DQQFcdSpTuh6JtWEZ/yXau7xhcB0QyXvNT/1WJXoMH11qoUH/Sna60zCIIjziRUiXJ/6nd/c/m05vJPS9ZJXCbZME4d4urO82YoO3TC8wCecn4Cq2FzsQtXXxsH2hgMhYl55Gis7mwCCLoctyNGV7Zc0+/e4TZWmroaGrFRyiR7mO9YtOy92fDEzTGsF9TRx8rHi58AykPKjABC9QyUbkzcaCYkphRuFbZjUSsXJTYkKDVn7IWmVtyXCv4asOIAWVqgsgN+KlKJJZ0mZY3GcNG+Ef X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0475c2fb-ac3a-4bd7-8d3c-08d94c4d91d7 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 13:43:49.5909 (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: AxBWhI+FCmTDMf5gg0eL1ZIZXmuPrYkoPnpfUuKsVOp9MhiqjVaMUOD7VC6Zw9McjJdUfKGivQtYhe21gn3HUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5802 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 726ad36b7c..dbdc302b29 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -330,7 +330,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);