Rename TEXT_BASE into CONFIG_SYS_TEXT_BASEThe change is currently needed to be able to remove the boardconfiguration scripting from the top level Makefile and replace it bya simple, table driven
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASEThe change is currently needed to be able to remove the boardconfiguration scripting from the top level Makefile and replace it bya simple, table driven script.Moving this configuration setting into the "CONFIG_*" name space isalso desirable because it is needed if we ever should move forward toa Kconfig driven configuration system.Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUSigned-off-by: Peter Tyser <ptyser@xes-inc.com>
Rename lib_generic/ to lib/Now that the other architecture-specific lib directories have beenmoved out of the top-level directory there's not much reason to have the'_generic' suffix on the commo
Rename lib_generic/ to lib/Now that the other architecture-specific lib directories have beenmoved out of the top-level directory there's not much reason to have the'_generic' suffix on the common lib directory.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Move lib_$ARCH directories to arch/$ARCH/libAlso move lib_$ARCH/config.mk to arch/$ARCH/config.mkThis change is intended to clean up the top-level directory structureand more closely mimic Linux
Move lib_$ARCH directories to arch/$ARCH/libAlso move lib_$ARCH/config.mk to arch/$ARCH/config.mkThis change is intended to clean up the top-level directory structureand more closely mimic Linux's directory organization.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Fix all linker script to handle all rodata sectionsA 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
Fix all linker script to handle all rodata sectionsA 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 thisone section, we use a wildcard ".rodata*" to get all rodata linker sectiongcc has now and might add in the future.However, '*(.rodata*)' by itself will result in sub-optimal sectionordering. The sections will be sorted by object file, which causes extrapadding between the unaligned rodata.str.1.1 of one object file and thealigned rodata of the next object file. This is easy to fix by using theSORT_BY_ALIGNMENT command.This patch has not be tested one most of the boards modified. Some boardshave 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 to16 bytes, which is what I think the real purpose of the ALIGN call is.Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
ColdFire: Remove platforms mii.c fileWill use mcfmii.c driver in drivers/net rather thankeep creating new mii.c for each future platform.Remove EB+MCF-EV123, cobra5272, idmr, M5235EVB,M5271EVB,
ColdFire: Remove platforms mii.c fileWill use mcfmii.c driver in drivers/net rather thankeep creating new mii.c for each future platform.Remove EB+MCF-EV123, cobra5272, idmr, M5235EVB,M5271EVB, M5272C3, M5275EVB, M5282EVB, M5329EVB,M5373EVB, M54451EVB, M54455EVB, M547xEVB, and M548xEVB'smii.cSigned-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
rename CFG_ macros to CONFIG_SYSSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
rename environment.c in env_embedded.c to reflect is functionalitySigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fix compile error caused by incorrect function return typeRename int mii_init(void) to void mii_init(void)Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Change initdram() return type to phys_size_tThis 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 dr
Change initdram() return type to phys_size_tThis 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 dramto 2GB, and u-boot in general is moving over to phys_size_t to represent thesize of physical memory. phys_size_t is defined as an unsigned long on almostall current platforms.This patch *only* changes the return type of the initdram function (ininclude/common.h, as well as in each board's implementation of initdram). Itdoes 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 modifytheir initdram() function code.Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpcMPC8641HPCN.Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print st
Big white-space cleanup.This commit gets rid of a huge amount of silly white-space issues.Especially, all sequences of SPACEs followed by TAB characters getremoved (unless they appear in print statements).Also remove all embedded "vim:" and "vi:" statements which hideindentation problems.Signed-off-by: Wolfgang Denk <wd@denx.de>
Remove all the search paths from the .lds files.The cross compiler is responsible for providing the correct librariesand the logic to find the linking libraries.Signed-off-by: Jason Wessel <jaso
Remove all the search paths from the .lds files.The cross compiler is responsible for providing the correct librariesand the logic to find the linking libraries.Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Fix remaining CONFIG_COMMANDSupdate commentsFix coding styleSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWith recent toolchain versions, some boards would not build becauseor errors like this one (here for ocotea board when building withE
Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWith recent toolchain versions, some boards would not build becauseor errors like this one (here for ocotea board when building withELDK 4.2 beta):ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab]For many boards, the .bss section is big enough that it wraps aroundat the end of the address space (0xFFFFFFFF), so the problem will notbe visible unless you use a 64 bit tool chain for development. Onsome boards however, changes to the code size (due to differentoptimizations) we bail out with section overlaps like above.The fix is to add the NOLOAD attribute to the .bss and .sbsssections, telling the linker that .bss does not consume any space inthe image.Signed-off-by: Wolfgang Denk <wd@denx.de>
ColdFire: cobra5272 platform for MCF52x2 updateSigned-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Move "ar" flags to config.mk to allow for silent "make -s"Based on patch by Mike Frysinger, 20 Jun 2006
Add support for a saving build objects in a separate directory.Modifications are based on the linux kernel approach andsupport two use cases: 1) Add O= to the make command line 'make O=/tmp/bu
Add support for a saving build objects in a separate directory.Modifications are based on the linux kernel approach andsupport two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make'The second approach can also be used with a MAKEALL script'export BUILD_DIR=/tmp/build''./MAKEALL'Command line 'O=' setting overrides BUILD_DIR environent variable.When none of the above methods is used the local build is performed andthe object files are placed in the source directory.
Fixes for gcc 3.4 based m68k toolchain,based on patch by Jate Sujjavanich.
More GCC 4.x code cleanup
Fix problems with ld version 2.16 (dot outside sections problem)Pointed out by Gerhard Jaeger, 31 Aug 2005;cf. http://sourceware.org/ml/binutils/2005-08/msg00412.html
Patch by Florian Schlote, 08 Sep 2004:Add support for SenTec-COBRA5272-board (Coldfire).
12