From patchwork Mon Dec 28 12:17:10 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: 352640 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9746998jai; Mon, 28 Dec 2020 05:29:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5FV9k5nOt2AucXZSIAmnDVeUE6xrzjVA0FdlFFFmhT2swEsxhsve9QuVdDNhnSZqJZ6wy X-Received: by 2002:a17:906:f153:: with SMTP id gw19mr42530792ejb.272.1609162166240; Mon, 28 Dec 2020 05:29:26 -0800 (PST) Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id gb31si18438481ejc.669.2020.12.28.05.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 05:29:26 -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=k9AWypXM; 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 1D4DF82642; Mon, 28 Dec 2020 14:27:11 +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="k9AWypXM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2FDE78240E; Mon, 28 Dec 2020 12:49:06 +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, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20603.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::603]) (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 C1617823A5 for ; Mon, 28 Dec 2020 12:49:00 +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=FW2YY9lrMn0f0aiAQ2DjkGMhx+NWbln46N13kuR0Hd2FqTCGVhONoSEN9qD3Sku9C+bPz53myqlAHkDAx7ysotT+iDeamXISSsjqPe4VUbXkU4JCPpuubNMKXwPNgUqhOqcG1PIHW5NVrEs94RlOZRSj5KjxYfNG9mwnwt4vQ0RYS5mVt08dYiLE7QdIkzwhlHAPZ1SVUeG0WObVpj0obCqQnCFnLO2BFypLxw7Lun5pmwvaE3L4czgibw6VTwq5SZJvG9voMZ/zsWlnRlF7AW+8iSGJc7pIVRCxyeO0nasEhCCHviRx4SXtx1ojen/vhnlh4E6loafY6phSRyLG0g== 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=fr3bpV/JQYtl/7FytrJ+J83IadwmOcbCiuDDZJHKYJs=; b=js/IfreGE/0OcfMs+G2ad05k3TgflIwNfjwprFTZ2WKUdrMy5dBdgkzX07ssGTayUncYw37zCC6dlIcEeK2nwDBlKrmMppg3gSCtgfKGZUvTfY7+wXJZjy1mzc4D2VbilAxSVk/FW/m+0FQySh6SGZj2d0i0BTZeYHwKyixA0J5OYgJL59GCk+YHh2Og1zYb1sEFm4ow6reSI6E7W/u0iTx6ctuDACZe/8XFIJmT8mw9G86Sdf9BaZkD6PeKNM+ohqOX45nz2so4q1MIZFCpoDwr++f1PP0c2nPXcF4ZtO2UjAlUhgmpjSPlwVx3nSFRLwTl22bqw8FqxYW/rZX3Aw== 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=fr3bpV/JQYtl/7FytrJ+J83IadwmOcbCiuDDZJHKYJs=; b=k9AWypXMTRwafYdzWkYATtnN9JCD6sqEsTgcQG9M9OckVSNQTyPhEBU6b7WZKjat41ekY3UkD00ANdJt0GYmyRFXp+0wmeJZGDxBGbJzQ46wDs1MW73qBlfoQ+9WbMk0g5KjXmD4nO+0M3u9Om6R5gC/ionQ/uujsyHuKRt9wOE= 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 DB7PR04MB4233.eurprd04.prod.outlook.com (2603:10a6:5:25::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.29; Mon, 28 Dec 2020 11:48:59 +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:48:59 +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 13/13] imx: imx8m: move CONFIG_SPL_SYS_[I, D]CACHE_OFF to defconfig Date: Mon, 28 Dec 2020 20:17:10 +0800 Message-Id: <20201228121710.17235-13-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201228121710.17235-1-peng.fan@oss.nxp.com> References: <20201228121710.17235-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) 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 SG2PR04CA0149.apcprd04.prod.outlook.com (2603:1096:3:16::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Mon, 28 Dec 2020 11:48:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 48d48c7e-97e6-467d-00a2-08d8ab269088 X-MS-TrafficTypeDiagnostic: DB7PR04MB4233: 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: cqe7sNAA1+mvI2cnSH4L1lpGt4dn4I17UYWHmMd4KNuBuOd1DV0GEXHhqTJOZm1tM+s17sV6H180aN+C9BIII23AFWkvtuPM6zIdny6ntxRN1iv+KVVoIkS3hIAr68FBrKdHkJ0slu188/2Qj+NOkqchvSi9LZOQvXD0p2+HtcIQI/pNCxrXxm8O1yeI/btjZgPUfS9UbI3lEhJCEBhFIgMFfS5ELvC9ORZeG8Q4TqKwCCWi6LO/B7H6A7WGla3arLMwDkEPsJi6sP+x6g8w4PuswkACU5pTR/BRs5ZKssSVMWu4cJySliuN28DEM84MM9mXQmuc7xPVyR8ocMwW17aFYGGXPXRc6Z5n6qKc2J+7KRA7zCIxdAAe34D3U88hy2Nxgdzskr/EWEyYKCZjgTMCpFSWzplm8VIH9wRNaLR5tdXUA8NYp/8QeqyfAhxc 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)(396003)(346002)(136003)(366004)(39860400002)(376002)(83380400001)(6486002)(8676002)(186003)(16526019)(316002)(2906002)(2616005)(956004)(26005)(66476007)(6666004)(478600001)(8936002)(5660300002)(66946007)(52116002)(1076003)(6506007)(66556008)(4326008)(86362001)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: cW9QsWHf2TNth/DeJnNkhbMvdaZ4W8NaXYjNXmGGnaOrtLHIO6cS5bHGG/7eb9Xrd8gD4KSUrtuC8AUx+/h8xqC/1Yv3gez/Xx8Vse5sCwj7d1db2BkPAv4VvfRdftb2FwUtac+kepmRAJ4dstow8c7AbbIbBJ16oVfDO0/ebVLAe9Jy1ueDERRmYEm3QVvePTRe1vb1iweY+G87KZ/SAi4I+ctS+IRK+jUxQ1VLFIyAd0K6NaiF1tRSwQKyjiQmOpQ77wA9Er5Kavz+sK8gXyRFGAeBXnmQoh0nnohLu8+ZuTlVdBFURikhcU6YW7dpwoTPQl/IV67mYxYiB28ljh3jJ2QQ1CbXtOVfaWkPgO5MEFsGDjuIV2n/SMahD4uth9Ea3jmras2pQjZ9cbw18BmYdtT2BIc/iQ/JzrfGbciZX5ZwVOeoixIZhcl5+c70bN5DI8QSNiMnnuDxooIZxofx/oZS8oDLKtShg55uHadOdwnMzdFv0Iw7j2xFCDu0kBdFdcEIRIfEeMD7Qxtpkrlg6vkEsRD+UiKSRpqREWNAyZC5ZZzmmBT42HByKWRw0T/gUCW//IO/gjy6MgO2lJq/OJftRqjcFbhKoT2OzfX/GeMwq/IHgKvOsx4fvKznGoMd4hHSCiIoY/GJNIobGQrBEEMpSmLrZV/FLj9ctWmUeXIFL2dItHokv9qLPUp3JEJeVrYaLppq1VD0xtw1MIsfyhW573rLwXrcTLTvmuikjyOjt4bETIpSCDAmZ8VpSTr7avsdxPPzKmxcmtvOsWAsmzCtNnB5yR6vYW3j14e8z5+2llBosfKsqddVcUZJj55tBSejDYeqLunkNR+5cFtUkupAworBTxg1JrHymmS3xF2bZWWa6IMMv/o6uV5j+rCTlkj3zkZ8XzrQVuK+fgCsiZeoE+v/d3FOBPYEyfwMoPM1L8wnJ6CC+t4y6SNSEEx9hHsaoZjr1B0bm0oA8OMBognXSsv6PPcKUY/dvdzeN9VcQiSRWlbBSI0zTXpb 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:48:59.4214 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 48d48c7e-97e6-467d-00a2-08d8ab269088 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hNVuM/Ku7bCYLesi0/V+iA9wLi7RjsAhpnvHVWFCG8HOgSIBY9M8bTqqVogNhA+i2Np+89OJ38gk+mDE/3vl7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4233 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 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 de9db697e8..de7af5580e 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 61db244e98..9b0f586823 100644 --- a/include/configs/imx8mn_evk.h +++ b/include/configs/imx8mn_evk.h @@ -25,8 +25,6 @@ #define CONFIG_SPL_BSS_MAX_SIZE SZ_4K /* 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