1/* 2 * Copyright (c) 2016 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/** 8 * @brief Linker script for the Nios II/e CPU with timer and 16550 UART 9 */ 10 11#include <layout.h> 12#include <zephyr/devicetree.h> 13 14#define _RAM_ADDR DT_REG_ADDR(DT_CHOSEN(zephyr_sram)) 15#define _RAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram)) 16 17#define _ROM_ADDR DT_REG_ADDR(DT_CHOSEN(zephyr_flash)) 18#define _ROM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_flash)) 19 20#include <zephyr/arch/nios2/linker.ld> 21