common: ep93xx: Move arch-specific declarations out of commonThese declarations should not be in common. Remove those that are notneeded and move the others to an arch-specific location.Signed-o
common: ep93xx: Move arch-specific declarations out of commonThese declarations should not be in common. Remove those that are notneeded and move the others to an arch-specific location.Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
status_led: Kconfig migrationMove all of the status LED feature to drivers/led/Kconfig.The LED status definitions were moved from the board configurationfiles to the defconfig files.TBD: Move a
status_led: Kconfig migrationMove all of the status LED feature to drivers/led/Kconfig.The LED status definitions were moved from the board configurationfiles to the defconfig files.TBD: Move all of the definitions in the include/status_led.h to therelevant board's defconfig files.Tested boards: CL-SOM-AM57x, CM-T335Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
arch/arm/cpu/arm920t/ep93xx/led.c: Mark inline functions as static inlineWith gcc-5.x we get warning about inline non-static functions referring tostatic elements.Signed-off-by: Tom Rini <trini@
arch/arm/cpu/arm920t/ep93xx/led.c: Mark inline functions as static inlineWith gcc-5.x we get warning about inline non-static functions referring tostatic elements.Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arm: ep9315: Add .vectors section to lds and remove obsolete ldsHowever ep9315 don't useinterrupt vectors during startup, but _startup symbol is used inside uboot tocalculate actual monitor size.
arm: ep9315: Add .vectors section to lds and remove obsolete ldsHowever ep9315 don't useinterrupt vectors during startup, but _startup symbol is used inside uboot tocalculate actual monitor size.Signed-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>Cc: albert.u.boot@aribaud.net
arm: ep9315: Return back Cirrus Logic EDB9315A board supportThis patch returns back support for old ep93xx processors familySigned-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>Cc: albe
arm: ep9315: Return back Cirrus Logic EDB9315A board supportThis patch returns back support for old ep93xx processors familySigned-off-by: Sergey Kostanbaev <sergey.kostanbaev@gmail.com>Cc: albert.u.boot@aribaud.net
arm: move exception handling out of start.S filesException handling is basically identical for all ARM targets.Factorize it out of the various start.S files and into asingle vectors.S file, and a
arm: move exception handling out of start.S filesException handling is basically identical for all ARM targets.Factorize it out of the various start.S files and into asingle vectors.S file, and adjust linker scripts accordingly.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
arm: make _end compiler-generatedThis prevents references to _end from generating absoluterelocation records.This change is binary invariant for ARM targets.Signed-off-by: Albert ARIBAUD <albe
arm: make _end compiler-generatedThis prevents references to _end from generating absoluterelocation records.This change is binary invariant for ARM targets.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
arm920t: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
arm: make __image_copy_{start, end} compiler-generatedThis change is only done where needed: some linkerscripts may contain __image_copy_{start,end} yetremain unchanged.Also, __image_copy_end n
arm: make __image_copy_{start, end} compiler-generatedThis change is only done where needed: some linkerscripts may contain __image_copy_{start,end} yetremain unchanged.Also, __image_copy_end needs its own section; puttingit in relocation sections changes their flags and makesrelocation break.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>Tested-by: Lubomir Popov <lpopov@mm-sol.com>Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
arm: Make all linker scripts compatible with per-symbol sectionsLet all ARM linker scripts handle properly -ffunction-sectionsand -fdata-sections. This will be useful for future changes in order t
arm: Make all linker scripts compatible with per-symbol sectionsLet all ARM linker scripts handle properly -ffunction-sectionsand -fdata-sections. This will be useful for future changes in order to createsymbol-specific sections in common .S files.Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
arm: relocate_code(): Use __image_copy_end for end of relocationUse __image_copy_end instead of __bss_start for the end of the image torelocate. This is the same as commit 033ca72, but applied to
arm: relocate_code(): Use __image_copy_end for end of relocationUse __image_copy_end instead of __bss_start for the end of the image torelocate. This is the same as commit 033ca72, but applied to all ARM start.S.This is a more appropriate symbol naming for an image copy & relocate feature,and this also saves a useless copy of data put between __image_copy_end and__bss_start in linker scripts (e.g. relocation information, or MMUinitialization tables used only before jumping to the relocated image).Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Merge branch 'master' of git://git.denx.de/u-boot-armAlbert's rework of the linker scripts conflicted with Simon's makingeveryone use __bss_end. We also had a minor conflict overREADME.scrapyard
Merge branch 'master' of git://git.denx.de/u-boot-armAlbert's rework of the linker scripts conflicted with Simon's makingeveryone use __bss_end. We also had a minor conflict overREADME.scrapyard being added to in mainline and enhanced inu-boot-arm/master with proper formatting.Conflicts: arch/arm/cpu/ixp/u-boot.lds arch/arm/cpu/u-boot.lds arch/arm/lib/Makefile board/actux1/u-boot.lds board/actux2/u-boot.lds board/actux3/u-boot.lds board/dvlhost/u-boot.lds board/freescale/mx31ads/u-boot.lds doc/README.scrapyard include/configs/tegra-common.hBuild tested for all of ARM and run-time tested on am335x_evm.Signed-off-by: Tom Rini <trini@ti.com>
Replace __bss_end__ with __bss_endNote this is a tree-wide change affecting multiple architectures.At present we use __bss_start, but mostly __bss_end__. This seemsinconsistent and in a number o
Replace __bss_end__ with __bss_endNote this is a tree-wide change affecting multiple architectures.At present we use __bss_start, but mostly __bss_end__. This seemsinconsistent and in a number of places __bss_end is used instead.Change to use __bss_end for the BSS end symbol throughout U-Boot. Thismakes it possible to use the asm-generic/sections.h file on allarchs.Signed-off-by: Simon Glass <sjg@chromium.org>
Refactor linker-generated arraysRefactor linker-generated array code so that symbolswhich were previously linker-generated are now compiler-generated. This causes relocation records of typeR_ARM
Refactor linker-generated arraysRefactor linker-generated array code so that symbolswhich were previously linker-generated are now compiler-generated. This causes relocation records of typeR_ARM_ABS32 to become R_ARM_RELATIVE, which makescode which uses LGA able to run before relocation aswell as after.Note: this affects more than ARM targets, as linker-lists span possibly all target architectures, notablyPowerPC.Conflicts: arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds arch/arm/cpu/armv7/omap-common/u-boot-spl.lds board/ait/cam_enc_4xx/u-boot-spl.lds board/davinci/da8xxevm/u-boot-spl-da850evm.lds board/davinci/da8xxevm/u-boot-spl-hawk.lds board/vpac270/u-boot-spl.ldsSigned-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
common: Discard the __u_boot_cmd sectionThe command declaration now uses the new LG-array method to generatelist of commands. Thus the __u_boot_cmd section is now superseded andredundant and ther
common: Discard the __u_boot_cmd sectionThe command declaration now uses the new LG-array method to generatelist of commands. Thus the __u_boot_cmd section is now superseded andredundant and therefore can be removed. Also, remove externed symbolsassociated with this section from include/command.h .Signed-off-by: Marek Vasut <marex@denx.de>Cc: Joe Hershberger <joe.hershberger@gmail.com>Cc: Mike Frysinger <vapier@gentoo.org>
common: Add .u_boot_list into all linker filesAdd section for the linker-generated lists into all possible linkerfiles, so that everyone can easily use these lists. This is mostlya mechanical adj
common: Add .u_boot_list into all linker filesAdd section for the linker-generated lists into all possible linkerfiles, so that everyone can easily use these lists. This is mostlya mechanical adjustment.Signed-off-by: Marek Vasut <marex@denx.de>Cc: Joe Hershberger <joe.hershberger@gmail.com>Cc: Mike Frysinger <vapier@gentoo.org>
led: remove camel casing of led identifiers globallyResult of running the following command to address Wolfgang'scomment about camel case:for file in `find . | grep '\.[chS]$'`; do perl -i -pe'
led: remove camel casing of led identifiers globallyResult of running the following command to address Wolfgang'scomment about camel case:for file in `find . | grep '\.[chS]$'`; do perl -i -pe's/(green|yellow|red|blue)_LED_(on|off)/$1_led_$2/g' $file; doneDiscussion:http://patchwork.ozlabs.org/patch/84988/Signed-off-by: Jason Kridner <jkridner@beagleboard.org>Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Timer: Remove reset_timer_masked()In some circumstances, reset_timer_masked() was called be timer_init() inorder to perform architecture specific timer initialisation. In suchcases, the required
Timer: Remove reset_timer_masked()In some circumstances, reset_timer_masked() was called be timer_init() inorder to perform architecture specific timer initialisation. In suchcases, the required code in reset_timer_masked() has been moved intotimer_init()
Timer: Remove reset_timer() for non-Nios2 arches
arm: fix incorrect monitor protection region in FLASHMonitor protection region in FLASH did not cover .rel.dynand .dynsym sections, because it uses __bss_start to computemonitor_flash_len. Use _e
arm: fix incorrect monitor protection region in FLASHMonitor protection region in FLASH did not cover .rel.dynand .dynsym sections, because it uses __bss_start to computemonitor_flash_len. Use _end instead.Add _end to linker scripts for end of u-boot imageAdd _end_ofs to all the start.S.Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
rename _end to __bss_end__Currently, _end is used for end of BSS section. We want _end to meanend of u-boot image, so we rename _end to __bss_end__ first.Signed-off-by: Po-Yu Chuang <ratbert@fa
rename _end to __bss_end__Currently, _end is used for end of BSS section. We want _end to meanend of u-boot image, so we rename _end to __bss_end__ first.Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. A
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. As stated in the System V ABI, "the link editor does notextract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) insteadof creating library archives, which forces all symbols to participate inlinking, allowing non-weak symbols to override weak symbols as intended.This approach is also used by Linux, from which the gmake functioncmd_link_o_target (defined in config.mk and used in all Makefiles) isinspired.The name of each former library archive is preserved except forextensions which change from ".a" to ".o". This commit updatesreferences accordingly where needed, in particular in some linkerscripts.This commit reveals board configurations that exclude some features butinclude source files that depend these disabled features in the build,resulting in undefined symbols. Known such cases include:- disabling CMD_NET but not CMD_NFS;- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
arm: Move cpu/$CPU to arch/arm/cpu/$CPUSigned-off-by: Peter Tyser <ptyser@xes-inc.com>