arch: arm: aarch32: linker file fix for OCM
Fix the mapping of the sections to be located in the On-Chip Memory so that the OCM memory region name always matches that of the chosen OCM DT node's memory-region attribute. Signed-off-by: Immo Birnbaum <Immo.Birnbaum@weidmueller.com>
This commit is contained in:
parent
05b5a234bc
commit
cd13e25bb3
1 changed files with 2 additions and 2 deletions
|
@ -352,7 +352,7 @@ GROUP_START(OCM)
|
|||
*(.ocm_bss)
|
||||
*(".ocm_bss.*")
|
||||
__ocm_bss_end = .;
|
||||
} GROUP_LINK_IN(OCM)
|
||||
} GROUP_LINK_IN(LINKER_DT_NODE_REGION_NAME(DT_CHOSEN(zephyr_ocm)))
|
||||
|
||||
SECTION_PROLOGUE(_OCM_DATA_SECTION_NAME,,SUBALIGN(4))
|
||||
{
|
||||
|
@ -360,7 +360,7 @@ GROUP_START(OCM)
|
|||
*(.ocm_data)
|
||||
*(".ocm_data.*")
|
||||
__ocm_data_end = .;
|
||||
} GROUP_LINK_IN(OCM)
|
||||
} GROUP_LINK_IN(LINKER_DT_NODE_REGION_NAME(DT_CHOSEN(zephyr_ocm)))
|
||||
|
||||
__ocm_end = .;
|
||||
__ocm_size = __ocm_end - __ocm_start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue