From 5b822ab26adf42d7ecf332adc2f89651d934ce1d Mon Sep 17 00:00:00 2001 From: Ric Claus Date: Fri, 30 Nov 2012 15:56:04 -0800 Subject: Virtex4 BSP: Various updates and improvements. Switched to using the PPC403 clock driver. Added support for the MMU but didn't enable it by default. Made some functions static to avoid compiler warnings. Added a README. --- c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds') diff --git a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds index cff5767aef..74a10aa079 100644 --- a/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/virtex4/startup/linkcmds @@ -20,16 +20,17 @@ HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */ MEMORY { - VECTORS : ORIGIN = 0x00000000, LENGTH = 8K - RAM : ORIGIN = 0x00002000, LENGTH = 128M - 8K + VECTORS : ORIGIN = 0x00000000, LENGTH = 12K + RAM : ORIGIN = 0x00003000, LENGTH = 128M - 12K } SECTIONS { - __exeentry = download_entry; - __exestart = 0x100; - .vectors __exestart : { *(.vectors) } > VECTORS + bsp_exc_vector_base = 0x100; + __exeentry = download_entry; + __exestart = bsp_exc_vector_base; + .vectors bsp_exc_vector_base : { *(.vectors) } > VECTORS /* Read-only sections, merged into text segment: */ .interp : { *(.interp) } > RAM @@ -249,7 +250,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000; /* Message area for capturing early printk output */ /* Placed here to be easily findable with a debugger */ - MsgAreaBase = __bsp_ram_end; + MsgAreaBase = .; . += MsgAreaSize; __phy_ram_end = .; /* True end of physical memory */ -- cgit v1.2.3