scripts/dts/extract_dts_includes.py: add ccm support

Add support for generating CONFIG_CCM_BASE_ADDRESS and CONFIG_CCM_SIZE
from the dts files.

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-11-28 21:32:43 +01:00 committed by Kumar Gala
parent 581446d8cd
commit e4890181b4
1 changed files with 4 additions and 0 deletions

View File

@ -869,6 +869,10 @@ def main():
extract_reg_prop(chosen['zephyr,sram'], None,
defs, "CONFIG_SRAM", 1024, None)
if 'zephyr,ccm' in chosen:
extract_reg_prop(chosen['zephyr,ccm'], None,
defs, "CONFIG_CCM", 1024, None)
name_dict = {
"CONFIG_UART_CONSOLE_ON_DEV_NAME": "zephyr,console",
"CONFIG_BT_UART_ON_DEV_NAME": "zephyr,bt-uart",