From patchwork Sat Aug 7 08:01:03 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: 493381 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1030640jap; Sat, 7 Aug 2021 00:32:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCHB876b3Pg5/vL0Hrvhhd3u0xiHtbQqYQPnqWcCd8gLbTXT1ZsNpvPDynQhXTQtWt0Wh8 X-Received: by 2002:a17:906:f15:: with SMTP id z21mr13683065eji.177.1628321573514; Sat, 07 Aug 2021 00:32:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628321573; cv=pass; d=google.com; s=arc-20160816; b=NTH3Y4ojVc3eI8XNsoM/Sv03rZdhdDbi2Y+NJ9OjZ2MNfqc1n0B02Q+PSr/M0jZe3a O4vtLEFJFIwgq6hhz6b1l8z9GhkDnPkdxI4Dj2iKqhPEh0OvXSZ8vWihuYnw3tfmcnlD lXXXFXD96Abikx05m2/Zdw4lvOru9MJRIS0vkzdhA73s04PcSnkElwnTYC+A/zrrQrt5 OMX4MpCDol5dgrsMAPFgsCxQ1kVoa9897WdpyazEFBTEoESrUguLcD+FaiZi0oCKwu7q zc9+fI8GsV1sNZOOGquHxFfIR3jzup1CbqbtlHS6kIbpQWsFoFX8Jh0CQnYvFn1iMYpl 7D/A== 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=W02SyV9IHmp+Tt1rfp+63b0PdZJdy0qambVMwR0RZQ1yK1b8xUwTKPI7a2miZKAlKn lvJGqjWTchjGdNHFj9dOVPfZgb51OAYtGiDksQyG12bZRcdlq5uTVJmxtRzjnQM6ANbi cIQXfTwBT/ASF+tAM2F6lwtxNNQGDQBU47he0cd/5b3E8zB38NoAMVPxaPjg5n88YERE mul+ga4gHLrGFCuZDLMMoLeIPBtwQ8rd37Y5MtbOXUiWYiMHyN+7oGoCa2FPeGilWe1s 3OAWoKeCd+tv2TIPWmSLetu68WtBU6DGvRRBZMNz+qRAkYntUqrxc+9Z7DhiuYlei/Hi fP3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=XlyCCot5; 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 n10si12261802ejk.210.2021.08.07.00.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 00:32:53 -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=XlyCCot5; 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 98A508328B; Sat, 7 Aug 2021 09:29:56 +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="XlyCCot5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 20451831FD; Sat, 7 Aug 2021 09:28:48 +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-vi1eur04on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::604]) (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 6090183265 for ; Sat, 7 Aug 2021 09:28:14 +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=Hsy8xj8SFSR60iPU8t9t6LOZTkjjKCcX69AymJ5N3Ki6byhI+IYT2RQeTomR/nGWMR7uoc1k/wqBLzwqcfYUp66aVOlVTcavnL/oNKUJb3p+9aoafBrfeTkEuwMn1uvivnvrPtxEUnoGso5/74S8i+cAEbHP8PPQg81Ki5aE7SIiXbO3H9GniUanU6udpwPg+UYdXogGsBdle3cfi73tHV3wu++61BbUHKxvGQnaJa65Y1txK/I4tuVkovDfa7DkF/12NGjNY+REzl83SwGAp80tLCOxKGAw8iIHPY8D2+KqXJMhQrfWypO058z0qi5y7C9HbaSkCAruCpBlZpnBsg== 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=kNyUEJtuFKGDFRLQdQaiIksgzoJbK+e28NluObpcxfkweJoRaA70gi87Jv2Mh+lbBw4e5ZYFbhbTvXCbZhDPbHeY1ZLFA5RGrEXtCN3Zvllpcy8/0t+g/BAOmGxLE9ULwn8drtiD7ps9wVfJj1kFqkoSUaj7hUHB+j+6GwrNGUQuakgYEtmhX3xvwmnOr4jrDOxXxUNS1yfEO6IdA/AlF2g/UQP1BioyfpRIoTMO7Wx91jRGRoxRkjtbYdPd+wr6r+mTuSKhZfcdDKL3WH0HxTwmSGZabVrHPgfmhRVVrkGgcWLpRT8PrmsEtaiLeNdQ2RiaXEWdry5u1/udBkK17A== 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=XlyCCot51ayJErI3yVFIJgfLNWRJIZarI29ikvhw0ZK7IvmlKfAedTwJqN8H4pl/yEnLbTktv2X1nc4TMsQVOE/MWvcK+/XSw/PEiJe5IFz7Vp/X1QJSHV9DrPqyY59PAY3gYFrU87fRgrwbsc9YNovKckgOEcRjYI6Tfzi90mU= 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:28:09 +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:28:09 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan Subject: [PATCH V5 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse Date: Sat, 7 Aug 2021 16:01:03 +0800 Message-Id: <20210807080113.16020-35-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> 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:28:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e93bf624-913c-4bfc-9812-08d95974e7eb X-MS-TrafficTypeDiagnostic: DB3PR0402MB3658: 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: 6jqV61Scxb48dD8SaZ70WVT8DW9+IiKiXY90/Hh0/ko0EIKJPdPXcSnrPdk+ofO99T8hwOKSm0cmPpJsb15sAEF9LZCfuafOhl1g2C6yPAxSr6zU3fOYwsSySW7NRgA+M1yJoyw6O3nDzNRso3fEtVQoBZ9O9MVCI125FsHAuxML5+1RBt05/xCGyj7YD3w5QBBO5bpYPO5255qiqSv3GgPRD1fECgSvvnHiBkh/Zr5wrrCiWgtDOmPMhJreif+tg/TeaOYfiMjc85IVk1qp6fOkl2Bu+IQqt/4/8n1coCYQvxmXw6MXoDWN3412O0e0KTRr8Gs7NXlVNwnZM6SB0MjEoXRpqZHwIZT9/Ndk+FbjL826O+QilOU/M4xnovh9+8wUhjtzJaq5c49Kj6+gxbkZ8U3F6AX6Sw1eNcugkZvTS8g/1azACUcx9DCdFA4qo08hICKPcjxGSyr+BnJA9LUADnDm6ORIZMD+y4IXL9xmrvAf+gJbOX/T25WocPh3yIw4Z+HdJ4R+LpLvWfbB/Yl8rOxteveU7frW9lv4Pk+9w7qK6Nav6p9AiqknfkmtvprwpWODivD8JYAA6W+cC2xr+fqD/qrR9j4tcRZAggENp2Ugj7iNbJ8BPb6zYv9HWH0YBfLpz5kvKDIUBz+GcH3aE4gaSOhoc7sKWpHrdMgooPsBkOdn47mGD6K58sDQEFTuc+DKe2YOC3h3kXZCxdIYaqWQQdZL5B/VSYS94QY= 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)(6486002)(6506007)(2616005)(956004)(4326008)(38350700002)(52116002)(86362001)(5660300002)(4744005)(2906002)(1076003)(26005)(66946007)(66476007)(186003)(66556008)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: mZJAmjMMvBehuazzg/t7VWtoUpnJhLzBSiqmVkd9o0O8ZwCZouyNfRTD370e+oDKNfNPrNbqlQVjlbYn6wEF2bpkYFddl2zRqfuthf4P4jE69LJ2knt1HbRPgRO1fSAYBFokANZ9mXhnfqnMOcsPUKJV29pkTAwKND1OHLA+LZnEDwxOj5dyMiZpyYAl7inYHmQ+MGfbSSj6YNYvYXrJ2msZrYaVKnFfp9r1p29QiL64F7ONfwe9N1x1M9h6JmTjgB7vdhf+G6NEiyIZ9BJmKr8ftQ7mXpiLxKz5X4R0EYGxZosMwvneNqSx2H4pKK03EJSkP0cSWXzJh3WOIAPqe6B6GLJHqyXqtfLUTealV9T2CZ/N3doWLoH81anecVkZieEPKqIVCk2M7qjpIy1VOqgQkXHu0L4JzEjKf4A0cKc5CTny3R+em6LQ7WbGqtWdRsSg1EK/S9Xx8MttmHMW5o1dRoLeeEO8tUfMTPBAAT92QvGcqxOmg4yzqiiMYbByW3w8xvU9gd7QsFl7GURr+XuA1ZjOmAj50M8trCnwE0b88u6pkerOJsN2bshcTwbcuCA47bF0etmbJa9MzO0IqGpvUiXf2XOBL1iO0lzU8XPeJr7+QSyCPO9Fg+j4cWzOdX7UvZp+ZfC4cIWOQdiq4bA2i8ZOKP5CyX2OhIwcBIxU1kb2kwlbs7yothmbfIxpeqc6QWT927NwiNVYYJsrbzypI9e/5kttdlM+rdp/sExmRz4S3rA4CxSpFZHjlEaDD0+Rmd/wGDs5xqfcTxUvCTGJRUHQYUto0E1cTia/jhSM+iZEX6ioCKs/xeYBfFxBVEsyi30dZdjMQqcqaMLNJrTvKa8UDmCK7AY1L6axlIyDfGZCDs2NPtAo+BykXdYXAS53PGCaiB+wjcThgbxh52y2Q5CAUvrIoYCqna3JADBrXWuB7PqafPMP9yuGfFGb+rl6UPnRcCMQYllzL/CkV6Swy+lF8Zmt9ULxarnz/JZ2F7nwteZl/VtIHMRRr2sd6vI7+ZJWm9iMjf2cAFO6O8axskXW2Ew/SJ3nxGBbtFY2dWZd/WASyVajWiv2+8WbNJMSlfQEWfyGjd7Vt24gknInCFrOh3yRgno4JTgBs8gxvIq28XJqjudUYfDVzroTGMMkfdAksCN9yur84GySGccRaSRop7kZL528ky2TRKKWIUMeBcoBH2/jfk+B8kqDbrk+IjxSkgBW8e/hBPXuGQarRClH2mwCm67rCDmPlRZRdIExpkqA2kpbgcON5u5MgSp0JUWzGFTPM7gp7DM25Qflx2xJKOxG8kux7Moech6+8EQEXmvcgDMPzBv2yBOp X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e93bf624-913c-4bfc-9812-08d95974e7eb 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:28:09.4769 (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: MXEYZgUWm6DjdsMkxxpYFgNOjT+UbsriynXYMY5Y3M35O/TalsgKWNh83cOdqvw64g5CiYCRfLYJqF91CDaeXQ== 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 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); +}