From patchwork Sun Jan 3 10:11:44 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: 356143 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14223843jai; Sun, 3 Jan 2021 04:29:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8VTDbU+WR1zMoDwM/s6DBS47puomca+i5gsVrs7bRp7gSYV1V26ZTIAwauvsWU2Rrsf9S X-Received: by 2002:a17:906:d93c:: with SMTP id rn28mr62696682ejb.50.1609676993684; Sun, 03 Jan 2021 04:29:53 -0800 (PST) Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id y10si29422184edm.24.2021.01.03.04.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jan 2021 04:29:53 -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=fail header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Y8iXTdc5; arc=fail (signature failed); 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 66B478268F; Sun, 3 Jan 2021 13:28:19 +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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="Y8iXTdc5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 480218241C; Sun, 3 Jan 2021 10:43:25 +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, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::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 41BF680829 for ; Sun, 3 Jan 2021 10:43:22 +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=WK8FmSt9ayMSrjg0QMJfbqxZk2pV4VCfP4L+1zcdTtNfkplh94DIfxEP7Z+YITF5YSAOc1xa6OWXIyeYkObBnZZ2K6csA7qGcTB+oUuiUkF1Lyuxw8JP6k5Cg42ehrZwWPgpMGIsawAFUmQvPzxigkHVIjwprNRs7LrmF9Kvwi0l+UiJB8CHjL5tiIvsazI7uPnSBIo1xI35WKokxDnW4Bkh+c8DIOKEsP7ynEkqlIvumSJiAJ3P3omBUpMwYUvndgHqg2bnirMelzSH3nWJ+BTt5E2a/uv8tpSJkthKlcn83i2YNcvx29GcEp8RP4gHOgB4bOS/x3PFg4NNgo4CnA== 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=4cyRWHA9rzGairpA8gdv0K06aw2WGJnsWnQPYjsUnrg=; b=ntkDj3qyPml7BGVHgBKEZV3oJ9L6BDJxfdwYHwAhQmcISwJcP4pVUizP4s08VpSWZOKvwxQKBizfF0+wmJepQQ3ZNNrj4Y53ED1P1e75DtvYiCcStAVo0UfPmUWAB3lMyR+fH4zTPwPpoXxzMP8o/EQnKNg6ah/+DyN+CEBoJLLOZ8X4VZHONFWdOS8cLiayHNcOZptKPJTSFnVvL0yPu+FkF5yi0br+vLVxtrZqrvw8Iufmk5kmvFmP4tZ2b2mfXlxcXqRRNpO157WwQTC4MXg8roxgCbCIhz1ayBRM9LR8v4ZfBHXZMhsEkPvb43m+T4YjY/TiOf/adv83VD+9Sg== 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=4cyRWHA9rzGairpA8gdv0K06aw2WGJnsWnQPYjsUnrg=; b=Y8iXTdc5mcdnGKZylcH31c4XWQRm1o7rXkW0tT5MNYeEVaBjBo+thKuG3lHSmojT3APCe+pwlcpzc9EAzK60tRRrOtSJwxlwY1fQKtCfvtmeq9hv7FzxC2I4wpawAGd2PRG4kbF/hNZEC3kpCdM8CFCXItxUXqmagSZuGwm1tsg= 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.3721.23; Sun, 3 Jan 2021 09:43:20 +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.3721.024; Sun, 3 Jan 2021 09:43:20 +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 12/12] imx: imx8m: move CONFIG_SPL_SYS_[I, D]CACHE_OFF to defconfig Date: Sun, 3 Jan 2021 18:11:44 +0800 Message-Id: <20210103101144.4375-12-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210103101144.4375-1-peng.fan@oss.nxp.com> References: <20210103101144.4375-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::21) 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 SG2P153CA0034.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.0 via Frontend Transport; Sun, 3 Jan 2021 09:43:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d8c10f23-f997-401c-4d9e-08d8afcc01af 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:248; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iBTGDJs5f7AkgAiVILLXKDPED1xrsfEKvON812q8gtONUAPOYpkSp13WOMCRpTMq4SoQJM4ePGvobNnJIClc/cbdNsqVrqwc0zJe4Lw/1lZLn2xKWfUwM8OxJ20vMEoMeccxtHpg9vhaeD9a9dDdoYjgXOLBYr1PQwyPLrZSH6CLNDjyc+RzX9pIntd9cP7PQlMdEWC1S7Ue/TMML9gG0osEAdJiKtrkDmUJ32EBJBL2WWPTcn0jxJFviyIcUYThkF3WhBVEcp7BxwK0g4fiBeOfsFLaH327jqQbCNfNVFFe9/6oFykDvS6Uz1A6uAZLsz2ogOnon9oOxfcZWT6cr7VV+H2QrfiGXuHoTOWttzURKLOW/pn6Zk8kN6uvVkBApsTqZIEAiGCy+Wsps+ODM+Nfd97o5p+zyNolNZQ7ZkxZdX1b2c5FbLPhi//zWVZt 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)(136003)(366004)(376002)(396003)(346002)(39850400004)(66556008)(52116002)(66476007)(66946007)(6486002)(316002)(956004)(2616005)(16526019)(4326008)(8676002)(5660300002)(186003)(26005)(86362001)(6506007)(8936002)(1076003)(83380400001)(2906002)(6512007)(6666004)(478600001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: GeYcmA+ZXlg2VNQ0nrSgyStY2bDj7L0y8fEztID2bQIGoXPh40YwaIzblP3TO3Y32tTlc6X6qlwM4QfEoqSxa2x7yN/8JR1NJwdsUz7knvVCgC9I3uDRG08oj6qG7z8xj9m2DAiyg4Px1lfbwZT+MG/OIr7PlG3GFbrtPBzfW/9u9MMf+ZbOmfFFNwWU6jJwsvXIQwjoIbVEo0oyVBzJAGez3/DrzgtI9oDrRT7f48gSxDIZQQvy190Z4WG5DqlgjWy6Yz30sQ9HU11i8n6V99JZ8MbVszyEKiKOVcV9wcQQ7C4XPQKyYhgByvUxd8TDn4wxRTOQaiodDeRXWW44g/B/f3wIMfAy7lg9O3DzPAS5sMKauAotRRq1zeVuyySLxjCBHV65fgzMm8QK9tk/UvaOYEvgq7BdYl6b4Jpu064THHu+IEkbHsUiG6sh/6tibkfa1whYKQ7jKgCSxh5u/eFlgfL5+GjwaBUtE/I3tRPTkqPw66r0ftyu93CiARKsVpL5LdNbkL9jo0fSYV/FJsXehp0IrSwUTzBU8bC8+UHXudD2ZXYhy2q96AlHXoO5rIQF2iLD0GDELvKquG2FyoZRHcwNLlzwJ1L2UfwD08n8uzWc0vjX+tFwicdK6Oc8A3cLxfd//OTsqbr2Iom7p1w9MVtA/GX2aq/sP/N7UIxr4A/IROdRqL0WbheMY9OmbuQHDoaJBPNO5ZG31WuMQ4Z6c1U20gbu1yyFEm04NOvnTAaOV+UvxQp7A3HyH50cIdyWVggGgkZG7BB4JnwsFpMyiDeGj/QI9GUUr/rNbxIVQ7xEpTnDKtvxWVWQ6I0naVp+80S4iDFhYdxVipToB7FI7pGOtX9qDBvIcSRWaigwIxY/+fk5B2W90wABJlMl1jZp41fSu8yrWv7wnCoCbGJUBEK1NUr2y2TVbv648rE2I6JyVHdqXMGSo53H/BtddjtTLhoUG3sW/VW3A02oGQT/aiViRlIIexCjlhhGWsLyjGWwK5LECUuE/ZvzvmPm 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: 03 Jan 2021 09:43:20.8020 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: d8c10f23-f997-401c-4d9e-08d8afcc01af X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 567yyO8exVVpBM6JCdmTZxLkivxvD/mcD7FtgMq6ZdTdXYvyzAB/nqs/kd54c5CVKtuvE5xOvQpLu1sOQ4aYwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7302 X-Mailman-Approved-At: Sun, 03 Jan 2021 13:27:56 +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 move CONFIG_SPL_SYS_[I,D]CACHE_OFF to defconfig Signed-off-by: Peng Fan --- configs/imx8mn_ddr4_evk_defconfig | 2 ++ configs/imx8mn_evk_defconfig | 2 ++ configs/imx8mp_evk_defconfig | 2 ++ include/configs/imx8mn_evk.h | 2 -- include/configs/imx8mp_evk.h | 2 -- 5 files changed, 6 insertions(+), 4 deletions(-) -- 2.28.0 diff --git a/configs/imx8mn_ddr4_evk_defconfig b/configs/imx8mn_ddr4_evk_defconfig index b4b511ed43..d6000d9e87 100644 --- a/configs/imx8mn_ddr4_evk_defconfig +++ b/configs/imx8mn_ddr4_evk_defconfig @@ -1,4 +1,6 @@ CONFIG_ARM=y +CONFIG_SPL_SYS_ICACHE_OFF=y +CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8M=y CONFIG_SYS_TEXT_BASE=0x40200000 CONFIG_SPL_GPIO_SUPPORT=y diff --git a/configs/imx8mn_evk_defconfig b/configs/imx8mn_evk_defconfig index 1b8a971c79..3970cb664f 100644 --- a/configs/imx8mn_evk_defconfig +++ b/configs/imx8mn_evk_defconfig @@ -1,4 +1,6 @@ CONFIG_ARM=y +CONFIG_SPL_SYS_ICACHE_OFF=y +CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8M=y CONFIG_SYS_TEXT_BASE=0x40200000 CONFIG_SPL_GPIO_SUPPORT=y diff --git a/configs/imx8mp_evk_defconfig b/configs/imx8mp_evk_defconfig index 538d0c0ef2..be7f3100eb 100644 --- a/configs/imx8mp_evk_defconfig +++ b/configs/imx8mp_evk_defconfig @@ -1,4 +1,6 @@ CONFIG_ARM=y +CONFIG_SPL_SYS_ICACHE_OFF=y +CONFIG_SPL_SYS_DCACHE_OFF=y CONFIG_ARCH_IMX8M=y CONFIG_SYS_TEXT_BASE=0x40200000 CONFIG_SPL_GPIO_SUPPORT=y 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