kconfig: Introduce typed dt kconfig functions
Replace: dt_chosen_reg_addr dt_chosen_reg_size dt_node_reg_addr dt_node_reg_size with: dt_chosen_reg_addr_int dt_chosen_reg_size_int dt_chosen_reg_addr_hex dt_chosen_reg_size_hex dt_node_reg_addr_int dt_node_reg_size_int dt_node_reg_addr_hex dt_node_reg_size_hex So that we get the proper formatted string for the type of symbol. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
2d7303e13f
commit
22e7449b73
10 changed files with 98 additions and 58 deletions
|
@ -182,7 +182,7 @@ config SOC_FLASH_RV32M1
|
|||
DT_CHOSEN_Z_FLASH := zephyr,flash
|
||||
|
||||
config FLASH_BASE_ADDRESS
|
||||
default $(dt_chosen_reg_addr,$(DT_CHOSEN_Z_FLASH))
|
||||
default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH))
|
||||
|
||||
endif # FLASH
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue