Message ID | 20201228121313.16520-3-peng.fan@oss.nxp.com |
---|---|
State | New |
Headers | show
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: <u-boot-bounces@lists.denx.de> 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 <u-boot@lists.denx.de>; 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)" <peng.fan@oss.nxp.com> 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 <peng.fan@nxp.com> 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> Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: <DB7PR04MB599319B5658B788B290B3033C9D90@DB7PR04MB5993.eurprd04.prod.outlook.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
[1/3] common: Makefile: drop duplicated line
|
expand
|
On Mon, Dec 28, 2020 at 08:13:13PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > If no need cache support, not build the cache files, such as in SPL. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> Applied to u-boot/master, thanks! -- Tom
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