From patchwork Wed Jan 13 03:34:50 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: 362109 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp597488jap; Wed, 13 Jan 2021 06:50:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzs78bcDFxn+edxOIzgpS2VL8zm+aljzEIGAJb8MZfKAcgqvZRAGKWO4V/6Qovvc+htn9g5 X-Received: by 2002:a17:906:c40e:: with SMTP id u14mr1745210ejz.547.1610549400872; Wed, 13 Jan 2021 06:50:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1610549400; cv=pass; d=google.com; s=arc-20160816; b=pilUrDytIYczwRFWRaAcFJCGQ3VyVbfjTAWoRH7Jrh8GgI2LdEV96uZ4dJnkdZp7/5 lRccXR2gWncP4VFF0efbBWRZWwAZFLICm8AMf5nwcDJuHNyCoZDbb5TFzf99d+uQr+xA MjZxGrx+ND0/b212mE+EibKy5E5mNJ9DygHJDdrPehBrRJvwfsVSvHSVwvPWlVcPvTPZ brwrNgz2hTcrV0drAFSj8DYMuNZaoxPic2Mqr9q0Gd3jTw5nDz3pFS7cWVunipmbkJ59 odwlZZ+xEcxA4/0F2ONQxtUxw5CHeprDO9Ibywedo5MuP+w8/NUth4JboS6K1dtvcIeE BYbQ== 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=SA/mck+YoSBbQY4x7A/3GdKj1n471SAfdWqJ9/rnpsU=; b=Mk84++BiZ/DE5EIeZEDGQFEM7mMNCumIY19HrvzKrlechhqJiD7oS8/stwH767P77m lvWAW1GXBunAZWzVplY60qjmWxkKKpPLmHkX2sGW3aDtIqUXdIxdWtg/rW6+nP8YXAnN D3gcOczh66sjhoDdn6dmW/qq4rJ+etgF1Ttg76V73T6Tu5OvRM/lemqE5VKMwyJYA5pt JfVkKquxqD9L3OFgWlohgNOktrq2GMqGpndmF4cMQuHi+0i/7w1jvc0igPUdQwOFQDLG jVOiQtaM7xErhSKtjYwC/GSkDG1Vv8JrNeUAme8ZfmYckVSR1q0qW18EnLE85Pfvc8vK S67A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=kBINfODL; 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 v1si984285ejf.162.2021.01.13.06.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 06:50:00 -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=kBINfODL; 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 221F38266F; Wed, 13 Jan 2021 15:49:45 +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="kBINfODL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4975382863; Wed, 13 Jan 2021 04:05: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.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 EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on062d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::62d]) (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 7C5868281C for ; Wed, 13 Jan 2021 04:05: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=H1bfEBelN854SpbKh4ODnKPpYT8y0swqQMveLODJ9nbSdFednHiDC/E1hVNExpGglujVP9yAbUiUq/SOm+VORFcXxphqUpVUBel+IOgQGiOcgcjdufImW3InjyygIlo3nqUoTmndM+f0k/cIZl25laHexNePPCTYL78PxK6aAnxA6LAp9wR3jz7ZW7OiSW+wAysT34d29qvFn371bdhIpVI8/qItQWt+3v91kQk4EDaQ3CNW39eDK8+D/1ZRedJhXivZu2Kuiy9Zj/4zJVNhjt7f4EzC4YRK+f4gKbpN7tfRAUrL1p8DSS5aMhebmGH5/Hz/juql4/xEVxkEPoUIXw== 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=SA/mck+YoSBbQY4x7A/3GdKj1n471SAfdWqJ9/rnpsU=; b=jXkUN2a3zfozg8D9oMG18Rn3jUDIaWR1tbPhSP8ob8h0ukTerDuf1/lGzUYObcbZDUH4XJeY2MPipvtv66GwGZsSrC+LhzG6RiRqadLOvSmi5w+TJdj3pzM3dTtER5GKYFigdlLM2iE9v85HVBiadWsluQd/3oam5zHlNxxgZVE10OGUfOeO6D8zavkv96/0o9eitvjZLxkJ2aSc/3uBzjmhpYN1+R0wdUkJwHPql004PO6MzQR2kFq/ZJsiWjwjJHBkFf9iBKC8VowxoPikKgduZxNvkqBFLMPxS6X2Q0wym4yPgTspmcpzAX43LfyANok4izZEhdmn4DbX70kAvw== 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=SA/mck+YoSBbQY4x7A/3GdKj1n471SAfdWqJ9/rnpsU=; b=kBINfODLDvhEbYU/TylT6cth0YruZ5E9kt0cdPEItGBlglUc0ff9YfIzNNtOQmkQOqqxP1EpuHBDv0npI713S2tP0uHqnnwCVP7DJxz9cqPhipMR8GU65CXj/m0g4fcUtaI3hHrEgLcJkWr7JVfXsGE+qIiC/nuCF4+zD41INiQ= 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 DB8PR04MB5659.eurprd04.prod.outlook.com (2603:10a6:10:aa::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Wed, 13 Jan 2021 03:05:36 +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.3742.012; Wed, 13 Jan 2021 03:05:36 +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 V2] imx: imx8mn/p: drop CONFIG_SYS_[I,D]CACHE_OFF Date: Wed, 13 Jan 2021 11:34:50 +0800 Message-Id: <20210113033450.26521-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0114.apcprd06.prod.outlook.com (2603:1096:1:1d::16) 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 SG2PR06CA0114.apcprd06.prod.outlook.com (2603:1096:1:1d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Wed, 13 Jan 2021 03:05:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 86d34b8f-9c16-4bb4-b4bc-08d8b770198c X-MS-TrafficTypeDiagnostic: DB8PR04MB5659: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:51; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qgYegn9lz9ExklHVZELgg3cXN3Y4twkZ+0enHUDG7k1Tiwcyg7wKD5Q67WaZa1YYtyhW//T9HHhde7ROtBvM6VNR3TtbKeFcNWIChr8i6VZ9QCOzv6H5sCT/s2YehZ6c48r1g45H8BzbcSRksXHjlWLseMFP3LlMWJ+lSvSKz61cY5cSRMMP8yYatYx8bEmW+U9rS5UR4phsL+Phmo1FC+/2oFaCRRU0sz8SkczrklixsSF7IZO6TsPxAOb8/jK3OoBq8Gz7gBUtQnRku3iX9sNqE8ZQfIoF5zogQG+G6nR55SB8p9EyGQKy08j70/IpjdCgIB6ehkRrdsn8eXec2HPliMmNblAWoqont54UcrkqEAUFCrEMUMFnSeho6afbgx+Kw+aairNpafvDQjH5XgRy0HkbjPe4M8BkITbXIVpDIYcvqOg55RMbrL0S1HrI 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)(376002)(366004)(136003)(346002)(396003)(1076003)(66946007)(66556008)(16526019)(5660300002)(66476007)(186003)(6506007)(4326008)(2906002)(83380400001)(6666004)(86362001)(8936002)(8676002)(478600001)(6486002)(316002)(6512007)(2616005)(52116002)(26005)(956004)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: O5gVC4VHa+fRPgT7NKHsX7GlPXy4QXfDG8JIq5hwuQNr0SxJgN6JnY10xVcn/3HLdMw2Ay8aKq7xNCtsJzthvxz+RhG5+/8NMXA/9bnv/ZMJgJhCfV0bvMaLGppQdcOqo7zmRXoWA8TO4i8TkO+hiL4hwHfpre5JFjaahwcNc5A5V6ueKm4VJqcr00siHNXVGcpiXdSrWJo/Gt0wlE56zksJ0qb2Gkbhzy5IxdaGnhq9wHJwJydAIQkwADkiPV40h5gFvGX4FAPvGuCQqTdUKvpiV5Z9A1jcsYxMntHWRiKA9ILlP7abY4oBud0B3nCXs36hqXI7eqF2nQqKZKLHZwOJhqqX+cxFRtuis0mBowSfKUiZqa09WHpDa42k3lJTS28yeiHOfi/DEKdTdv+hMmVD1LZcz1PVHBc7vF5ty304b4CySG4RixFLPQCRQdZOI9VGkX+PpBPK6jl/OnJWwMJ/n7ZrCin+gwNmnEHPm7AMBpaC94rYYvsWDEsFY49AAWtXk6R+T8XizwE35RrZJ8FgPvyxYC1kzsf8MiMTQMlarJoiMyXKaHfHTAwvfJ/r3AkLN+4OXDHf4RcLL+ih9akxPHGnAKf3NwYTmt7oTajbx6KU+v4kne5SudoRy1k05wmBuEWAH5zTy0dHf/IzQzrNQXaQLKtky9jPTP5JrC3vI+L170OrbtccxP/IQZmysFLmZlZ2xCdeOzSpoNWI/1T/P/iwU0peHqE+iBu8lJGC6kwP+7CEbljN/CnHcMiVMaNeESNdU5Quf2SgXtkJcRaJdUQ/+pc0u9VwxOJtmvUsrYbi+sNCG5rxi+7yY9S/cmI3Ya09jaDCigda4225HEL2lECGFVSBQF2/UDPjvUmy+kGBwj+UPbDbh/can7wtgjSNwZa4/dbPjkXx4jUfe+qnZW3i3BFoJPnTLuD+NeqkkZ4ckTTRjs21pN7l4GNw4UI5pTnQlIVSJyKsDFg6TWmW4nFH7UXzberVznnSFNhNc7LqnVGjIJIkXwLcqQNy 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: 13 Jan 2021 03:05:36.4057 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 86d34b8f-9c16-4bb4-b4bc-08d8b770198c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /S35t5mvE8q7HlDpWjJl7cXMpFB89hSZHnLVwJc2MRY7aeovZ9pautW4a20qPRZLgLmANH1DOqeWcIEly8uegw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5659 X-Mailman-Approved-At: Wed, 13 Jan 2021 15:49:37 +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 Drop CONFIG_SYS_[I,D]CACHE_OFF, it is safe to run with caches enabled on these platforms. Signed-off-by: Peng Fan --- V2: Update subject/commit Per Fabio's comments include/configs/imx8mn_evk.h | 2 -- include/configs/imx8mp_evk.h | 2 -- 2 files changed, 4 deletions(-) -- 2.28.0 diff --git a/include/configs/imx8mn_evk.h b/include/configs/imx8mn_evk.h index 92f435f578..369aa538bf 100644 --- a/include/configs/imx8mn_evk.h +++ b/include/configs/imx8mn_evk.h @@ -25,8 +25,6 @@ #define CONFIG_SPL_BSS_MAX_SIZE SZ_8K /* 8 KB */ #define CONFIG_SYS_SPL_MALLOC_START 0x42200000 #define CONFIG_SYS_SPL_MALLOC_SIZE SZ_512K /* 512 KB */ -#define CONFIG_SYS_ICACHE_OFF -#define CONFIG_SYS_DCACHE_OFF /* For RAW image gives a error info not panic */ #define CONFIG_SPL_ABORT_ON_RAW_IMAGE diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h index 7abaf5ff84..f89950f74e 100644 --- a/include/configs/imx8mp_evk.h +++ b/include/configs/imx8mp_evk.h @@ -26,8 +26,6 @@ #define CONFIG_SPL_BSS_MAX_SIZE 0x400 /* 1 KB */ #define CONFIG_SYS_SPL_MALLOC_START 0x42200000 #define CONFIG_SYS_SPL_MALLOC_SIZE SZ_512K /* 512 KB */ -#define CONFIG_SYS_ICACHE_OFF -#define CONFIG_SYS_DCACHE_OFF #define CONFIG_SPL_ABORT_ON_RAW_IMAGE