1/* 2 * Copyright (c) 2023 Synopsys, Inc. All rights reserved. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/** 8 * @brief Linker script for the HSDK4XD Development Kit 9 */ 10 11#include <zephyr/devicetree.h> 12 13/* 14 * SRAM base address and size 15 */ 16#if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && (DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) > 0) 17#define SRAM_START DT_REG_ADDR(DT_CHOSEN(zephyr_sram)) 18#define SRAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) 19#endif 20 21#include <zephyr/arch/arc/v2/linker.ld> 22