1/* Linker script for the Midas labs RTE-NB85E-CB evaluation board
2   (CONFIG_RTE_CB_NB85E).  */
3
4MEMORY {
5	LOW   : ORIGIN = 0x0,	     LENGTH = 0x00100000
6	/* 1MB of SRAM  This memory is mirrored 4 times.  */
7	SRAM  : ORIGIN = SRAM_ADDR,  LENGTH = SRAM_SIZE
8	/* 16MB of SDRAM.  */
9	SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
10}
11
12#ifdef CONFIG_RTE_CB_NB85E_KSRAM
13# define KRAM SRAM
14#else
15# define KRAM SDRAM
16#endif
17
18SECTIONS {
19	.intv : { INTV_CONTENTS } > LOW
20	.sram : { RAMK_KRAM_CONTENTS } > KRAM
21	.root : { ROOT_FS_CONTENTS } > SDRAM
22}
23