summaryrefslogtreecommitdiff
path: root/board/gaisler
AgeCommit message (Collapse)Author
2009-03-20Fix all linker script to handle all rodata sectionsTrent Piepho
A recent gcc added a new unaligned rodata section called '.rodata.str1.1', which needs to be added the the linker script. Instead of just adding this one section, we use a wildcard ".rodata*" to get all rodata linker section gcc has now and might add in the future. However, '*(.rodata*)' by itself will result in sub-optimal section ordering. The sections will be sorted by object file, which causes extra padding between the unaligned rodata.str.1.1 of one object file and the aligned rodata of the next object file. This is easy to fix by using the SORT_BY_ALIGNMENT command. This patch has not be tested one most of the boards modified. Some boards have a linker script that looks something like this: *(.text) . = ALIGN(16); *(.rodata) *(.rodata.str1.4) *(.eh_frame) I change this to: *(.text) . = ALIGN(16); *(.eh_frame) *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) This means the start of rodata will no longer be 16 bytes aligned. However, the boundary between text and rodata/eh_frame is still aligned to 16 bytes, which is what I think the real purpose of the ALIGN call is. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-02Cleanup out-or-tree building for some boards (.depend)Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-06-12Change initdram() return type to phys_size_tBecky Bruce
This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-04-08SPARC/LEON2: added support for Gaisler simulator GRSIM/TSIM for SPARC/LEON2 ↵Daniel Hellstrom
targets. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-04-08SPARC/LEON3: added support for GR-CPCI-AX2000 FPGA AX board. The FPGA is ↵Daniel Hellstrom
exchangeable but a standard LEON3 design is assumed. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-04-08SPARC/LEON3: added support for Altera NIOS Development kit (STRATIX II ↵Daniel Hellstrom
Edition) with GRLIB template design. See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-04-08SPARC/LEON3: added support for Gaisler GRSIM/TSIM2 SPARC/LEON3 simulatorn. ↵Daniel Hellstrom
See www.gaisler.com for information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-04-08SPARC/LEON3: added support for GR-XC3S-1500 board with GRLIB template ↵Daniel Hellstrom
design. See www.gaisler.com for board information. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>