From patchwork Fri Dec 20 12:55:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13916711 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56B4C21519F for ; Fri, 20 Dec 2024 12:57:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699434; cv=none; b=ZzONKtjn63CgtiFyVLYEpZO+TFqwVgnvMgbmiYBYiEeI0EqxHWOorbSRDx3Lg0ZVILuAS9eco1a/MX97PAaZWJH6G4MoaK9F7sdZEWI9AVMhEJE0E4XMEs/6XUX7PWyUfvvkV6Rd4eLmFsYcXNLjQpgf18GekdyTvq80qaC8/tk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699434; c=relaxed/simple; bh=F9pW7aZupIqa7Rjdx7knQtA/UBfrwrc99ePeBJYZd1k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=a5vbLFkPwc+vpQ1QLUyQcnIe5GXRBwoREl+th9HeNj/n+qpoVCdIYEX9u885fpvNtMDtG265IO7jbr756RGmeH2NTZ2mmbKHir58Q3j1LV26YLsK8HXC7tIRmhSBADiByg4O7jnezwTedyIY1GDr6v4wQd31Y9UySBI2JcNYtrM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=SS51Pb5D; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="SS51Pb5D" Received: by smtp.kernel.org (Postfix) id 4A21FC4CED3; Fri, 20 Dec 2024 12:57:14 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 567DAC4CEDC for ; Fri, 20 Dec 2024 12:57:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 567DAC4CEDC Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BKBdEt6003932; Fri, 20 Dec 2024 13:57:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= BERTRdJsOJsjc7Droogh0Gz4DIEsg0qJokIFOHXa3TA=; b=SS51Pb5D1AeLh9Uh SNWh2i/3xXF8obEixGdH6EK5QYg9/EJxZ4djMstUuTINuCAzfnFE11HwHK5/G1Sx dmv8Asd9lVRE0eeEer4P6fi9p7WJOshaGWB36j5tS5NgYVhk+p4zPX7s1L0dJ63Y NBJL+rL4u9gQuK0FgzonGu+lqbvcekZzF8JKcNtEKL27q0Ecyxx3sbjZRssDc/Vr s78ACdIAYvl0JKRjos99NBtYGuGf15M3fU1NEbOPNGkL3Nu9/5aHba8MRELspltk aP+T/z7laqzNB3hhbU7HwqwbZcg606liFxuKO1VglSPYcoDHZiUw6Rz7HpQilVz1 GO1qiQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43n34bsrpb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 13:57:01 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 9F54E40051; Fri, 20 Dec 2024 13:55:52 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EC5A727664A; Fri, 20 Dec 2024 13:55:10 +0100 (CET) Received: from localhost (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Fri, 20 Dec 2024 13:55:10 +0100 From: To: Arnd Bergmann , Olof Johansson , Alexandre Torgue , Russell King , Maxime Coquelin , Petr Mladek , Yoann Congal CC: , , , , Patrice Chotard Subject: [PATCH v2 1/4] ARM: configs: stm32: Remove FLASH_MEM_BASE and FLASH_SIZE in STM32 defconfig Date: Fri, 20 Dec 2024 13:55:03 +0100 Message-ID: <20241220125506.3157268-2-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241220125506.3157268-1-patrice.chotard@foss.st.com> References: <20241220125506.3157268-1-patrice.chotard@foss.st.com> Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 From: Patrice Chotard Running make savedefconfig highlights some useless flags. Remove FLASH_MEM_BASE and FLASH_SIZE as these 2 flags are only used by CPU_ARM740T,CPU_ARM940T and CPU_ARM946E which is not the case here for CPU_V7M. Signed-off-by: Patrice Chotard --- arch/arm/configs/stm32_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 3baec075d1ef..973bf7c8236b 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -18,8 +18,6 @@ CONFIG_ARCH_STM32=y CONFIG_CPU_V7M_NUM_IRQ=240 CONFIG_SET_MEM_PARAM=y CONFIG_DRAM_BASE=0x90000000 -CONFIG_FLASH_MEM_BASE=0x08000000 -CONFIG_FLASH_SIZE=0x00200000 # CONFIG_ATAGS is not set CONFIG_XIP_KERNEL=y CONFIG_XIP_PHYS_ADDR=0x08008000 From patchwork Fri Dec 20 12:55:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13916708 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE07E211A3D for ; Fri, 20 Dec 2024 12:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; cv=none; b=ZMvikxb4XOn/xchvGcyV+AHoKOyyw/iajrhKrgb5mKbIBZ/sdF12bVGtOW8b2+T6XCMEbYKUrRQWZMGeAjpL/HjkZDr4kxkZEeUtcRl+3NXBL2R9pD50NJouUuzydvf+s5lhdkKbJ0Ccz/ke/19Ng53fXEuT0gPec2MmnIB3ZsM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; c=relaxed/simple; bh=v8pe1C462aV+fIG3zKXCiyEm9jqi4VSJIeaN+5T4Zms=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Tp31I4ohD/EEXqzJOXnVCBrePbnyQZEVGWgwfuxtvEGMX8Dh9IvAZFx/n+mi7Xczpdgk71tkZeBmn54EeCPxVAGJYdqBeI4vO6gMQ40uibTHJStukQhMWhwVWVuBE3Hv2xc0uGdBP3+RSPLIm0pXBx1c62WhaiXCkjKe9g2Axbg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=QJPTzdPP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="QJPTzdPP" Received: by smtp.kernel.org (Postfix) id B534DC4CEDD; Fri, 20 Dec 2024 12:57:12 +0000 (UTC) Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 4D79BC4CECD for ; Fri, 20 Dec 2024 12:57:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 4D79BC4CECD Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BKBdFeP004201; Fri, 20 Dec 2024 13:57:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= ZFQLjA+qCdmK/6bkXjOa7RkL7bqQFU/Akn66EgpB5fM=; b=QJPTzdPPboM5yU27 HTlg80IHvZzQ1v7UG7kAe61SbepE8iTa56/Z9kiErjJp/RblZdl5SqLQ0owNANkR HBQ5MUtyfzCKBctJUZ8lL8SL0UDobHe3kewqT0Iyik7jOb0xkqvNXGHJMxMLla5w LDbpKi3fchPL8SLoUHfDaFJ/HAOx1D/EmEa7FrR2zZHMTwFpj2+1zvef0kgVWkj2 OMfC6W63ygY3pMQ7Q2x5ZVzs6450b9qAOoTitQLyQX8goyPNYbUKrlpYgZDNSwQ6 Sjaljdo8C+47VKFeB6c+E2BM/ShmL/vSsUBrxCajD5mWzCwo8rYvoABJ/LNFH7SX gPDMtw== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43n6dcrrk0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 13:57:02 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 5ADCB40053; Fri, 20 Dec 2024 13:55:53 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id AB98F27665C; Fri, 20 Dec 2024 13:55:11 +0100 (CET) Received: from localhost (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Fri, 20 Dec 2024 13:55:11 +0100 From: To: Arnd Bergmann , Olof Johansson , Alexandre Torgue , Russell King , Maxime Coquelin , Petr Mladek , Yoann Congal CC: , , , , Patrice Chotard Subject: [PATCH v2 2/4] ARM: configs: stm32: Clean STM32 defconfig Date: Fri, 20 Dec 2024 13:55:04 +0100 Message-ID: <20241220125506.3157268-3-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241220125506.3157268-1-patrice.chotard@foss.st.com> References: <20241220125506.3157268-1-patrice.chotard@foss.st.com> Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 From: Patrice Chotard Running make savedefconfig highlights some useless flags. Since 54a48aa3d558 ("Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK") flag ENABLE_MUST_CHECK has been removed. Since 35260cf54522 ("Kconfig.debug: fix SCHED_DEBUG dependency") SCHED_DEBUG depends on DEBUG_KERNEL and PROC_FS. As PROC_FS is not set, SCHED_DEBUG reference can be removed. Since 78011042684d ("scsi: bsg: Move bsg_scsi_ops to drivers/scsi/") BLK_DEV_BSG depends on SCSI. As SCSI is not set, BLK_DEV_BSG reference can be removed. Signed-off-by: Patrice Chotard --- arch/arm/configs/stm32_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 973bf7c8236b..be7b63036730 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -12,7 +12,6 @@ CONFIG_BASE_SMALL=y # CONFIG_SIGNALFD is not set # CONFIG_EVENTFD is not set # CONFIG_AIO is not set -# CONFIG_BLK_DEV_BSG is not set # CONFIG_MMU is not set CONFIG_ARCH_STM32=y CONFIG_CPU_V7M_NUM_IRQ=240 @@ -72,10 +71,8 @@ CONFIG_NLS=y CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_PRINTK_TIME=y -# CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_DEBUG_BUGVERBOSE is not set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_MAGIC_SYSRQ=y # CONFIG_SLUB_DEBUG is not set -# CONFIG_SCHED_DEBUG is not set CONFIG_CRYPTO=y From patchwork Fri Dec 20 12:55:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13916707 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE0147D07D for ; Fri, 20 Dec 2024 12:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; cv=none; b=t0tyOyMDnZegZWvlvLUuaxO/com8uj6bRkDMWYAzFxftiUphFqP43mcmsgP537HibsviUknnh1RXOaA3E2J+vCUVNAm/7l9nF8enjo5g85lZyPHKWuPmwaoxXBMqOC2nKscIQhZl0LVa6ykjCmGKW5SuE2lzHnx1NcyffMh+EQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; c=relaxed/simple; bh=+VhWi7/d5K/wLb3DYGRz/98UMVFoH53OpUTiZtBVj1s=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=It3fwYiG2VhfVepX125VxncHxfApuIjWHr8TqZ4+vHhvQ0UF5EWx4djeDULvhO2ItNzzj0r5I1ZeClnrvyiQOy9w8h0hDpvShDmHW4EhkqbgTWRuAqseHi51t4q48BBdgWtRbDwKFEYgaL/kjRXJ8CRbqyy8+i6jHoRrcHQnUzw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=3TRX3D/P; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="3TRX3D/P" Received: by smtp.kernel.org (Postfix) id B2741C4CED3; Fri, 20 Dec 2024 12:57:12 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 56818C4AF09 for ; Fri, 20 Dec 2024 12:57:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 56818C4AF09 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BKBdHQF005325; Fri, 20 Dec 2024 13:57:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= 8d0M5vH214nW5hWYmS4DvqlNBlCNRLTZNSi1A6vgKkE=; b=3TRX3D/PmM4vGP5E YjDqSrLncoXckuU/gmpLex+umB8CExH3JyRoyBdS59MRjXMdaPo8fZzXoPhhelLl 9TyXLkB9ALX3RSq6yHZrMdM1YWy0ZPbsPm3V8lkpSXynaF/u9YM3BO3Aeka+xtmz MyCxr/8IV8d+OmjA95NxX5y39+ksYs0fbKR8oUFfdpkkNc8AYJeyUIdw/sYAKwxB SJ3t64+eQWRvjfyNarG+sf/8yMzkn8bLbWFNyjsq0dkvkEfWrCKGu07AoWERj61h T/z+jS9jPYJArss1zA/9fkJntOlngq7gqQ7z5ODHPsthWZkFsGZ+LRhJvGq7VoB3 hQr1rQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43n4vu1b2a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 13:57:02 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 1171640052; Fri, 20 Dec 2024 13:55:53 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 668A427665D; Fri, 20 Dec 2024 13:55:12 +0100 (CET) Received: from localhost (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Fri, 20 Dec 2024 13:55:12 +0100 From: To: Arnd Bergmann , Olof Johansson , Alexandre Torgue , Russell King , Maxime Coquelin , Petr Mladek , Yoann Congal CC: , , , , Patrice Chotard Subject: [PATCH v2 3/4] ARM: configs: stm32: Remove CRYPTO in STM32 defconfig Date: Fri, 20 Dec 2024 13:55:05 +0100 Message-ID: <20241220125506.3157268-4-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241220125506.3157268-1-patrice.chotard@foss.st.com> References: <20241220125506.3157268-1-patrice.chotard@foss.st.com> Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 From: Patrice Chotard Running make savedefconfig highlights some useless flags. Since 1c92d4a0edcf ("ARM: configs: stm32: Enable MMC_ARMMMCI and EXT3_FS support") CRYPTO is selected by EXT3_FS, so CRYPTO can be removed in stm32_defconfig. Signed-off-by: Patrice Chotard --- arch/arm/configs/stm32_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index be7b63036730..d62a0c0b7ce5 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -75,4 +75,3 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_MAGIC_SYSRQ=y # CONFIG_SLUB_DEBUG is not set -CONFIG_CRYPTO=y From patchwork Fri Dec 20 12:55:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 13916709 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AE1A7D07D for ; Fri, 20 Dec 2024 12:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; cv=none; b=I0fL/+cUdxSrLgu4N1w265+aoM2M9AHF9GJAx/aPg3Ons4sgDWedUPpMuq6Tvn/PtbT7XlOX+f+Sb2gloYmjq89JVVe4WcgwTa6VWvVrpQQEsfk6HIc7+1zNlEnlY0amQpNVdkI8UrcG3WWSgSKvIWFRSrFA+p50Pkue6HBvl1E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734699433; c=relaxed/simple; bh=gzi2CxFDQdCbQ1AYLAPmzDaSmgsV01ClmPgXfPrEu9k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=D1ieFddgPUof9Wfv8SooHZwx/QYPl7wUPE9+2GFFBMJAW+9FdVEbsYijHsD6Bdp0dULcF76jlKowAaqyTDId06H4m/Wz6hEXsfxONIgHxkpzXbk77UflX93SKWtzavSvZOKmjPYuWCxsdCl5+XovWa3MMhPgoPyArDHq8jf5ka8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=ZMW1iKsO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="ZMW1iKsO" Received: by smtp.kernel.org (Postfix) id 8E696C4CECD; Fri, 20 Dec 2024 12:57:13 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 5684DC4AF0B for ; Fri, 20 Dec 2024 12:57:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 5684DC4AF0B Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BKBdHpJ005350; Fri, 20 Dec 2024 13:57:01 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= gf94z3PIFbHYymMM5mkmDn7wyg3IsJqIi74hdr2FxBI=; b=ZMW1iKsO/3SQBomK pKNWXjbu9vcyHGqtuZCpYu6q/COiXx4flHrI6zXsON0N7IPetEIArCo0qzNxKlaQ Y020C/K8QwXag+G+lzxwPbRHDw+Kby2F21mcg9aB7UoROdwwYS9x5gzBIti2WpJx 4uvaCTob/C5/lvvfHUNKm/1mX+lp0KoLMf/0moQm8QLSlgmVRED6wRUsodH/2p85 QayThQLslGIeGclr1RQI10a7oGFLwMh8+bgtPInxjNB66lnfDyFH/a2IP4F9FALb FrLTStcdVQqM6K9xMcGUL3V9gukKVVADYzjOCalod90i0Bod+HHmLVD1uJd3vDhA bbZ29w== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 43n4vu1b29-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Dec 2024 13:57:01 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id E15E240054; Fri, 20 Dec 2024 13:55:53 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 33CE227665F; Fri, 20 Dec 2024 13:55:13 +0100 (CET) Received: from localhost (10.48.87.62) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Fri, 20 Dec 2024 13:55:12 +0100 From: To: Arnd Bergmann , Olof Johansson , Alexandre Torgue , Russell King , Maxime Coquelin , Petr Mladek , Yoann Congal CC: , , , , Patrice Chotard Subject: [PATCH v2 4/4] ARM: configs: stm32: Remove useless flags in STM32 defconfig Date: Fri, 20 Dec 2024 13:55:06 +0100 Message-ID: <20241220125506.3157268-5-patrice.chotard@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241220125506.3157268-1-patrice.chotard@foss.st.com> References: <20241220125506.3157268-1-patrice.chotard@foss.st.com> Precedence: bulk X-Mailing-List: soc@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SAFCAS1NODE2.st.com (10.75.90.13) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 From: Patrice Chotard As stm32_defconfig is dedicated to STM32 MCUs, disable CONFIG_COMMON_CLK_STM32MP flag which is only used by STM32 MPUs. Disable CONFIG_SUSPEND, CONFIG_ADVISE_SYSCALLS, CONFIG_IO_URING CONFIG_POSIX_TIMERS, CONFIG_GCC_PLUGINS, it will reduce the kernel image size for these platforms which embed a low amount of memory. Tested on STM32F746-DISCO board which embeds 8MB of memory. Signed-off-by: Patrice Chotard --- arch/arm/configs/stm32_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index d62a0c0b7ce5..77048b5e1ec4 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -6,12 +6,15 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_EXPERT=y # CONFIG_UID16 is not set +# CONFIG_POSIX_TIMERS is not set CONFIG_BASE_SMALL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set # CONFIG_SIGNALFD is not set # CONFIG_EVENTFD is not set # CONFIG_AIO is not set +# CONFIG_IO_URING is not set +# CONFIG_ADVISE_SYSCALLS is not set # CONFIG_MMU is not set CONFIG_ARCH_STM32=y CONFIG_CPU_V7M_NUM_IRQ=240 @@ -20,6 +23,8 @@ CONFIG_DRAM_BASE=0x90000000 # CONFIG_ATAGS is not set CONFIG_XIP_KERNEL=y CONFIG_XIP_PHYS_ADDR=0x08008000 +# CONFIG_SUSPEND is not set +# CONFIG_GCC_PLUGINS is not set CONFIG_BINFMT_FLAT=y # CONFIG_COREDUMP is not set # CONFIG_VM_EVENT_COUNTERS is not set @@ -60,6 +65,7 @@ CONFIG_DMADEVICES=y CONFIG_STM32_DMA=y CONFIG_STM32_DMAMUX=y CONFIG_STM32_MDMA=y +# CONFIG_COMMON_CLK_STM32MP is not set CONFIG_IIO=y CONFIG_STM32_ADC_CORE=y CONFIG_STM32_ADC=y