mirror of https://github.com/thesofproject/sof.git
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:
parent
917e64b8c5
commit
e7af08b241
3
Kconfig
3
Kconfig
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue