arm: Convert DT_CCM_* to new devicetree.h macros

Convert various DT_CCM_* macros to use DT_CHOSEN(zephyr_ccm) and
associated macros from devicetree.h.

We remove CCM references from cortex_a and cortex_r linker scripts as
its only a feature on Cortex-M STM32 SoCs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-23 17:55:58 -05:00 committed by Kumar Gala
commit 9b4298c20d
5 changed files with 6 additions and 12 deletions

View file

@ -215,7 +215,7 @@ extern char __gcov_bss_size[];
/* end address of image, used by newlib for the heap */
extern char _end[];
#ifdef DT_CCM_BASE_ADDRESS
#if DT_HAS_NODE(DT_CHOSEN(zephyr_ccm))
extern char __ccm_data_rom_start[];
extern char __ccm_start[];
extern char __ccm_data_start[];
@ -225,7 +225,7 @@ extern char __ccm_bss_end[];
extern char __ccm_noinit_start[];
extern char __ccm_noinit_end[];
extern char __ccm_end[];
#endif /* DT_CCM_BASE_ADDRESS */
#endif
#if DT_HAS_NODE(DT_CHOSEN(zephyr_dtcm))
extern char __dtcm_data_start[];