kconfig: fix dt_node_has_prop and add nodelabel functions
The Kconfig function "dt_node_has_prop" was using label as its parameter, where other functions use either chosen or path. The documentation says that the parameter is path, so this patch makes the function as documentation says and as other functions in the file. The additional nodelabel functions were added as counterparts that are using nodes labels instead of paths. Signed-off-by: Michał Barnaś <mb@semihalf.com>
This commit is contained in:
parent
568fb35a62
commit
a1ab8da862
5 changed files with 68 additions and 25 deletions
|
@ -6,7 +6,7 @@
|
|||
if BT_LL_SW_SPLIT
|
||||
|
||||
DT_PATH_NORDIC_RADIO := $(dt_nodelabel_path,radio)
|
||||
DT_NORDIC_RADIO_DFE_SUPPORTED := $(dt_node_has_bool_prop,$(DT_PATH_NORDIC_RADIO),dfe-supported)
|
||||
DT_NORDIC_RADIO_DFE_SUPPORTED := $(dt_node_bool_prop,$(DT_PATH_NORDIC_RADIO),dfe-supported)
|
||||
|
||||
config BT_LLL_VENDOR_NORDIC
|
||||
bool "Use Nordic LLL"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue