Skip to content

Commit

Permalink
modules/hal_ethos_u: do not expose module kconfigs if not enabled
Browse files Browse the repository at this point in the history
Do not expose module Kconfigs if not enabled or used.

(cherry picked from commit bf7d7d6)

Original-Signed-off-by: Anas Nashif <anas.nashif@intel.com>
GitOrigin-RevId: bf7d7d6
Change-Id: I0ac230599dd66b33f20377f2fd13f663f05ac0d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5107889
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
nashif authored and Chromeos LUCI committed Dec 9, 2023
1 parent 0074235 commit f2000fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/hal_ethos_u/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

0 comments on commit f2000fb

Please sign in to comment.