From patchwork Mon Jul 19 07:47:24 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: 479823 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3870572jao; Mon, 19 Jul 2021 00:20:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlnv/GvaoNXzUq9EL2oj1H361Voa+QTT+WS757hCxXL3cPPLNt1AxXTvryyM1QvNLjzfIe X-Received: by 2002:a05:6402:34c:: with SMTP id r12mr32345598edw.278.1626679218777; Mon, 19 Jul 2021 00:20:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626679218; cv=pass; d=google.com; s=arc-20160816; b=Agig1ABuGpYPhMqyUDAhN0sO12n9Tx1TVQXeRVIPHjadVz+96pra8E4dVUsK7Wiorn nY8AS0JtSLasCzfSi04k87JYUcii4+fXoYRZzM0HlCi9NPmW+2JAAiU+/chnufZ7bjnj MUHFCl3UcxVYzNMvxFyCOzQYZrFU9zgafwG1nzq5QM/y+HY/5+P0ezscwReEw4oi8DbM wTVEaC+XOsH6ogLGT6wemDemE5MuWpnsRdeVolhVQToQvz5uJ9lSwjXP8VRlGGYsbL9b YTrEpqTqdx01l2l+3+UP/fdoEoVdVkwLSDTjjy6EpRDMWOqyYLBtT9v636z8HcGr7d58 qp8Q== 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=LHhVtm/SbpWVsuVHmZtuF1O5MtXn4jcZp8pTgfMNKxVhPU1PywK0zMFAGjnUH9scf4 EhJDj/GFmdW+fkBDF5lDUYZt4bVRkfLaHOpWYjS/5jMap935riSf9uOvoWuzc6+V6khJ Sso1zoG17ut5He5liN6tpDL0ulrsZAgYYCjmmi+rYGOaF/i6InYEYVCb/Ygjw2siJfF8 A8UWWeSZlTakrGcnVPkVhmr70I1yzVldbHyrV5if5AhUy5qQEMvMhed68FnMA0hsW/je AEg9zBqc9z9vuf9bPcM92zEp92ZIisMX+NJDuln9C7I4QHB7TMtq007mreCR8MWBbz97 jo4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="g1Q0Ml/7"; 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 ne23si17937567ejc.125.2021.07.19.00.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 00:20:18 -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="g1Q0Ml/7"; 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 7BBB282DB2; Mon, 19 Jul 2021 09:16:11 +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="g1Q0Ml/7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B1A2082C8D; Mon, 19 Jul 2021 09:15:08 +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.6 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-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0611.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::611]) (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 87FF882C7D for ; Mon, 19 Jul 2021 09:15:02 +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=Pn/mSewLCln1HQyfk86o0C3F8ZDYfrxTUXpAPS9udVXtfi6geb3GpPSwFH6IWmGpQ1i3XRN8iR5C75aS2u+zmJeMl+4BLG3rOjP3joc15FUhaqzVYqGx9FwkzOIGVthGAn+ag34GOjf10g+wCFdHXNoC+7Xck+e+ImlSC4Y5tjTu0xGGlGFa5Ra7i+BtmG8UlFL9JWc8hT1CkWNoroz83TKX5bIml24QKLEbwtcWwWVsvJExAagPsEhuNgC+ZYQlrbRPwVYkRPPCe8Zc95TmjlaJ1yYgDfDS0UjUUPa/ofOA4RjhRFMoEHKQezWnFpC0JoJP/v+M0vPPcN4HhaI6Rg== 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=IGBYBqjq2NgT+Lo2jATzBfe0F/CZ+HinUf7LrVSXsOPPwD8Oa2g8PdVmA5CBC8YiLwUPsF2LmPqS26Y7Kd0v9YqzUB8J3CpKT6irCR5jVRISQlo6MTukpxfefdqdvAi8xDH5o9RYVOa8AuPXz2KVoRpWiW8uM2LZBGk24Y/sQ+qGTqeOB11G2WNBJQFH6y06yt/3YDKsXcJ/UtT4ovtWgm+CByWNqmHB762MvbKND6nrxFqOBswsjKblw3du+WPNC0oyLFBn9ncaSg0Jy7tzuR7PVFMMgDgpxaFYzEw6FhYquBTPVRr/7eXa7OsBt06/hLG+IZ0s313onG8I91HM2w== 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=g1Q0Ml/7kzw0sMA50Ut3t5vZ6nhbsDOKtTHLczQcic560evNVJ+DS+SxfH2F6kiQRiB1a5OEsjvMVVSa67V7hNS8XSW+nKeeQ7JkvnGV3zKOPZDa+5gC4GC5zMMlNqqu6elxjuRrCHqsPasFunpMfRtiVfqh0Ff7Qgatd6kiwKg= 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 DBAPR04MB7302.eurprd04.prod.outlook.com (2603:10a6:10:1a5::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.25; Mon, 19 Jul 2021 07:15:01 +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.032; Mon, 19 Jul 2021 07:15:01 +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 V3 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse Date: Mon, 19 Jul 2021 15:47:24 +0800 Message-Id: <20210719074734.29170-35-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210719074734.29170-1-peng.fan@oss.nxp.com> References: <20210719074734.29170-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) 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 SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 07:14:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 45731a76-0f20-4c60-705d-08d94a84ec22 X-MS-TrafficTypeDiagnostic: DBAPR04MB7302: 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: RHBXj1kdycWZ24fC7IarmVPrTj8clHj9SPvf54A2bOFPDfQXgOPFmF6L3kKMCtLvLMlb0x7tCJZXPidVjhpgpQkpwFUKZhTQq2QCV7vR9nx+Lf8p8q2XsArUcd5l2wSpaJy7eRCc6bM4VKeGcl7Ipt32Dq/LMSj8nfX388eEAlanUOq5wCseDZzfCuJrh5y9J/ZMZvcmDHGuKKefrtWGYQ+8tGasm3PAItZVzupMQQOez3vg61vwb3wPU8WJr4ZaEVTbONni+IERLz9HJIzn/o8Ml7zuJ6nqY3GdOqYS8nUXP4xcPtJgKD1HGBdEuD89dG3Z9BlFyrbvOAsZtvqY+JVRbYDbGKlGjnd5fv4L5JgtJZSF4ksAQY9IQUAt+SMgKx5tP0sJ1kQIoSQ6wiIYHSa9kiSOhVKYPOng10C48VlKSpGo5eQEE33uo/cILiUfHCUSopzIaaRW4bXibGnzyZk2NKkP4E3pzSXumPEuN5XjVMJcJKBYW4zPOta2WbTIRjAA2MYTBPLcHW82w9gzCJlV07vmibbF96gsLdClYz81Ptc1iH7hfiYXZqeEwyNdQ6CKAzY1SvJ2uZBe8UmGeK4PeQe5UmYvRjipzJ43i15W3k1cP5KVrPu6sxW6MBdM1pwuMOEHAUyK1XyL+HSk0mob7KipfqWeWz+4yIw5Soo/8AvFvDZAwExNvVzs5i38VQZYLZHH6jcLTho8FKfA9BSF43otJdlmEMqklJArJco= 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)(2906002)(1076003)(6506007)(8936002)(52116002)(186003)(26005)(86362001)(4744005)(316002)(66556008)(5660300002)(2616005)(6666004)(6512007)(508600001)(8676002)(6486002)(66476007)(66946007)(4326008)(956004)(38350700002)(38100700002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FOtY3syNLS+L010jqPnwAR4LoCeYk+7RhpOdpSY0ALrYPJ0hjoqXdjIGawAKr0yxBFKZIZ581stOmThV9PxQbHULIsaTLoYkCYI+Ttba9ybvh4ICRi52MPTFqdOoCczgeLCTVEoPpi72EIqmBdN+RqE27k5mU154Pt/yIhOEpqV45Hg71bDkJUp06OgfeaDzlv1PonYbg4qJ9xwF4EGlP6gdJWoK0oblG8H1KQR6yWCfVEX+dbKCJVtESl03VaUqFjruWZtbxxPLltfjA7SPXDcW9q1PcjrLb4OU2a0W/PgImq8fKG0jVonAC6bo/YJvIqDnaGxNQGQL1bawHJ2t21PIPVj73fhkJc9HjxQZ7YXUhw9O4SQ2DLK35FAZbwTFtxjSY12oMQ4U/5WDMUSLYSpgjQOU0I1+vEtcRThYyB5Ggnt7U/GzLHFI9ctgSw/IQlfe0Wcl5ZqN4jSMp2Z1lTn7E2ZugfAwur+ow4QMdfs5ENm6CJ7jHjCQIY5bBckMTNgglxDVAsO/iTphutpakxwNTYM99mj0FC0o2/R0f62g9Ym1JrcpCqK5ETPy+SRfjS5bacpY0pp4lj947ksDrEJHHTu3+sMW5xzvivizPyyf5mB2WKd+bv38iUrA35hWTwEkpa/tZICT0C771kiT0bS1jLXUOUAaUUQj/7JYOKnyeeL/7GiFoKBFCJi2Pe30R4085E8Fs3E+VI3noTn62vVsgEcYZ9GVRhjXCsbC7f/LEQ+s9DV6/0iiLLHA2Q1FW1GBCoqaBewXDIjwGccY7psOakbwr4yrtSGzIE7HCidQxW5tFyKZUNHzfopF8BcD4oqQ+qsSxA6kDwkWmv+dlD9cdXK+9hEzgQXadLCtTWIHWqrxbFF1kNfhVoPHAXOxziBY8Ru/6kRPYsnnv8hh5TgFZyu9xJdB2S2obGBolDLQTNOsdkz7SXjKYzCxJRM9wtW2nY6BK1VTR0A62Zm+c2ZdbvbW5WpW/NGzl+8zrZ2jzRzstlFKYiN7dXLR6yfwCosuomuKt3oHZIqpB00feAA+drwXopY9g6cua9+tnQ2Hnd9txyZtRpVgMlT/olXJyIi0hJbWtw0SYVR4ZjpF2SyKQwlsAh2ndZczlmMZylhBlagaKsTVmZG/Yv6kUUVEXwP6OZZJqkMCohBPv7G8pS5Q1NGIbEQG8VAfDCZQE4RnFK/UTDnRFE2t5SptIEok66GiddKQKvTJ5Hebbx+zUx+kES9qu3JNdXpzgcAJseUSgK9tp1aheYoy18xBDXTuvVyUfUXo5f49mQMw4g0O2Q0D/gkt9iSAFlBlHaPeqlt0Z2Labt3qaubtFUQW+g0E X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45731a76-0f20-4c60-705d-08d94a84ec22 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:15:01.0592 (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: GG31l34tPw/1x93/VVg4Lfi5MwvECodjw6zyLISTdkFKj6dpiejCEHomH+mBv0wBrWG/aL0eTONlxGFir8u/ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7302 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); +}