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 ...
board: ethernut5: Update to support DT and DMAdd the dts files to support deivce tree, update the configurationfiles to support the device tree and driver model. The peripheralclock and pins conf
board: ethernut5: Update to support DT and DMAdd the dts files to support deivce tree, update the configurationfiles to support the device tree and driver model. The peripheralclock and pins configuration are handled by the clock and the pinctrldrivers respectively.Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>Reviewed-by: Simon Glass <sjg@chromium.org>
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>
net: Remove the bd* parameter from net stack functionsThis value is not used by the network stack and is available in theglobal data, so stop passing it around. For the one legacy functionthat s
net: Remove the bd* parameter from net stack functionsThis value is not used by the network stack and is available in theglobal data, so stop passing it around. For the one legacy functionthat still expects it (init op on old Ethernet drivers) pass in theglobal pointer version directly to avoid changing that interface.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reported-by: Simon Glass <sjg@chromium.org>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Simon Glass <sjg@chromium.org>(Trival fix to remove an unneeded variable declaration in 4xx_enet.c)
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>
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>
at91: nand: switch atmel_nand to generic GPIO APISigned-off-by: Andreas Bießmann <andreas.devel@googlemail.com>Acked-by: Jens Scharsig (BuS Elektronik)<esw@bus-elektronik.de>Tested-by: Jens Schar
at91: nand: switch atmel_nand to generic GPIO APISigned-off-by: Andreas Bießmann <andreas.devel@googlemail.com>Acked-by: Jens Scharsig (BuS Elektronik)<esw@bus-elektronik.de>Tested-by: Jens Scharsig (BuS Elektronik)<esw@bus-elektronik.de>Acked-by: Scott Wood <scottwood@freescale.com>
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>
atmel-boards: add missing atmel_mci.hcommit 72fa467988e7944407a634ddc4bc6a2df685c04c moved atmel_mci_init() intoinclude/atmel_mci.h. Some AT91 boards are also using this interface and needto incl
atmel-boards: add missing atmel_mci.hcommit 72fa467988e7944407a634ddc4bc6a2df685c04c moved atmel_mci_init() intoinclude/atmel_mci.h. Some AT91 boards are also using this interface and needto include atmel_mci.h now.This patch fixes MAKEALL complaints like this:---8<---Configuring for ethernut5 - Board: ethernut5, Options: AT91SAM9XEethernut5.c: In function 'board_mmc_init':ethernut5.c:235:2: warning: implicit declaration of function 'atmel_mci_init' [-Wimplicit-function-declaration]--->8---Signed-off-by: Andreas Bießmann <biessmann@corscience.de>CC: Albert Aribaud <albert.u.boot@aribaud.net>CC: Reinhard Meyer <u-boot@emk-elektronik.de>CC: egnite GmbH <info@egnite.de>
Ethernut 5: fix build errorFix build error for ethernut5 board due to prototype changefor function board_mmc_getcd().ethernut5.c:238: error: conflicting types for 'board_mmc_getcd'u-boot/include
Ethernut 5: fix build errorFix build error for ethernut5 board due to prototype changefor function board_mmc_getcd().ethernut5.c:238: error: conflicting types for 'board_mmc_getcd'u-boot/include/mmc.h:318: note: previous declaration of 'board_mmc_getcd'was heremake[2]: *** [ethernut5.o] Error 1Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com>Cc: Tim Schendekehl <tim.schendekehl@egnite.de>Cc: Thierry Reding <thierry.reding@avionic-design.de>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: egnite GmbH <info@egnite.de>
Ethernut 5 board supportAdd support for the Ethernut 5 open hardware design, basedon Atmel's AT91SAM9XE512 SoC.V4 - Fix several coding style issues. - Move machine type to config file. - Remo
Ethernut 5 board supportAdd support for the Ethernut 5 open hardware design, basedon Atmel's AT91SAM9XE512 SoC.V4 - Fix several coding style issues. - Move machine type to config file. - Remove use of CONFIG_ATMEL_LEGACY.Signed-off-by: Tim Schendekehl <tim.schendekehl@egnite.de>