Skip to contentSkip to conversation

ARM: debug: config DEBUG_UART_8250_WORD

DISCUSSION Paul Bolle 1 participant 1 message Jun 4, 2014

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

Russell,

The Kconfig entry for config DEBUG_UART_8250_WORD in arch/arm/Kconfig.debug contains this dependency:

    depends on DEBUG_UART_8250_SHIFT >= 2

But, as far as I can see, the Kconfig syntax doesn't allow tests like ">=", ">", "<=", etc. And as a result this dependency is (silently!) parsed as
depends on DEBUG_UART_8250_SHIFT = 2

Something like this

    depends on DEBUG_UART_8250_SHIFT != "0" && DEBUG_UART_8250_SHIFT != "1"

does what was apparently intended. Should I submit a (basically untested and) trivial patch to do that? Or would you prefer to find a more elegant solution yourself?

Paul Bolle