From patchwork Thu Mar 23 10:09:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 9640653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 606AD601E9 for ; Thu, 23 Mar 2017 10:09:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4124C2848D for ; Thu, 23 Mar 2017 10:09:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 359CE284D4; Thu, 23 Mar 2017 10:09:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8431C2848D for ; Thu, 23 Mar 2017 10:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2gkdvPK9SygJZujuamhb/hou5E4YSptmZA4cSjO31oI=; b=s0FQbo7t+unBXH KegW3RCwL3SuhcqL/6A81Jj410rvy5r8kafdFLe/FYXLNZVjBRWsX8iJUYZHok40vRvYZIjmXikt+ dSNLkyAhhpQLSqOQxR145NMdDVD4kZe8/v5I+9ZAZkFRIVy/OqvqSTXT8qPzWSbtXYpCl+GaOlBp3 MotuZdykvL/Z5dU5nJheoDxylFKIbbbzsL6JEcjt88WhL+kkFa/50DWNrLkWP7RCAjNMkblmvQEtu MwVd+NoJETuh0fFedIbXJqV1t0r15/Os7krbv/b9uSXUBAucuv+0+kbnUbBuFv/WFP0zUrx0M+mbx S6dLnjujS/hMshk+98nw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqzgl-00054l-PK; Thu, 23 Mar 2017 10:09:51 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqzgj-00054P-RG for linux-arm-kernel@bombadil.infradead.org; Thu, 23 Mar 2017 10:09:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Wycezq9JFS9un9GwORvv40fXnWCSuZq25Vveyxsu0Kk=; b=ISe9cTZAG7ikLsz+DLHIui4Y9n 6d76lotA24hpLBqvNaV6CPCakt1dMAhkz0YDGinczLY9MPILNOv13Q04b2VO6ypnsgSfiOrnft87M hfqG4Esryt1RRtOMWaXXdIv4jzaI2lT67TccQqBBzB42sfWfNDfQ0OTP2M0/Q/lFRRuotgpgtVfzY U28XgsfXRa//TtqopVnMPsUbicH7ar8J0ZGxnAPLzam50BPRbdPqPZ0HV1vnI1Qj9V6Lbq2ssLgf1 SmkE8geSfLUnmcUYwvStmvji4RXC0apTwAdFyaxwq5OwjQGBc753BVjlNoZ5dZQveIRakIM0UEkvG wyzefqAQ==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqzgh-0006SD-Nl for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2017 10:09:49 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id v2NA8N6g007512; Thu, 23 Mar 2017 11:09:08 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-.pphosted.com with ESMTP id 29b9wh2rpb-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 Mar 2017 11:09:08 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 78EC93D; Thu, 23 Mar 2017 10:09:07 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1B9902748; Thu, 23 Mar 2017 10:09:07 +0000 (GMT) Received: from localhost (10.75.127.50) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 23 Mar 2017 11:09:06 +0100 From: Alexandre TORGUE To: Russell King , Maxime Coquelin Subject: [PATCH] ARM: configs: stm32: Set CPU_V7M_NUM_IRQ to max value Date: Thu, 23 Mar 2017 11:09:06 +0100 Message-ID: <1490263746-10512-1-git-send-email-alexandre.torgue@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-03-23_09:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170323_060947_966360_5E1E1727 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olof Johansson , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP stm32_defconfig is used for several STM32 MCU: STM32F429, STM32F469, STM32F746 and now STM32H743. Each of MCU listed have different interrupts number mapped on NVIC. STM32F429: 81, STM32F469: 92, STM32F746: 97 and STM32H743: 149. I could set CPU_V7M_NUM_IRQ to 149 but in order to avoid forgetting to update this value for next STM32 MCU I prefer to set it to max value: 240. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c..7c9c157 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -20,6 +20,7 @@ CONFIG_EMBEDDED=y # CONFIG_MMU is not set CONFIG_ARM_SINGLE_ARMV7M=y CONFIG_ARCH_STM32=y +CONFIG_CPU_V7M_NUM_IRQ=240 CONFIG_SET_MEM_PARAM=y CONFIG_DRAM_BASE=0x90000000 CONFIG_FLASH_MEM_BASE=0x08000000