aboutsummaryrefslogtreecommitdiffstats
path: root/arch/v850/kernel/rte_me2_cb.ld
blob: cf0766065ec67e1e092b4e35ec5e2bf34ca8df69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Linker script for the Midas labs RTE-V850E/ME2-CB evaluation board
   (CONFIG_RTE_CB_ME2), with kernel in SDRAM.  */

MEMORY {
	/* 128Kbyte of IRAM */
	IRAM : ORIGIN = 0x00000000, LENGTH = 0x00020000

	/* 32MB of SDRAM.  */
	SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
}

#define KRAM SDRAM

SECTIONS {
	.text : {
		__kram_start = . ;
		TEXT_CONTENTS
		INTV_CONTENTS	/* copy to iRAM (0x0-0x620) */
	} > KRAM

	.data : {
		DATA_CONTENTS
		BSS_CONTENTS
		RAMK_INIT_CONTENTS
		__kram_end = . ;
		BOOTMAP_CONTENTS
	} > KRAM
	
	.root ALIGN (4096) : { ROOT_FS_CONTENTS } > SDRAM
}