modules/hal_ethos_u: do not expose module kconfigs if not enabled
Do not expose module Kconfigs if not enabled or used. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7b78393b07
commit
bf7d7d6214
1 changed files with 3 additions and 1 deletions
|
@ -9,10 +9,10 @@ config ARM_ETHOS_U
|
|||
help
|
||||
This option enables the Arm Ethos-U core driver.
|
||||
|
||||
if ARM_ETHOS_U
|
||||
menu "Arm Ethos-U NPU configuration"
|
||||
choice ARM_ETHOS_U_NPU_CONFIG
|
||||
prompt "Arm Ethos-U NPU configuration"
|
||||
depends on ARM_ETHOS_U
|
||||
default ARM_ETHOS_U55_128
|
||||
config ARM_ETHOS_U55_64
|
||||
bool "using Ethos-U55 with 64 macs"
|
||||
|
@ -69,3 +69,5 @@ config ARM_ETHOS_U_LOG_LEVEL
|
|||
default 2 if ARM_ETHOS_U_LOG_LEVEL_WRN
|
||||
default 3 if ARM_ETHOS_U_LOG_LEVEL_INF
|
||||
default 4 if ARM_ETHOS_U_LOG_LEVEL_DBG
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue