console: Kconfig: Update for recent changes

Buffer sizes aren't required to be power of 2 for a while. Describe
that by setting buffers sizes to 0, one can get non interrupt driven
operation.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2018-12-14 11:56:10 +03:00 committed by Carles Cufí
commit 2ffb951630

View file

@ -33,18 +33,19 @@ config CONSOLE_GETCHAR_BUFSIZE
int "console_getchar() buffer size" int "console_getchar() buffer size"
default 16 default 16
help help
Buffer size for console_getchar(). Must be power of 2. The Buffer size for console_getchar(). The default is optimized
default is optimized to save RAM. You may need to increase to save RAM. You may need to increase it e.g. to support
it e.g. to support large host-side clipboard pastes. large host-side clipboard pastes. Set to 0 to disable
interrupt-driven operation and use busy-polling.
config CONSOLE_PUTCHAR_BUFSIZE config CONSOLE_PUTCHAR_BUFSIZE
int "console_putchar() buffer size" int "console_putchar() buffer size"
default 16 default 16
help help
Buffer size for console_putchar(). Must be power of 2. The Buffer size for console_putchar(). The default is optimized
default is optimized to save RAM. You may need to increase to save RAM. You may need to increase it e.g. to support
it e.g. to support large host-side clipboard pastes (with large host-side clipboard pastes. Set to 0 to disable
echo). interrupt-driven operation and use busy-polling.
endif # CONSOLE_GETCHAR endif # CONSOLE_GETCHAR