SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon
arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
Change my mailaddressI'll switch my mails to my own server, so drop all gmail references.Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
board: atmel: clean up peripheral clock codeDue to introducing the new peripheral clock handle functions,use these functions to reduce duplicated code.Signed-off-by: Wenyou Yang <wenyou.yang@atm
board: atmel: clean up peripheral clock codeDue to introducing the new peripheral clock handle functions,use these functions to reduce duplicated code.Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>Tested-by: Heiko Schocher <hs@denx.de>[Rebased on current master, fixup for at91rm9200ek]Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
ARM: at91: move board select menu and common settingsThe board select menu in arch/arm/Kconfig is still big.To slim down it, this commit moves AT91 boards toarch/arm/mach-at91/Kconfig.Also, cons
ARM: at91: move board select menu and common settingsThe board select menu in arch/arm/Kconfig is still big.To slim down it, this commit moves AT91 boards toarch/arm/mach-at91/Kconfig.Also, consolidate "config SYS_SOC" in each board Kconfig.The Kconfig files under board/ directory were modified with thefollowing command: find board -name Kconfig | xargs sed -i -e ' /config SYS_SOC/ { N /default "at91"/ { N d } } 'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Andreas Bießmann <andreas.devel@googlemail.co>
kconfig: arm: introduce symbol for ARM CPUsThis commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,CPU_ARM1176, CPU_V7, CPU_PXA
kconfig: arm: introduce symbol for ARM CPUsThis commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selectedfor CPU_ARM1176 and CPU_V7.For each target, the corresponding CPU is selected and the definition ofSYS_CPU in the corresponding Kconfig file is removed.Also, it removes redundant "string" type in some Kconfig files.Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
leds: missing includeSigned-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.This commit can be easily reproduced by the following command:find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ { N s/\n[[:space:]]*string//}'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS for
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS format as in Linux Kernel would be nicebecause we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under eachboard directory, not the top-level one because we want to collectrelevant information for a board into a single place.TODO:Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Suggested-by: Tom Rini <trini@ti.com>Acked-by: Simon Glass <sjg@chromium.org>
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board(This commit was automatically generated by a conversion scriptbased on boards.cfg)In Linux Kernel, defconfig files are located underarch/${ARCH}/configs/ directory.It works in Linux Kernel since ARCH is always given from thecommand line for cross compile.But in U-Boot, ARCH is not given from the command line.Which means we cannot know ARCH until the board configuration is done.That is why all the "*_defconfig" files should be gathered into asingle directory ./configs/.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Prafulla Wadaskar <prafulla@marvell.com>Cc: Minkyu Kang <mk7.kang@samsung.com>Cc: Vipin Kumar <vipin.kumar@st.com>Cc: Tom Warren <twarren@nvidia.com>Cc: Tom Rini <trini@ti.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>
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them all.MAKEALL didn't report any errors related to this that I could see.Signed-off-by: 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>
Remove volatile qualifier in get_ram_size() callsCheckpatch.pl complains about the volatile qualifier in calls toget_ram_size(). Remove this qualifier in the prototype and in thecalls where it is
Remove volatile qualifier in get_ram_size() callsCheckpatch.pl complains about the volatile qualifier in calls toget_ram_size(). Remove this qualifier in the prototype and in thecalls where it is useless, and leave it only in the function bodywhere it is needed.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
at91rm9200ek: use atmel_usartSigned-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
update arm/at91rm9200 work with rework rework110202* convert at91rm9200ek and eb_cpux9k2 board to ATMEL_xxx name scheme * Fix: timer.c compile error io.h not found with arm/at91rm9200 * update ar
update arm/at91rm9200 work with rework rework110202* convert at91rm9200ek and eb_cpux9k2 board to ATMEL_xxx name scheme * Fix: timer.c compile error io.h not found with arm/at91rm9200 * update arm920t/at91 to ATMEL_xxx name scheme * update arm920t/at91 soc lib * update at91_emac driverSigned-off-by: Jens Scharsig <js_at_ng@scharsoft.de>Tested-by: Andreas Bießmann <andreas.devel@gmail.com>
at91rm9200ek: add configure target for RAM bootThis patch also removes now unnecessary config.mk in board directory andmake usage of new features in boards.cfg.Signed-off-by: Andreas Bießmann <a
at91rm9200ek: add configure target for RAM bootThis patch also removes now unnecessary config.mk in board directory andmake usage of new features in boards.cfg.Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.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>
at91rm9200ek: convert to at91This patch removes some functionality from at91rm9200ek board but theremaining functionality does now work with newer at91 code andarm-relocation.Currently missing
at91rm9200ek: convert to at91This patch removes some functionality from at91rm9200ek board but theremaining functionality does now work with newer at91 code andarm-relocation.Currently missing features are: - dataflash booting (due to missing HW for testing) - MMC/SD-Card - first stage bootloader support is completely removed (not needed for NOR)Cause this board was (some days ago) reference for all at91rm9200 basedboards this should be a good starting point to convert all remainingat91rm9200 borads to at91 code. Aside from that this is a good base toget some drivers between at91sam/at91rm/avr32 merged.Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
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>
new at91_emac network driver (NET_MULTI api)* add's at91_emac (AT91RM9200) network driver (NET_MULTI api)* enable driver with CONFIG_DRIVER_AT91EMAC* generic PHY initialization* modify AT91RM920
new at91_emac network driver (NET_MULTI api)* add's at91_emac (AT91RM9200) network driver (NET_MULTI api)* enable driver with CONFIG_DRIVER_AT91EMAC* generic PHY initialization* modify AT91RM9200 boards to use NET_MULTI driver* the drivers has been tested with LXT971 Phy and DM9161 Phy at MII and RMII interfaceSigned-off-by: Jens Scharsig <js_at_ng@scharsoft.de>Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
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>
Fix e-mail address of Gary Jennejohn.Signed-off-by: Detlev Zundel <dzu@denx.de>
Update CHANGELOG, coding style cleanup.
12