mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: debug: Limit range of DEBUG_UART_8250_SHIFT
@ 2015-06-14 20:19 Guenter Roeck
  2015-06-14 20:19 ` [PATCH v2 2/2] ARM: debug: Fix unsupported operand in Kconfig.debug Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-06-14 20:19 UTC (permalink / raw)
  To: Russell King; +Cc: linux-arm-kernel, linux-kernel, Guenter Roeck

The useful range for DEBUG_UART_8250_SHIFT is 0..31.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 arch/arm/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index f1b157971366..6608121c6ea5 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1566,6 +1566,7 @@ config DEBUG_UART_VIRT
 config DEBUG_UART_8250_SHIFT
 	int "Register offset shift for the 8250 debug UART"
 	depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250
+	range 0 31
 	default 0 if FOOTBRIDGE || ARCH_IOP32X || DEBUG_BCM_5301X || \
 		DEBUG_OMAP7XXUART1 || DEBUG_OMAP7XXUART2 || DEBUG_OMAP7XXUART3
 	default 2
-- 
2.1.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-14 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-14 20:19 [PATCH 1/2] ARM: debug: Limit range of DEBUG_UART_8250_SHIFT Guenter Roeck
2015-06-14 20:19 ` [PATCH v2 2/2] ARM: debug: Fix unsupported operand in Kconfig.debug Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®