Skip to content

Commit

Permalink
kconfig: hide cavs menu if not supported
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jajanusz authored and tlauda committed Jun 13, 2019
1 parent 917e64b commit e7af08b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit e7af08b

Please sign in to comment.