2016-06-03 01:48:59 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Intel Corporation
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-06-03 01:48:59 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Linker script for the Nios II/e CPU with timer and 16550 UART
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <layout.h>
|
2020-01-16 20:29:53 +08:00
|
|
|
#include <devicetree.h>
|
2020-05-01 03:20:21 +08:00
|
|
|
|
|
|
|
#define _RAM_ADDR DT_REG_ADDR(DT_CHOSEN(zephyr_sram))
|
|
|
|
#define _RAM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_sram))
|
|
|
|
|
|
|
|
#define _ROM_ADDR DT_REG_ADDR(DT_CHOSEN(zephyr_flash))
|
|
|
|
#define _ROM_SIZE DT_REG_SIZE(DT_CHOSEN(zephyr_flash))
|
|
|
|
|
2016-06-03 01:48:59 +08:00
|
|
|
#include <arch/nios2/linker.ld>
|