2019-07-25 16:44:41 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Synopsys, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Linker script for the HS Development Kit
|
|
|
|
*/
|
|
|
|
|
2022-05-09 19:20:58 +08:00
|
|
|
#include <zephyr/devicetree.h>
|
2019-07-25 16:44:41 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* SRAM base address and size
|
|
|
|
*/
|
2020-04-30 22:34:04 +08:00
|
|
|
#if DT_NODE_HAS_PROP(DT_CHOSEN(zephyr_sram), reg) && \
|
|
|
|
(DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) > 0)
|
|
|
|
#define SRAM_START DT_REG_ADDR(DT_CHOSEN(zephyr_sram))
|
|
|
|
#define SRAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram))
|
2019-07-25 16:44:41 +08:00
|
|
|
#endif
|
|
|
|
|
2022-05-09 19:20:58 +08:00
|
|
|
#include <zephyr/arch/arc/v2/linker.ld>
|