kconfig: hide cavs menu if not supported

If all symbols in menu are not selectable if some
other symbol is not present, then there is no point
in showing that menu.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-06-12 23:29:48 +02:00 committed by Tomasz Lauda
parent 917e64b8c5
commit e7af08b241
1 changed files with 1 additions and 2 deletions

View File

@ -5,10 +5,10 @@ mainmenu "SOF $(PROJECTVERSION) Configuration"
comment "Compiler: $(CC_VERSION_TEXT)"
menu "CAVS"
depends on CAVS
config HP_MEMORY_BANKS
int "HP memory banks count"
depends on CAVS
default 8
help
Available memory banks count for High Performance memory
@ -20,7 +20,6 @@ config HP_MEMORY_BANKS
config LP_MEMORY_BANKS
int "LP memory banks count"
default 1
depends on CAVS
help
Available memory banks count for Low Power memory