From patchwork Wed Jul 21 14:17:15 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: 483305 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6215246jao; Wed, 21 Jul 2021 06:51:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHB+78JkENWoGI1YNZ5iswEeoNCFvD2KwQtsdcFmCIPjKYRA/BSbCFEJLufanUsGsf2FDN X-Received: by 2002:a05:6402:6cf:: with SMTP id n15mr36124303edy.362.1626875498301; Wed, 21 Jul 2021 06:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875498; cv=pass; d=google.com; s=arc-20160816; b=uRZE8C4znnmGUcDFgbtHXCmcoCcTKmt9nc/Ps7PLAWNpl/YsNO5LYaiIjr3d/TtDVP O0ljQrcF7iB3qlPt9qeU6SbsDW9trdaPyxCRpSr9wT+j9Pn5pauPjka1mmOvFUqRUfmc 3/eMkfL5+BCNBawys58Fj93OE0OWC5/GbbejzSdnNh+oMBBJaUN8hEZ1Drd6oHcl/pz8 ++IL8aOn6akQzBBv//Qje1XwqwA4Wv0AB+A2WyDoq9Ny9exDwCu3M0b1JWPRepD2xhAF 9WS1Y8WebPYbv8pZKHEkRaoVh31aqsqwcMs89/hI7FPzFNEQr8OqM9DunrgaX/leFE92 roAg== 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=xJEH2P6S3RirpQzT/icLbaLU2lO8Erz/7s2oydwqEZY=; b=Rl91iztMqpJqfmCtBR3vArzRP3GBuzQNFUwRSv5m/BjXAozzyM9qp6lqRYjNCA4AP0 Jf/eaa0OB3M/ZFePLrcdgKzlpQv+IwLJX25KbYGtV0EQG4qRhDerm6/1QCB3IRxbAul5 VNTjKGbeACZIgLNrwwsqSwh3k/To3WNCdpAIxcVIVRys8d0gVrYRRcz8uYZX4YgtljR3 yF1EE2bI43nX6fq1cFclxKyScrRwK5iLr4rz4o9l17H98kC1wu+M4f9IX/Bh0D7KHiNv sUZRQ+SNdw9YOGE7pvrZoW5PQiPIOkarV37cjo0Q+SLtkGeB0qa9J8yHJg45VTvV4vlH EXgw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=gxmnbIo2; 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: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id hk6si972911ejb.587.2021.07.21.06.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:51:38 -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=gxmnbIo2; 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 1C71982D7E; Wed, 21 Jul 2021 15:47:46 +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="gxmnbIo2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9E8D082C68; Wed, 21 Jul 2021 15:44:55 +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-vi1eur04on0624.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::624]) (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 1858D82C6E for ; Wed, 21 Jul 2021 15:44:46 +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=WHjkL6lUhLr/6rdLKwB8lXh6QcnWNNpH1x4cDdPHivif8NOy8uuUV+jn9eHBmvCCOx0CTZ+UPg7Erh4uk/J3kI8O/NECCjPr8TVZeHhneMC6VQYg42mzH2CpyC6NCrZZ+MY0lQsMV/WSLUf4XNZp7Cj90COXUMD+34EsLf9h52gKkd9lheneAwSJRIsc/VceJKnpI1F5YuYsmTPNADVvOiHn4MXFcne6R8VSgHlkWdrt8ojW1swILkPXKiPLTwhXJKbmX34c/zkn7V1SksE+Z5lqLTFVg92GiUKYbxchr4UvUwl1PG5ra0y1jBe67HmGjWOcOtNJyY3Cb+kQ98dZEQ== 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=xJEH2P6S3RirpQzT/icLbaLU2lO8Erz/7s2oydwqEZY=; b=iDab6fCavUnJ82LagjbLpmHax3jMn1m2hWaVNEL2UGOt94bwb88dT8OyQgaMJ5wEnGYkUgCjR3ZKFLz8EK5QLD2UK3xZ/8t0m+D6UQBcsVpNGk8hbABNOyqGUiskYfr9OzuYcykQgEMdR6ARglxwP+8TQsDsoRk8DViibpD0G1DiK/WRjubwZ/YI167fuJv80SngtQidgZFRTyDpHNyGpBITmOEeggQgNkkVtQ4PAZESdIxjHOxtojc0tBIis2radYLGWH5O/WKm/g+L4pEH1+y4wlehZWXht1QofPyZDz62RuNGHR6N/eizoxniOW8v/6pD/w5FvrlA03xOBt/P1w== 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=xJEH2P6S3RirpQzT/icLbaLU2lO8Erz/7s2oydwqEZY=; b=gxmnbIo21t+QGQAseWXnU9exF1PpyERiqqkc7TXxsv5dg+QXK8owO5QfAMS30ARINShAgnaoLZGRjLECw75JKyHIuwPgiLmZXC9+a5pA4fyvG+dLEwF5oE9bJ80ABE2PmcthL4p7DUtzTyYqPfdOWZlv72dFB9zmZxn3NIuH3BY= 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 DB6PR0402MB2757.eurprd04.prod.outlook.com (2603:10a6:4:94::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.29; Wed, 21 Jul 2021 13:44:44 +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:44:44 +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 V4 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse Date: Wed, 21 Jul 2021 22:17:15 +0800 Message-Id: <20210721141725.23346-35-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> 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:44:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2e6a7b2d-ca8a-4606-4da0-08d94c4db269 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2757: 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-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z6En59MFUW127w+HIHpBfcXmI8O1zZwwECCdhAAfLazShRtgOkO9pGVsIl+4XbqNKBEBwZPfgZhywFhNFQp+6fQ65ymUYNIOICz/V82TMZss8WPiMGqtwTrFnaAc/Ru9CyvCqVtPwHekWsz70YO2lSW1OgoyTpv/J3+1z6TxThEu1klyQ2slzC+cJLaWiga7ctxTHP12+H5nD7P3AmbGXCe7Y2JCbfx9KK1tMXSfkFLu5NtQeCDcTddZb7GB1pfD8ohALSr1sw9fduJGAOIJNpAaB8VeQZcZmp++WZYXI0uiNkVNnw16X87xCj018XtrbC9rauR5MjThARVKaQEic71sI0pKXdNXeEIyr2WNp/mrJdXgD3cm+fX4It5J32M717wcqcImx1tr2TH7/bBvowIZZKFaZqCpgX3ggdHV+1X/Ot4f3qzBmsyIERNv0/3JvOJTOcW+xHI/mQlDyzFmm8GtqyhcFcP00z2UHMnY9JlDgOtBawoXoc0NBkyeZYNGOyUhtBg5GQpjIZVHNWetmARVFBTp4Q+Q2OKSQG4mFTZT6Q/3+wMn5y6+wHd5lDsaIRwGrEolsBAVaMc1+bqVm4Byk5l1R5vMD79icZeZB/vOueEZGcQeim5e+HE06kulOhDh19LWpnxXyKPV9M5ArwRz+Od3YNi+eqH/RdhDK46VFo14NiOZhZ/jAf/elmuzjvsomAnk8bDWhqCbqKkZJzmHokrQ8LXC2fGVBZ+LcEU= 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)(376002)(396003)(39860400002)(346002)(366004)(136003)(4326008)(38350700002)(5660300002)(186003)(86362001)(6666004)(6506007)(2906002)(26005)(4744005)(8676002)(52116002)(8936002)(6486002)(478600001)(316002)(6512007)(38100700002)(66946007)(66556008)(956004)(1076003)(2616005)(66476007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oS0j5bdoB6zYR+yurXUwA5LU2jWYodkb9s6S2zLYhSMP9VXuFd3W3OSu3mzUCP0lX5mAt4FWkWMsYzLeCBjG7+HTbR/mL91AGm7OQ67WUkyUzDbDcpd/pR7CzIf1qKL6vI++PTkAU0KJh6YjOgm/JKpoW6lDnst1RoWXbfNDS1AMSaKFTM57d21mFJYUMgk62uglBslw81Apg5AEGIMhGc+olnSiiQoG5DmpHCu9V5cmWKIpRnm+4zUNWEHQNKz1Z6+gpvfJzv7NBW+aBg9+CH8bW6NSGvFw2D4bPpLuVlH1gYZBkO3gcS6wvq3Pxoo5kyNui5O5hK28PxIfYKJQbANMQEqZMRd8sOPvHqd8O9fBvXb44aMJaod7EyJ+oKutOUK+VnG3kHW6jFhsKnpM1csfe78fP8ynLkcdXM84B7KcU/IcMWZPFKlJlH6pJuZXgoq6oe0kn9wH+IMKOxq+MnP0iJD+fcz9XXXzL9yq/L2PTwV2tabaxQXBjAQMP96qChQtXf8CI+liP9EnM0uM2zDs0QmLpwcYpkINYGLvOmBgUMVwCp+OHa37XB9DQl+7rFjHl9lYj08aw7Ngl+ojoDQAbw80d1EqCN1LnqrODg/xYzWNE91i3KA3axtmUd+dB+uyvme9qDgevNHDmjnFv2Sz6vi3gkupNj335FpmINx0eYqNGIdJywjgQGu3+ekJxotRkMGTHx8Rl5b3jRFEC+tOU9JM5yVpkKyv3uCSYKbCPKS+D+paewksptoM6Qq6vMvq/586+lNIlvC/mBqJj0CNnWB7DIBwqXDPZK/FuiPZ41LNjFI35u2MVDKFKD7xVZP8UsC+TgqGNY6LJGZpYX4iV3fa7Kzl4zHBMiSmtVJy4GE25K75CwbZRIGk7BsGK6OMTdJuiOzcYz3RDuVyuDMbaM6M2gXY7lra/yZalBwHBVnAcxDC9TrB95hSvWujoEvu7xpgvCm31eB41XX/NX7TSSTQjpYn2eZgwnUlwYfYpvHZ7L82B4kiGUDgaZy1fpSPEUr42SyUt+VI9WEtoeTED6jb7dCOVLyVR5uScfyHAPJtpgasziHYOdp07U/IXbzC5OuNioT5GtMm9uFJxAET4J+Rq2kyp1zNC4vCvs1EaAkitU1hFNSGRu+g7bKkmw5hUXaq6HIhA5U06ky3K0N82Uffl1plriS5lTjoTmq03e98bmpKhogKolD9gzFU01w9JDlGxXx2EwE0snVTWzNOMhqhiKFpSvedaKR3PLwwKegJKUur7rAFY803a+kluMMH6mt6gCuejdZoliFzzPysj65LkUoHV4sA+TBaIlX6m6RQ/PjlCua5gIXa3WW+ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2e6a7b2d-ca8a-4606-4da0-08d94c4db269 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:44:44.2282 (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: 1ZRPZmbCUkUBNszFD+dzMrVj+a8mR6gTuMEBQkniaVxsA9UzuVRYl7YPbYxKNhdkEvOzJuvxmVxJ6s2SreksHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2757 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 e5985c4cf1..0728cb9847 100644 --- a/arch/arm/mach-imx/imx8ulp/soc.c +++ b/arch/arm/mach-imx/imx8ulp/soc.c @@ -532,3 +532,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); +}