1/* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/devicetree.h> 8 9m_sector_size = 0x2000; 10m_flash_end = 0x000FFFFF; 11 12 13m_fsl_prodInfo_size = m_sector_size; 14m_fsl_prodInfo_start = m_flash_end - m_fsl_prodInfo_size + 1; 15m_fsl_prodInfo_end = m_flash_end; 16PROD_DATA_BASE_ADDR = m_fsl_prodInfo_start; 17 18/* 19 * We perform all custom placement before including the generic linker file. This 20 * is done because calling this linker at the beginning will place some sections 21 * first, such as .noinit*, and this includes the rpmsg_sh_mem, which results 22 * in placing the rpmsg section in RAM instead of shared mem. 23 */ 24 25#include <zephyr/arch/arm/cortex_m/scripts/linker.ld> 26