From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hlIvz-0003ho-Al for barebox@lists.infradead.org; Wed, 10 Jul 2019 20:11:24 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hlIvx-00064Y-66 for barebox@lists.infradead.org; Wed, 10 Jul 2019 22:11:21 +0200 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1hlIvu-0001sh-IE for barebox@lists.infradead.org; Wed, 10 Jul 2019 22:11:18 +0200 From: Ahmad Fatoum Date: Wed, 10 Jul 2019 22:11:07 +0200 Message-Id: <20190710201112.9086-2-a.fatoum@pengutronix.de> In-Reply-To: <20190710201112.9086-1-a.fatoum@pengutronix.de> References: <20190710201112.9086-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/7] ARM: stm32mp: set CONFIG_ARCH_NR_GPIO = (26 * 16) To: barebox@lists.infradead.org The STM32MP1 GPIO bindings uses the range [400; 415] for the gpioz controller, which exceeds the barebox-wide ARCH_NR_GPIOS of 256. Therefore have the stm32mp define a subarch-specific max of 416. Signed-off-by: Ahmad Fatoum --- arch/arm/mach-stm32mp/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index be16294f5ad7..3bb8eb0096cb 100644 --- a/arch/arm/mach-stm32mp/Kconfig +++ b/arch/arm/mach-stm32mp/Kconfig @@ -1,5 +1,9 @@ if ARCH_STM32MP +config ARCH_NR_GPIO + int + default 416 + config ARCH_STM32MP1157 bool -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox