The initial support of iotdk which is a board based on Synopsys ARC IoT SoC. In this commit, it includes * processor support * UART driver Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
/*
|
|
* Copyright (c) 2018 Synopsys, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @brief Linker script for the Synopsys ARC IoT Development Kit
|
|
*/
|
|
|
|
#include <generated_dts_board.h>
|
|
|
|
/*
|
|
* SRAM base address and size
|
|
*
|
|
*/
|
|
#if defined(CONFIG_SRAM_BASE_ADDRESS) && (CONFIG_SRAM_SIZE > 0)
|
|
#define SRAM_START CONFIG_SRAM_BASE_ADDRESS
|
|
#define SRAM_SIZE CONFIG_SRAM_SIZE
|
|
#endif
|
|
|
|
#if defined(CONFIG_FLASH_BASE_ADDRESS) && (CONFIG_FLASH_SIZE > 0)
|
|
#define FLASH_START CONFIG_FLASH_BASE_ADDRESS
|
|
#define FLASH_SIZE CONFIG_FLASH_SIZE
|
|
#endif
|
|
|
|
|
|
/* Instruction Closely Coupled Memory (ICCM) base address and size */
|
|
#if defined(CONFIG_ICCM_BASE_ADDRESS) && (CONFIG_ICCM_SIZE > 0)
|
|
#define ICCM_START CONFIG_ICCM_BASE_ADDRESS
|
|
#define ICCM_SIZE CONFIG_ICCM_SIZE
|
|
#endif
|
|
|
|
/*
|
|
* DCCM base address and size. DCCM is the data memory.
|
|
*/
|
|
/* Data Closely Coupled Memory (DCCM) base address and size */
|
|
#if defined(CONFIG_DCCM_BASE_ADDRESS) && (CONFIG_DCCM_SIZE > 0)
|
|
#define DCCM_START CONFIG_DCCM_BASE_ADDRESS
|
|
#define DCCM_SIZE CONFIG_DCCM_SIZE
|
|
#endif
|
|
|
|
#include <arch/arc/v2/linker.ld>
|