arch, board: squash lines for immediate returnRemove unneeded variables and assignments.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Minkyu Kang <mk7.kang@samsung.c
arch, board: squash lines for immediate returnRemove unneeded variables and assignments.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>Reviewed-by: Angelo Dureghello <angelo@sysam.it>
show more ...
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>
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
Timer: Remove set_timer completely
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>