logging: log_backend_rb: Use int for memory area size

Change "hex" to "int" for LOG_BACKEND_RB_MEM_SIZE.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2020-02-12 13:04:16 +02:00 committed by Johan Hedberg
commit 767d1bb6f9
2 changed files with 3 additions and 3 deletions

View file

@ -46,10 +46,10 @@ config LOG_BACKEND_RB
default y default y
config LOG_BACKEND_RB_MEM_BASE config LOG_BACKEND_RB_MEM_BASE
default "0xBE008000" default 0xBE008000
config LOG_BACKEND_RB_MEM_SIZE config LOG_BACKEND_RB_MEM_SIZE
default "0x2000" default 8192
endif # LOG endif # LOG

View file

@ -511,7 +511,7 @@ config LOG_BACKEND_RB_MEM_BASE
Address of the ring buffer in the memory. Address of the ring buffer in the memory.
config LOG_BACKEND_RB_MEM_SIZE config LOG_BACKEND_RB_MEM_SIZE
hex "Size of the ring buffer" int "Size of the ring buffer"
help help
Size of the ring buffer. Must be multiply of the message slot Size of the ring buffer. Must be multiply of the message slot
size. size.