summaryrefslogtreecommitdiff
path: root/arch/v850/kernel/as85ep1-rom.ld
blob: fe2a9a3ab525adba004845735b5baf7213236d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Linker script for the NEC AS85EP1 V850E evaluation board
   (CONFIG_V850E_AS85EP1), with kernel in ROM (CONFIG_ROM_KERNEL).  */

MEMORY {
	/* 4MB of flash ROM.  */
	ROM   : ORIGIN = 0,          LENGTH = 0x00400000

	/* 1MB of static RAM.  */
	SRAM  : ORIGIN = SRAM_ADDR,  LENGTH = SRAM_SIZE

	/* About 58MB of DRAM.  This can actually be at one of two
	   positions, determined by jumper JP3; we have to use the first
	   position because the second is partially out of processor
	   instruction addressing range (though in the second position
	   there's actually 64MB available).  */
	SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
}

SECTIONS {
	ROMK_SECTIONS(ROM, SRAM)
}