From patchwork Mon Dec 28 12:13:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 352626 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9745014jai; Mon, 28 Dec 2020 05:26:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJweOXMwl2lQiOWQRN9JejxTmKIUwu/a+bqBEUjjpGV/kgP9YK2VLlBbuwcRyvg7Sakt6jvE X-Received: by 2002:a17:906:4985:: with SMTP id p5mr32720041eju.513.1609161993127; Mon, 28 Dec 2020 05:26:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609161993; cv=pass; d=google.com; s=arc-20160816; b=xILiZyRjeFS4XZEX3yQEK9a4BhrTlN+/UBsfWb0Qctv240VO00gqNDCdOhzl1KkVEB bUONaIydBkz9Ef8SL80upxnMBxoTHwLPS1DzrNLRMl8UVeDwoejiMEkRmticUawoJVCT U31xdrPndMdgbyFDD4l24cKvS2p3BKEk8fGfSGJ7HN0plw8WzsFHpYZNU8mzIbzG0CsH BqO7FhxueRXa52JLYLJ+yl1h2o8XGK3nW+bvojzQJ594iVwxQ0sqTTiVRZhXgyMrpz4X oUIBCy6+P7hera1lIlFgCfZMQ5q0aMuo6KQB5pwFt7TJPBWyyk25/Qy45gDmN6ql73DV Xm7Q== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=ckjGC3EV3Mj36T4vlGVjNoNfD2uBoPApjeAcM/hfRUU=; b=U5CV20i6iClpKkltlt7+/RNUwjm/Z+og5lygqGGlxa6icKISuBiuyxtI6OJNohsyxq YqtXSb9UA+VXvsPCUFMdySEyYDm1KhE71yKAItHHo8j9CtMiIuAA0nFrVCszx4qmCAaX a819xFJvbYiXur3bCpW/ZZPPYLwD4UnwJQm8JWjFCsrxzye9e1hKazdBbvUDl++pBmf2 MV7uKLZrgaZAJY0xQIaFti9UiViUHlm7KeSl1Py7rzXvSGVHRvwxT0XV+PxLJDoePARM r+2CKiIZgGSKICBIIY5Aq17reoNOI1382G6XSPKwqjE6oCdJRacs8ENL0gSbe3HfA4p6 4JhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Fi+N6KBm; 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 lx7si11778574ejb.280.2020.12.28.05.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 05:26:33 -0800 (PST) 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=Fi+N6KBm; 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 DEAC781260; Mon, 28 Dec 2020 14:26:28 +0100 (CET) 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="Fi+N6KBm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E4C27823A5; Mon, 28 Dec 2020 12:44:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.2 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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20624.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::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 5050081260 for ; Mon, 28 Dec 2020 12:44:34 +0100 (CET) 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=ffooy5AxIoiSDw27psrh3bClEx2U7eHFs7tc/1/n1UFba4Uq/+hIainUP8qdP3eyAV7RVK0/rd76Ih6fOh2WobJTPYX1xqVUHMf0yCj3ZUlaQy0z2/42LRh64zsPVjyJXHXut8EFgYQbjCln5ovdtlUfqlHgzHDvGLVOMT6NiVfEBbV6CqVkkvgiOMEGeqAgMpJS4f+AMuhnt+XH9tMWvD+bnlhN6K847OeIpduDVi9r+F6gfi0XZLu6CC5NjhMwVWKWJXV91yBjYzN7MAg+wiKkrEJEybw+p439gzX1SXUBIa2kSo7z/nOvKMyds174ay6XjRhesxMPh3/4khFNQw== 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=ckjGC3EV3Mj36T4vlGVjNoNfD2uBoPApjeAcM/hfRUU=; b=IWanrnW1koyI/lHc4jFMJuGVsRPfE69SBYOzD1jJDw9TJPDPCvj+vnfMpwZxkZibUdgVNtpogf1lPkvp/UtunFiI72B3yPtGjOHkDPfK4X5k3bE0QBpp2OXjiB6q/kiQKYtcKgJwiDDYF1SIF3uNuii4+2AEQlSelQsQPDTYNOnQDXIhddAUiw0yWYrMqcxENSVBcpZt9Pp2ZEcmlpbzhwEvSQpbwn7PJ9iiX/0zciO/D7gaQ4GPbt5H2Ayuu3fAz5xnrZCt13HTwjkqMruAL9Nt2pkdMTmLi5HZaqG28bnp7H/krgpfApLOqEiXySwfYnbuk9P+0GVuaRCQ2b9Rsw== 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=ckjGC3EV3Mj36T4vlGVjNoNfD2uBoPApjeAcM/hfRUU=; b=Fi+N6KBmKRxjpBK1VEuPn2s5d11dBJMotUbaMvrr+yMXqKPPMmASo8PQY3kXIRv/E3N8BDb7T1SWBuRcmA2HX9HBnFn/R95ZPL/dJmoNr7m050QgSHQStXJ74dNz46v8cjn3cEe0bwbaEUZmpGvLpKTfDGcYXWd732BW9we2miU= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none; broadcom.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB5993.eurprd04.prod.outlook.com (2603:10a6:10:8d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 28 Dec 2020 11:44:32 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 11:44:32 +0000 From: "Peng Fan (OSS)" To: rayagonda.kokatanur@broadcom.com, sjg@chromium.org, bin.meng@windriver.com, masahiroy@kernel.org, baruch@tkos.co.il, xypron.glpk@gmx.de Cc: u-boot@lists.denx.de, Peng Fan Subject: [PATCH 1/3] common: Makefile: drop duplicated line Date: Mon, 28 Dec 2020 20:13:11 +0800 Message-Id: <20201228121313.16520-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) 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 SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.13 via Frontend Transport; Mon, 28 Dec 2020 11:44:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 81085795-df7c-46c0-be79-08d8ab25f136 X-MS-TrafficTypeDiagnostic: DB7PR04MB5993: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:190; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GP9zDjNrKUcGqEFCGYB6Piin9XEd3M4mKVx836UzrnHNrX8UCzfDXG1YXVczYefzQQPo5sbr55mrRPCnnZaERt+3By+2D1hTpqd2G/VLFOmIitkxc8PSQapXCh1EfmDi03Fte/Ur1hf65vPVhwgyEQPI4Mev60F6u9eRJv0WRqvKtPhhY2NlzlQrb4pEJXJVDoEFZnxmoGX6GlJYSkqQu/Cd6eHGcCaG4zLxZKMc6mmYtmrS3jLfe5kDcjiqFnsbVgUGc2PcTS3iczo3f6Ve+GeoMPcKz/IfKPDbjj2TPFdofpMb8ShecisdXD0xkwfxaYmqXKT1Ar4JeA7x5LiqzFDx2Ml1A0JiESqi/aMWmPn2N5sKEkZ3+6JyNAl6MGHBN2vhdZIVh8toJbaPk6vqWQ== 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)(136003)(376002)(396003)(956004)(8676002)(6666004)(2616005)(83380400001)(8936002)(66476007)(1076003)(5660300002)(6506007)(478600001)(4744005)(2906002)(4326008)(316002)(16526019)(186003)(6512007)(52116002)(26005)(86362001)(66556008)(66946007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: c6hNJYliVKUv21ipliL931bmWgDRuBia2KrVrf/4Mb5lYKnE78CQ9qlxvPVEtLnL93tatx0cBl/qYPpm2wIBZUcX5em50yDTh/wIZrjg+kDqEWt08rx2G2HOHKx5vUJzA3K0k62XJBpTlZ+ZVzfFuUvXP00w1rnLAjkxPNln89VLXlYPaBCOq+fucb6EdMoFZrwFCBWh9hslqIfvJKOX8NfI48aSc78xfLkJoIGJeyZhwjjZxAox4H3emAofT4RjjHz2L5jza82eLh8A0+wO4b3MzRKbtLMdaiCtjGX0blFnWr9EQP9mFwUPJNup8WwJu+IdZJMawyXD9UycR9GA6sc2cH9uzv1iiN79TvZcTlFb38+coDU9Mp2WO7Wd8JkJKlUh4jHD4BJ+2BWPygjndiD0fOjcVkZS4IYdlf3nXUXOtKT3XdKekHtau3fb7V3oUluLdL41bKkOQ1K/IvKCjHJu+y2Th6GT5vpBoVR0hlwDqtEB7oPAcEkCqkoBtcJ/SCv3UOAYcEFqE3D5fQKMCi1lygJPonlvj2vVywUyizrHlpkFF8PM7ZBupy2ybb7/FqrndEdI3RFFGbmm6RyO7L8lN94xt6qTNKieE2ObnVijh1XJYqbpzj8kk5aHWx7ctiNjz5hK9xr1wbG+2LE7wPukkRYjPsHotKQP5yZ4N69LD1Ixh0ByiWsFAyZ8VnWqhjecDmZqfTFRFJiKtyABMIzvjdXin9WUXp911XiMoHHlrHuF2/VjxlXZAXAm1iyqmYmozlF/IiQGoCwQetdoTImdzlugpUrGxc4+3bdCwXjsEOnzYxYJcLDaXb9G62I4qIu4gkYxw/U/MGwVLyROUTQ7bX/Hc61QrzbMh8H0c74h2cMXjjME7FDydTa13zaDnz1saVRUJ3eRZLefTlrNhCgVhIUtBGZzsXyDY+2oeMrYStcLYrRrARnnTakNiX2dfBY6+K27EBpAHNIrPNKDB9VQ6tNkzu2CeOm/bjqawxA9jgAooHyKXt7AvsvQFJQZ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2020 11:44:32.1062 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 81085795-df7c-46c0-be79-08d8ab25f136 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: E2U0hfnjIi2OvcvDIRiNVgUjTZhBy0h2U37Q/7JoW7xM9wJRVK03xuPZk3m2FnSF4km7Cly3uV7d/A/2enYxBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5993 X-Mailman-Approved-At: Mon, 28 Dec 2020 14:26:27 +0100 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += xyzModem.o is there, no need obj-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o Signed-off-by: Peng Fan --- common/Makefile | 1 - 1 file changed, 1 deletion(-) -- 2.28.0 Reviewed-by: Simon Glass diff --git a/common/Makefile b/common/Makefile index bcf352d016..daeea67cf2 100644 --- a/common/Makefile +++ b/common/Makefile @@ -68,7 +68,6 @@ obj-$(CONFIG_DFU_OVER_USB) += dfu.o endif obj-$(CONFIG_SPL_HASH_SUPPORT) += hash.o obj-$(CONFIG_TPL_HASH_SUPPORT) += hash.o -obj-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o obj-$(CONFIG_SPL_LOAD_FIT) += common_fit.o obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdt_support.o From patchwork Mon Dec 28 12:13:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 352627 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9745160jai; Mon, 28 Dec 2020 05:26:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwL3Sh/+vPZ2+Xkzq3+KqLfIClGB8FP7H5HU6LK+TJU5d0h2fUTS2mkXupSCJ8dz0OgDs5E X-Received: by 2002:a17:906:94c5:: with SMTP id d5mr40470936ejy.427.1609162006122; Mon, 28 Dec 2020 05:26:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609162006; cv=pass; d=google.com; s=arc-20160816; b=CwUak6SEnlEnxNtqP3Bo5YiAj9nkQtel4TbbauiE0mh2saypn8fDl3K90IAT3DKTAm STEH/ZVScvVjoPG3wiMeLhqYpra+p/i8lGaWRZmRAsG1YgCymnB7qpdrz9fCHVl1R99z y3L+L4JyajGYwOa9Zf5OVENtTdhMN5R9iplqwp2PPC/ogRhH4t7S+NJKcsXJZ4PMjtiQ 1oBLtxn7aD2OYee3B55+pMNovwKoDLG4OUE+30YdGHc6rPALGhzZ+eDsejdqQVDXnRl8 ZdVfQ7NPzAy7as6N5Rl8o1BAG0jk9UfYMgTmoQMep0YDNsb2uHNri8lnJekGRjegs7X/ EOWA== 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=QupkFx7SYGxAGfce+m4VTbPCmT2ZtTGW+OGzUf0LfHA=; b=WvWtsvXWMHU+haos77lRJER6hDdxV/RXW6b2aWT8ywmjq32orRoj/5Ic6ix2uF8xmK Iaar3iACYqHJv46z72FDcsDwmw0ax1nWuyB+L6BjZqxfoARGCl5lS/OTAVp2ZlyI2GTE tp0UXQutBTfNbwE5e5qImaPwSW/jpG/+994B62LqotZHIRBdWNbxRzk9ubUlMWVAFhQT Sv3uX2I0+p0TJ82Dto6gFMi6ew02pnzy5lEFaxNw7tQIdRpWtz7LBES/h5P5H21EJkTT L+ingO9OIn7jD1r6NZHWrRW8OL36mXR1Zvzix3WuxUM5t0HxqM6uBBbymx+GG4Yv7MzD CpBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=S0TsxKuC; 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 ox13si18778331ejb.70.2020.12.28.05.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 05:26:46 -0800 (PST) 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=S0TsxKuC; 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 A2AEA82409; Mon, 28 Dec 2020 14:26:31 +0100 (CET) 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="S0TsxKuC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6B768232D; Mon, 28 Dec 2020 12:44:41 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.2 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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20624.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::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 01B018240E for ; Mon, 28 Dec 2020 12:44:38 +0100 (CET) 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=EDeRiohLZ43lL3fzK4LRIa/kAJs1EVpe5rfJmMia1GY3yIRdMe43fMgka1BKGCE55hXmgGWJrk2vbN5NAo5BN/ly40enCmd+AnpVCSGJG21jWz63RZPmqron1Xee0oScMso34AraNbMxZ427G6E9s9N0KJc+lMzZIUvOww0+Ec9k6faJ5hEcTl8nz2jmlsH252cBwUFSG6rwMHHRODzVhedXrfmZDDZYsVOErObt2wuz6sDqKaNka7nerpnKch6in9CXrRPga3uVgAPXo3cM0QYn2eNMiWOXYsOJ2yfADo6CaTdf4DliR5li6nm+SgNaul5Kk4cdkW97K4s+56bARw== 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=QupkFx7SYGxAGfce+m4VTbPCmT2ZtTGW+OGzUf0LfHA=; b=hnyFFmUdJCap5Dqel9OWUFrhh5P4PutzOT3A4OLTRuXDa8l6Nxr4MLEWpK3Xl+L8rHCjxwxk1pciWCP0VyttoXMXKEaTVWT4EKcQQo1XuYR24EBQV0WbVxOa5ux4ocn+Mjqi4lKJBw0pX8cR6vHk6447YKVDTnoMGPWWVIwKzsWzl+VIubWcfftJUZafix4+yvLsIrclIT1VhHNGcaeKLvhN6TFP1eZNId0DvJTZvLo+Cj7ovtzJJsCuZaUjvSiZa5Gr/4okcTpUs+bPgkpJ5y1emsU/j/5CmitiYUsxrGsskLDiWGXDwHqMGzu6BwLhBD1bJxOhBJGvNwfKF5crRg== 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=QupkFx7SYGxAGfce+m4VTbPCmT2ZtTGW+OGzUf0LfHA=; b=S0TsxKuCacS0Ht2xFTYkauq/hpmwcTN3QdbHvCKAHJwWtVau5qR8TD+pgwt2uoh3ado0GSar8WhfBO0NK57z5rQ9YA7Vrckzt6uZyvD6R2uahMr2lG7WshfD8G3uF08j/yEVF4t3gW3LfUWdqjpajHyE/KvzKqw1bEv0o5IkX50= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none; broadcom.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB5993.eurprd04.prod.outlook.com (2603:10a6:10:8d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 28 Dec 2020 11:44:37 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 11:44:37 +0000 From: "Peng Fan (OSS)" To: rayagonda.kokatanur@broadcom.com, sjg@chromium.org, bin.meng@windriver.com, masahiroy@kernel.org, baruch@tkos.co.il, xypron.glpk@gmx.de Cc: u-boot@lists.denx.de, Peng Fan Subject: [PATCH 2/3] cmd: Makefile: build nvedit.c when needed Date: Mon, 28 Dec 2020 20:13:12 +0800 Message-Id: <20201228121313.16520-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201228121313.16520-1-peng.fan@oss.nxp.com> References: <20201228121313.16520-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) 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 SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.13 via Frontend Transport; Mon, 28 Dec 2020 11:44:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e589ccf6-d0f0-40c0-4e77-08d8ab25f48d X-MS-TrafficTypeDiagnostic: DB7PR04MB5993: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6xu3nVJKxcI6qNCU335s+WEBx6cufqwKfjVq0kkCBgtedAvhK8eVcCXo2fektYN6sJoif1u3JnQw4rM6vQl2T2jmlZVQ/skbGaizxKRsoVmn0U0ATt/fQrDJGalhU7gdmDQNZQMnB9gUWz0qTAZSCN8d+VUK0W0+FjSIzbYXmucbGFk86pq+aoTWtTWerx1Y4lqOEcHcBV4ynBSGyEoPtB4+ua3m+X74aTvoaUpV4sCzfWNvDG/IlO223GOoga3e7oxYRmNlVBvnDdDCWnObiURDGvTJajVPDWXOMR8LHC+Hh6FW5Elxk341tYwZwBCNjvnqwokw5dwwcP2l3CutMsJvjDy6DpT25dg+boxXAFKAYz1wkgOzdxZfHsIwf9ARGfBDyDAb31m3HoXKste5Ew== 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)(136003)(376002)(396003)(956004)(8676002)(6666004)(2616005)(83380400001)(8936002)(66476007)(1076003)(5660300002)(6506007)(478600001)(4744005)(2906002)(4326008)(316002)(16526019)(186003)(6512007)(52116002)(26005)(86362001)(66556008)(66946007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 6nzQXTyE902XNhFoGiyYb25GF6uD9sBsZSs9wAoyXnMScA4loz/nfvUdDMwYDp84fbxCh5AyIMOZ8lDtcOyNMn7B4oUGj8hNMvKO2HY0XQHiBLmChY1rDm5CtKROWci1l7LitKVYtsfb0FN8TH1efoi9w0bgQJpjqsmTDpHf5sK65gFNGh6SXhTRBUJypyprfWa9rAz+3+Nfcxoirj7UNEDU4jTnyQW4nU08CoiCxxpJYirIafazqwtJ0QYS/fEfGVTSAgjKjC2/5GGVep7H0H2O047JMCPIZd2mP3+MsEiCtXkXRO9HX1Dj/ech5+iqLWUu/YUonLhoWau1gHelxvRTsRnoYqaJ203uhaXy7O/o7Zuc6fay8EN1pSD/rGLpmIAjEzCaZpzU5/fGiefRlAL8J6PegfrYce86MFljlZvEaqvHY+n0cMCIdFN6yhpxZlCo0LnLXvPWVOEB1/N5txRZojld7Uo4QCTUKcRPzKIU4hm61ymE/Fw/WhKw4iQ9RP4StS47oktPI7grJj7Br4ghypkelIrLMxtSLMarxYazVXKzcIDTqmJLNwbHRtE+DIzynrLlg9aUk2EgQ3uWhTvowBl46R1BeS1/gEB47GMQoOfALnN9tMHZcQ+1eJTKC5G8oHLBFpmsIZvikg1U0lXvWYEJvt/HbfEmU+SxDhO6KiPXh8LCSMYZ0RLYVMw1d0PWBowmttCuRy0A0KTA3GyUGE0zimcdaO1hFwhjdW4/sDas7KzMYKCIK6WE5B26LTGWbji9p977GxUaR5DtvkJQEedT7Q2hqwHFOvh5wWqKcDPMjiIGq68dQVUCCane8jr2hH7BZWk5I0GR2ha7fZ6Kdmb073xTKo8mDJYnHhB6AR6IMBaRPDHpIaw8WWFk3gxP1SKFa+vy3mYydNmAuTeix/Ub7PG5YZes1OIQbsIZ3oe3cwAvVzi3629/y1oQ22jQUbmEHH5J37zXZNhcH7GusSpyXaBLjXkY8pgJQXDq2KgF4hK+w7RpJ7o67F6H X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2020 11:44:37.6766 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: e589ccf6-d0f0-40c0-4e77-08d8ab25f48d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: q26CNwkBP8mMXvGFvnIQOBnK5Yf7dbAzqk3JAz13n2RjMmdj1JAEetEL6NnW8mGl8cyEagUmk0+UifAa958pmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5993 X-Mailman-Approved-At: Mon, 28 Dec 2020 14:26:27 +0100 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan No need to build nvedit.c when CONFIG_$(SPL_)ENV_SUPPORT is n Signed-off-by: Peng Fan --- cmd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.28.0 Reviewed-by: Simon Glass diff --git a/cmd/Makefile b/cmd/Makefile index dd86675bf2..2b2a0c26a6 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -201,7 +201,7 @@ endif # !CONFIG_SPL_BUILD obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o # core command -obj-y += nvedit.o +obj-$(CONFIG_$(SPL_)ENV_SUPPORT)+= nvedit.o obj-$(CONFIG_CMD_BCM_EXT_UTILS) += broadcom/ From patchwork Mon Dec 28 12:13:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 352628 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9745287jai; Mon, 28 Dec 2020 05:26:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyeq5dy03orTrOnMwtj0k5F8QmhensfoArl+fcBE/HKU4UABOcEXwhREG75Woqxo3/xwzBg X-Received: by 2002:a17:906:e15:: with SMTP id l21mr41812197eji.509.1609162017378; Mon, 28 Dec 2020 05:26:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609162017; cv=pass; d=google.com; s=arc-20160816; b=xs/1+N4m8aAkC55t22cBI8jXh1U/ZwYpVMswvqiwXpBRefGE5P3Uk5dT37FxJaJRzD 5xoHOI2SWeFgjP75oYihlJU9RN11xdoGTdiiLHoCBjllQj0qkfmDjWrIjbpCBAaKAxki wa86A78A6RUvDycCwRwphMiBUNTo0QhrxpQvFMY49txsUJueqqUpOwzcp27P5CaNPQXi XwwALCXodv4GLcO6s+QcFYwDgSeBU04sHE7uxCu2RYIX2hYNXJw/LFBKuVX72Al6jOW+ t0ih+jRM2nAEIaXQGDRqr3n+3HbFC1zbSnxP7FTOzIyKHUOxzgYoeW9ml0D8XQGtqNUH +4ng== 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=OiMWp0NPymuUHZr0RFULGjPIaHw6tC7i3VQm+9Wm39U=; b=FlE8byQuOaC8AyFI6gFojRi5LVLfGgI06xlLxGlQmGGpI7HS3zyZThvXiRhQIk/9V6 jUvMUZkFE5XgxPFLgNtq6VnzWS9zoqh8yA7azjUbWb9xNnWOfwlL4NRzU/oV9iE3n2Gq gC8J4XhELdESYuhP+wrzlBms6csunyTXAB4PS/s5s0r7gG+2+rFSYyskDArpFcZD3yL1 l+ruT+1JNozMzN9QDNqSfkWN6cJqB/Pw9v95axtOBsjQx0iwD7DxYcwXt6qGjp0T2Bml LNR8WJHfwz56krINx6O9j+esOW5EIw9xT5Psuj5gMkrv96PiaA31q1lUxH7o6574kiID fe/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=JSQCw74c; 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 m7si20755428eji.682.2020.12.28.05.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 05:26:57 -0800 (PST) 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=JSQCw74c; 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 81EC98244B; Mon, 28 Dec 2020 14:26:35 +0100 (CET) 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="JSQCw74c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 79167823D3; Mon, 28 Dec 2020 12:44:45 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.2 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-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::60c]) (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 CC86381260 for ; Mon, 28 Dec 2020 12:44:42 +0100 (CET) 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=ELu4S0TGrc9/MNZKepWdF12fZ0l5pjaOjkpXHg4mRrEo+ZyUH/JkYihx60BabZH8G+Yedma9Zq0FxVQvDxSqQBydWcGHeH/Loq62RNlKCy86kblLIaj4+y1e05NkbhtnkVmTDEfGo75onTkGsZuAUGjnoXnvV4gpdpGwxMcb19/NpgfsznMg4qNwAY8oH79czDDoO3sJDqwuk4NMkJ2MA3B187CfRqsny3XR3CTBP1tKSHAwH6O35nOi/AfGNRgCLYFwYdtB6uDhRIfLFIBTzaczHITy99vpj3kk2W4tVaFMxoo92ZIyHM0Ed746fOV8hbwe2zEzv2ZS/7xNfNNzIg== 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=OiMWp0NPymuUHZr0RFULGjPIaHw6tC7i3VQm+9Wm39U=; b=ap9/1qWPBSf+HDJqiqFU+pHT5V6eg9bJ33BSXEUQUGVqnlxZMKTnMcbcxBZSfgPW22HSFkRxGXu27edmwJzQAvWSf6lKInIg8CNybGD8C0f2Q+gbjRuiirykh/xl5CQHKshnInXyg+Siz3D5o0iksgC6ddD79501U9pVWDuszBOaVnWBHk+8VXF2DjFatoY0EiwG+cbecbAvu6tvElVRbyeaDJtmTz8+opZW9kiuEXbQMdGcunWJah/rUE/Z+aCC8ueVgvJ9HXTh69cB1gyys31EkeQbKHIybPAm/MYJttxk8tt/Lxmtnmg9b8IQqZDqcMpXFiktiMT7z72Q9jihIw== 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=OiMWp0NPymuUHZr0RFULGjPIaHw6tC7i3VQm+9Wm39U=; b=JSQCw74cDCSGKTpCdpJ4QHN14Ck4a0AsjQa6XKxVjyZmzK1K1RvxgvEHLkuOk6A7ZqEJ2U9ZUX5kRM9XO+XHG7TV7UHotDdJcA6Z0RIy7PJnvHS/r+geCAiKcgHtHF1sGFjxy6UmDur/tti8HQ3cmB8oIF1bxWr+bFqUn/kbUFQ= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none; broadcom.com; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB5993.eurprd04.prod.outlook.com (2603:10a6:10:8d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 28 Dec 2020 11:44:40 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c964:9:850a:fc5%10]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 11:44:40 +0000 From: "Peng Fan (OSS)" To: rayagonda.kokatanur@broadcom.com, sjg@chromium.org, bin.meng@windriver.com, masahiroy@kernel.org, baruch@tkos.co.il, xypron.glpk@gmx.de Cc: u-boot@lists.denx.de, Peng Fan Subject: [PATCH 3/3] armv8: Makefile: build cache files when needed Date: Mon, 28 Dec 2020 20:13:13 +0800 Message-Id: <20201228121313.16520-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201228121313.16520-1-peng.fan@oss.nxp.com> References: <20201228121313.16520-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) 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 SG2PR03CA0157.apcprd03.prod.outlook.com (2603:1096:4:c9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.13 via Frontend Transport; Mon, 28 Dec 2020 11:44:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6c3b9c14-8cdd-406a-188d-08d8ab25f671 X-MS-TrafficTypeDiagnostic: DB7PR04MB5993: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:843; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V/82g85w1AlKln1+db+OsJIzLVcC173DpPGu230b9mAnIdfXfPV5Zmm1EayVpOcFm5zebWLU88wT4ZQdH/jdvR3qp/UBCuX0PHxjCp/TMUB9ky36dr7BgMOkyP8Dlu5mCXUuudDGkJSpDhnYJZkGt9/ZXIWFiRM4g+smFIan1khAa1m+jmDz602sCqVkL/BlIHECgxnbkbGWwpCS8I7xOjblPN7QGEzvTQDMH9SGnmSalykXfec/sG9+SZ3pQ6w9Gx0fQ2nxKa6WVuibk+/wnLWabqZXsh7FPKbfMlLALcXpqLYJJ7QP7VuW+gM5bKd999svEG3BmuVM35ooJ14WohCUwD5ERQBjGP1q6YXo5Pbh8ki8WOkdnWPJAF/IPlZr/1c/BiNo2mRVMTSaUpQihw== 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)(136003)(376002)(396003)(956004)(8676002)(6666004)(2616005)(83380400001)(8936002)(66476007)(1076003)(5660300002)(6506007)(478600001)(4744005)(2906002)(4326008)(316002)(16526019)(186003)(6512007)(52116002)(26005)(86362001)(66556008)(66946007)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: TUM8bBeJ7tHrzgZecUfXOlzlY2hHczX4Q8RY9I/OzNT6hmHuzlmCWIvC88cisu6O8mMv76+OoujBseYiJGbjY7zVybNWd2AxfpC4SE6aNLxKV8Fnl6aWQ/ydZAqMEyUi2Cvzeh9ZZzTri7mxPiJNL01jSNGajFeWnabXOQjoYXzaVnZmkQgYVpcGNYFptXg1HK1+MZKm5c+DqnRBAyGJoTZvWVzwKLzHOb/c1tXxHKooz+xH4yLzzHRbjoiIwdD80YkXEn4UEOGAeZa+xveTSvuHw1YtGgUFr72a/UC7GR0tgoWAbf10El/TONNcHKDlqadgNZhrNr4ekm1kljobVAaIT6PA3WxwGardY/38qw02DylSoEa0ap400utYMtmGjvtv7yzv9Q+tS+K8J06xfbg7PPQDixyqc8+2yuYIsUIL5fIXX+B+yWyjVl7Uh1/c3Q+ul1DY6YzIUQj2g1OpxYgECdoDpfUr/Z1iJ18p0OLgTxFl/4H6Mp0hwPbk0g38A7zrtCQUxcTpqP3vB8LQKpepyJz2MCItwtYaUeskCZ8JdQYwGDemMr1VDxB8WOR7xYKBwYAUTLP7hguVo8iaiMZozISOEEmwF4Wf/gx2dvakKsk28+van2CSwb/4YlHG1AnDfe23QUvMHVKYCdUnKudRQWBjJWsSPJKj4oFNvqyC2y/9RfvtHoRRBFZuuleYlhssK/Os7ZXlfzKwavA9MtI/gTDJPXL/tPTDHY0+S/3fRq0k+EhcBJDzlFJmS3OOkYPl9E/4Ne7dHZi5bljm4YFd8BKxololH67mXybVYHIYlR1mK7Qarz24+JTe9MJqFMvS899SgVT12YhJFc9pWNcv7PdV46EOw4lrnzWgMznhiXECfIkAnVQspJKp4T+bPkwJCZFRq09aOODE8EmYogUCxwOdcbSm6w9HnmsmpFiy6kz4objQ9lu8WCRt/vmdqcA7520PGiv/ML+EwcCmBhZqQpjmSsqh3mJfi4uDkKFTyO/ahX2NkDXBVB1SBuYZ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2020 11:44:40.9092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 6c3b9c14-8cdd-406a-188d-08d8ab25f671 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vWNYeFcb3jLwousRGrm99AXzsGaea/dWB4jfx0Ar6YHGM60VozhApuFSlFDrRo41zFgZaH6tpO3kMMlk6/7Uaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5993 X-Mailman-Approved-At: Mon, 28 Dec 2020 14:26:27 +0100 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan If no need cache support, not build the cache files, such as in SPL. Signed-off-by: Peng Fan --- arch/arm/cpu/armv8/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.28.0 diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile index 93d26f9856..0f499699dc 100644 --- a/arch/arm/cpu/armv8/Makefile +++ b/arch/arm/cpu/armv8/Makefile @@ -9,14 +9,16 @@ obj-y += cpu.o ifndef CONFIG_$(SPL_TPL_)TIMER obj-$(CONFIG_SYS_ARCH_TIMER) += generic_timer.o endif +ifndef CONFIG_$(SPL_)SYS_DCACHE_OFF obj-y += cache_v8.o +obj-y += cache.o +endif ifdef CONFIG_SPL_BUILD obj-$(CONFIG_ARMV8_SPL_EXCEPTION_VECTORS) += exceptions.o else obj-y += exceptions.o obj-y += exception_level.o endif -obj-y += cache.o obj-y += tlb.o obj-y += transition.o ifndef CONFIG_ARMV8_PSCI