From patchwork Tue Jun 29 02:32:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 468285 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4509010jao; Mon, 28 Jun 2021 19:06:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHiaArEbPeEGwGFkjEX1KDVfsZ0FdVVinCXn1TcNCZfikProcDV0HmRn7nxZYEOjyYrmr/ X-Received: by 2002:a17:906:16d7:: with SMTP id t23mr1219090ejd.424.1624932363820; Mon, 28 Jun 2021 19:06:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624932363; cv=pass; d=google.com; s=arc-20160816; b=dQmFxGlFHl0HnMH/P/i1qZutXRI7UDEfV0b/tpdbS9F5a57XOYEX7Z+8ekNHygSyvl NOEAa8L+k9aAlLMqrWGvuuaVAzebaLxOw2l9thDtx4a1ooFDpjx7FicddvywRYyDrTKT uzDq14OvYrCLQ0h3mJeInSqwfBFIhYmIC4U9tMBNjVBOfgVMy5qAStBSGOx/lQn7l7PD ha4l+8OZ3zKEeReqnuV3ahC4EtHJ+I0dZg60Kl3tZIH9pzZCsinSrYX+SfwWbekmAchf Rh2uiEqq7CwiQJEEKLzMC5UZMmUJrZXI611lGRrJ8KUcsx5T2s7Uj3vVIeUHAzgRc40y VhGQ== 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=k/VJi1XdV9cAwZgCmvSEIpoVe23D+HGleO1qMSLAzK8=; b=jk72nSQY68Ap5cgR+K6PTxdvAp1boj4ThG6i+W1wntJCA36UgE/9NB6SwsMLkcr7NL FrymVpeA0t+4gRMQeLOgKW8XDpsVAgIOQDwE57XpTQ2tADFX+WAEbuBx4P2+N8ZxOS9G fSuytwDh7u5GJ2YzVKeKALWdXlIlMpDvuASyWGZNAbHAMaE9XtrI0I48AxEnhr7A+t5n jN4WJ1RgUyZfbthxwYpCReob+krjWHspz5hxmqYtV7Tl4zwogBHWx56vfKFYzWy3QaLL 1GmweqJQOjisejC1rQXdtBgtcpSQ8ZJGYVoocmhfz1s+NT/I4nwkKla34sQguS0c7Vkz z6mw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QZM6+phq; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id y13si15607062ejk.289.2021.06.28.19.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 19:06:03 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=QZM6+phq; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 E9C638316F; Tue, 29 Jun 2021 04:01:34 +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="QZM6+phq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E544D83132; Tue, 29 Jun 2021 04:00:51 +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-ve1eur02on061e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::61e]) (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 6089283132 for ; Tue, 29 Jun 2021 04:00:39 +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=R7ROzQT7+aMx9PqYvb284K34AsxtCo9usRAwiy8xtsMaNSoRjqnMHiN/10kZdCxwk2ObnknTVDwkt/5LWwRBzQpAetdXVM8A0LJ3t1P8JYALIn++orFZX4VozlBWSa7+OowQd2jELoA2ZS7UMdiW3WLuqzA9SKvONOjvfMZMKLQvz4BKyVC8li/QIVFHyXNl1cXL7hTUP4zt3LXXzdPHhHxlP+S2m18wYYgCDCmMAvC52qIgZmHoBrxKUIC+WK9z59Z/DxaSz3T1X4eKaqjBq7vPTIZeKPF74wdVRShtCYD4Oy64uL67VwEzmeqYI3+T0DdSq+0G5ex64iBIJuicIQ== 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=k/VJi1XdV9cAwZgCmvSEIpoVe23D+HGleO1qMSLAzK8=; b=lvMFBgJSKj/wK6DTrGxiFCjyDn+E05A7TaI1KjXwFVe6Zr+FAEpqLaCI1bQ84U2+T7srJSHiJFL1lyaeEtQmY6SP6WmUJSta7A+geZkZ378+STvtu6YjlnnmhAjZqbj+SCtUt+BxRb2T/puO7L3wr7mb8icFuaK2GkQf/arpB+IqlTlDunDGG+Abw32lP6xkSMXLj0IHMVCIfK6JYVeufUQkoBx1g4HuLgrhkwulB9u07xEq+f8ypAJFkYrUKROTG7lQl3VV7A5bUFyHIe3zf/LUR6wbF/SQwOK0itGU4sijh/ovXtiAaKNCPYdRbwlKW5XgKUqvNcUMRIq4JFGAUg== 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=k/VJi1XdV9cAwZgCmvSEIpoVe23D+HGleO1qMSLAzK8=; b=QZM6+phqanejFJkc8Z/XOfEXqki7vDFotVKJOOnWV0CF9EKnrax9SqrZZoetGgnIGhHiAt1Xw+fsOtpZ9X86UqrUzqy6FHHwVRHfUlBzHsfq40hIWpZgwgH09S+CbDA2Y+U8dbrcj6dEP8SFwKX1gXBkWNgiLMgm+EMXuEENdls= 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 DB6PR04MB3126.eurprd04.prod.outlook.com (2603:10a6:6:7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Tue, 29 Jun 2021 02:00:37 +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.4264.026; Tue, 29 Jun 2021 02:00:37 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH V2 34/46] arm: imx8ulp: add dummy imx_get_mac_from_fuse Date: Tue, 29 Jun 2021 10:32:28 +0800 Message-Id: <20210629023240.22394-35-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210629023240.22394-1-peng.fan@oss.nxp.com> References: <20210629023240.22394-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) 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 SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19 via Frontend Transport; Tue, 29 Jun 2021 02:00:35 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c9c49f3b-eda7-453c-937a-08d93aa1b084 X-MS-TrafficTypeDiagnostic: DB6PR04MB3126: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1923; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4RV8k4QR/ykFzMTtxeQ/epf6vg0PZ2MEKSElqIuaNv/yAAApJsSlY0CVdSYgUU/nTw7uiSceA/3R1Dj1/37uUMqIiru/8qbKWvbAzWSJT6NeqioBFYLYd+R/Fy2dSgN0NAAwC95HzByN6NGQvPp2ryz0FIRz+2gMgBPkkFBWFPqmx/e62rnA3QoQpujKa0mrufq/7d4PamV9jg4Gazp3KBzg0rUV9VG50jGV8s33Nr7ttXa1nBXXNcpwgR7YnlEgL6W5BOn/A7IeNLCC1TFWi1jgS0Rgj4eo09yvEgXlCtrhbKVKiWTw/ghgoCaG9pCh17FJDazvJ4OSguqJ9VbAjPY4EINotoI+255mNsHsy6Ob17Ky5bk7iBoLBMZDX9hje1f8aQhJzC3nYohqe+tgRneaLSm+Tn7tH71rnHT80dMfI3pFDmCXKSaUcgIiT4EYbZ4qczGzC3/IHNIiZsechFz6nfG+MMOLbkGDipSp6ous+YMTWrhIdGn/wu0rWQjTOE4GvqHY2jLTJmZtuu83SwBRwrZ+IW37kKtPB+dx3s64CGtvAojbnnrfoNxDypjdCK7zwkFQBUOcRasgXCxSGMuNVks4ytarnoLSh20kRjG/ppMSj1+ofC2r/kmBvo0CjbjJjgiceVGpE9SRufDKRTYr4O6u3Fkau9YNANemwPGrDGAJ9W1ydsdV+36Hz9e+NY9dQXmwRXpwsNMFnRSjGowV64FEPeyo1w/3/gnVDko= 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)(39860400002)(346002)(366004)(376002)(396003)(136003)(4744005)(66946007)(316002)(38100700002)(66476007)(52116002)(38350700002)(186003)(4326008)(956004)(6512007)(6486002)(2906002)(26005)(16526019)(66556008)(8936002)(86362001)(478600001)(5660300002)(6506007)(8676002)(6666004)(1076003)(2616005)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lYQquhXCxMnbq3vUIBga3E1PTvyuv2CF0++CqIhssq6E4vqfEHtCWIBZ6lg+uFlqlrB6l/reRwgzBJmfwpR+GSnk5hyQIpGu0ufz8WkjS04cxSBrQ5TcjkAiC/prKd3SO1r0esmYRYbPB51DS3Cz/rHG5UQe0xQPfdjZF0Ndj/DsyalY4QMDxcdnKhdLVwzGVHDx4M5X2zsib0B5HrkcUULX1AJ1OLZQqGYWK/e+fDdRRXx6nHkrLvZ+ueyhz+taRpKbQAIDIxFam9eusBTxGbUF7SlK3xocjTHRdKYS4YxUZ6WgriAMiDz1UZvm5bGG0cEm2tAbipzBynv/tWMZ9MkfDHld/T/xU7E05I+W4OJo3yDPLiAy9DfiytpCAP1mVU/sT6e1MkFRm+tGOkyd2ltUwh6ExCnEafFCueNumYKl9NNxqEcpgkM3S8V9HQTVtAOMmn2gLBr0GHLgNPBugahi1VTN4R6+uG4SMuhHnHLgFRVlgr7ps6J+UWtW+Tkrs15WBOHak2CtA7kw9gaS8iCQH2ezX9TZ8Qi1LlNm5IL7yVASoCvuuL+lktKJnbjbDWIBcP2erJFW24ZneTqlx1FfksrVdBTmbjRztK5x9MJByBh3SXVeiavMK1XpLN/0MkuYlHSR91cIAsUXOhZyuARNZ90DpTj3U8cb5vAQmkh8g72Uo4VMT+gnkwYoocnNa+Pfl1fjYLuN1/obRhmtos0QzFPhUKYza+qrjhTbWd/tlWtTfujuOBMiFTBI7EVDrNNmt4OAaEtFe3I2nPb1KkbAmYx9KXY0vrRSZ5/nhIiFvHIdB8rKmG5fZgutFAhjr+dhBJODqMru9WMjacXjwlZsatzQbjt6z8QUcq7htaQ0k+bdolbuju7/ufd3BQhkH17pwoBN82uJvDlYRNwaXgInizIkdksHW0qqyn8FCKtzggnMbdLhnCu5DZ9Mk7GrUWGLd4JMDTAJW+whO1soH5bqDBLADbYNYAeuw/Vl5pWUnJa3xAmVug5VOB8vxT1sv0UReuzvhk4bJO47im3jyLIzRr1VE9grybmfjBvJMbKIPvX8SoyRb6wgdYelHPKwZWqVo+Np7rhJILheZC8phFgjhw+4cJn96RQsp20EHK5Dsp7rL0FONdD9ccBFcE/z5XRed86FUfJsID6hjgabaYS4dXqcEFWZjmozlCrUzXFUtVNH8ucd3wBaDryeVuX+spMFdCJ+qVg3JcBYSFeBxGGVpqC488my4+oKXqQtECViOH+tSn/fdp7JwxWwq245znbRVow3EvwRiTu9mESwGSF+M7aidoFCseMHctJYbH5Spq5KxfK9sUGg0C7Yt5ox X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9c49f3b-eda7-453c-937a-08d93aa1b084 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 02:00:37.8388 (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: 6pvOYUbBSWwPKstu8LLrtNh8GtuIvfyU8KY4F+pd90+snbd4hqzd8GPA8HsQx7dtJQogOCZOn51I3+3gJhhfVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3126 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Add imx_get_mac_from_fuse for enet build pass Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8ulp/soc.c | 5 +++++ 1 file changed, 5 insertions(+) -- 2.30.0 diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c index 39156ab543..513c4166c9 100644 --- a/arch/arm/mach-imx/imx8ulp/soc.c +++ b/arch/arm/mach-imx/imx8ulp/soc.c @@ -531,3 +531,8 @@ __weak void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) ; } #endif + +void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) +{ + memset(mac, 0, 6); +}