ppc: Move cpu/$CPU to arch/ppc/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>
show more ...
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>
ppc: Enable full relocation to RAMThe following changes allow U-Boot to fully relocate from flash toRAM: - Remove linker scripts' .fixup sections from the .text section - Add -mrelocatable to PL
ppc: Enable full relocation to RAMThe following changes allow U-Boot to fully relocate from flash toRAM: - Remove linker scripts' .fixup sections from the .text section - Add -mrelocatable to PLATFORM_RELFLAGS for all boards - Define CONFIG_RELOC_FIXUP_WORKS for all boardsPreviously, U-Boot would partially relocate, but statically initializedpointers needed to be manually relocated.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
General help message cleanupMany of the help messages were not really helpful; for example, manycommands that take no arguments would not print a correct synopsisline, but "No additional help ava
General help message cleanupMany of the help messages were not really helpful; for example, manycommands that take no arguments would not print a correct synopsisline, but "No additional help available." which is not exactly wrong,but not helpful either.Commit ``Make "usage" messages more helpful.'' changed thispartially. But it also became clear that lots of "Usage" and "Help"messages (fields "usage" and "help" in struct cmd_tbl_s respective)were actually redundant.This patch cleans this up - for example:Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat.After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dttSigned-off-by: Wolfgang Denk <wd@denx.de>
arm: unify linker scriptall arm boards except a few use the same cpu linker scriptso move it to cpu/$(CPU)that could be overwrite in following orderSOCBOARDvia the corresponding config.mkSi
arm: unify linker scriptall arm boards except a few use the same cpu linker scriptso move it to cpu/$(CPU)that could be overwrite in following orderSOCBOARDvia the corresponding config.mkSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
ppc: cleanup compiler errors/warningsCurrent u-boot top of tree builds with warnings/errors forthe following boards:ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823RPXClassic debris PN62
ppc: cleanup compiler errors/warningsCurrent u-boot top of tree builds with warnings/errors forthe following boards:ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823RPXClassic debris PN62following patch solves this.Signed-off-by: Heiko Schocher <hs@denx.de>Acked-by: Mike Frysinger <vapier@gentoo.org>
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>
boards: move board_get_enetaddr() into board-specific initThe environment is the canonical storage location of the mac address, sowe're killing off the global data location and moving everything t
boards: move board_get_enetaddr() into board-specific initThe environment is the canonical storage location of the mac address, sowe're killing off the global data location and moving everything toquerying the env directly.Rather than have the common ppc code have board-specific hooks, move theboard_get_enetaddr() function into the board-specific init functions.Signed-off-by: Mike Frysinger <vapier@gentoo.org>CC: Ben Warren <biggerbadderben@gmail.com>
Command usage cleanupRemove command name from all command "usage" fields and updatecommon/command.c to display "name - usage" instead ofjust "usage". Also remove newlines from command usage field
Command usage cleanupRemove command name from all command "usage" fields and updatecommon/command.c to display "name - usage" instead ofjust "usage". Also remove newlines from command usage fields.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Standardize command usage messages with cmd_usage()Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Align end of bss by 4 bytesMost of the bss initialization loop increments 4 bytesat a time. And the loop end is checked for an 'equal'condition. Make the bss end address aligned by 4, sothat the
Align end of bss by 4 bytesMost of the bss initialization loop increments 4 bytesat a time. And the loop end is checked for an 'equal'condition. Make the bss end address aligned by 4, sothat the loop will end as expected.Signed-off-by: Selvamuthukumar <selva.muthukumar@e-coninfotech.com>Signed-off-by: Wolfgang Denk <wd@denx.de>
Cleanup: fix "MHz" spellingSigned-off-by: Wolfgang Denk <wd@denx.de>
rename CFG_ macros to CONFIG_SYSSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
rename CFG_ENV macros to CONFIG_ENVSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASHSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
cleanup use of CFG_ENV_IS_IN_FLASH- #if CFG_ENV_IS_IN_FLASH- #if (CFG_ENV_IS_IN_FLASH == 1)- #define CFG_ENV_IS_IN_FLASH 0Signed-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>
CCM/SCM boards: fix out of tree buildingSigned-off-by: Wolfgang Denk <wd@denx.de>
SCM board: fix build errors.Signed-off-by: Wolfgang Denk <wd@denx.de>
IAD210 board: fix ``"ALIGN" redefined'' warning.Signed-off-by: Wolfgang Denk <wd@denx.de>
CCM board: fix build errors.Signed-off-by: Wolfgang Denk <wd@denx.de>
Cleanup: replace hard-wired $(AR) 'crv' settings by $(ARFLAGS)Signed-off-by: Wolfgang Denk <wd@denx.de>
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>
1234567