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>
h2200: Fix build errorCommit <8bfc288c3955> ("usb: gadget: ether: Perform boardinitialization from ethernet gadget driver") added board_usb_initand board_usb_cleanup in ethernet gadget driver. Bu
h2200: Fix build errorCommit <8bfc288c3955> ("usb: gadget: ether: Perform boardinitialization from ethernet gadget driver") added board_usb_initand board_usb_cleanup in ethernet gadget driver. But h2200 boarddidn't have board_usb_init and board_usb_cleanup implementations.This introduced the following build errors+drivers/usb/gadget/built-in.o: In function `usb_eth_halt':+drivers/usb/gadget/ether.c:2498: undefined reference to `board_usb_cleanup'+drivers/usb/gadget/built-in.o: In function `usb_eth_init':+drivers/usb/gadget/ether.c:2316: undefined reference to `board_usb_init'Fix it here by adding empty board_usb_init and board_usb_cleanupfunctions in h2200.c.Fixes: <8bfc288c3955> ("usb: gadget: ether: Perform boardinitialization from ethernet gadget driver")Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
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>
kbuild: change out-of-tree buildThis commit changes the working directorywhere the build process occurs.Before this commit, build process occurred under the sourcetree for both in-tree and out-
kbuild: change out-of-tree buildThis commit changes the working directorywhere the build process occurs.Before this commit, build process occurred under the sourcetree for both in-tree and out-of-tree build.That's why we needed to add $(obj) prefix to all generatedfiles in makefiles like follows: $(obj)u-boot.bin: $(obj)u-bootHere, $(obj) is empty for in-tree build, whereas it pointsto the output directory for out-of-tree build.And our old build system changes the current working directorywith "make -C <sub-dir>" syntax when descending into thesub-directories.On the other hand, Kbuild uses a different ideato handle out-of-tree build and directory descending.The build process of Kbuild always occurs under the output tree.When "O=dir/to/store/output/files" is given, the build systemchanges the current working directory to that directory andrestarts the make.Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"syntax for descending into sub-directories.(We can write it like "make $(obj)=<sub-dir>" with a shorthand.)This means the current working directory is always the topof the output directory.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Tested-by: Gerhard Sittig <gsi@denx.de>
board: h2200: Delete an unnecessary make ruleWe have a generic rule to generate .o file from *.Sin $(TOPDIR)/config.mk.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.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>
h2200: Add board reset supportUse Samsung S3CA410X01 companion chip to reset PDA.Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
h2200: Add USB CDC ethernet supportAdd support for ethernet over USB which can be used for e.g. bootingprocess. It works with tftp and dhcp clients code.Signed-off-by: Lukasz Dalek <luk0104@gmai
h2200: Add USB CDC ethernet supportAdd support for ethernet over USB which can be used for e.g. bootingprocess. It works with tftp and dhcp clients code.Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
h2200: Add support for iPAQ h2200 palmtopAdd basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targetedto general consumers. It has 64 MB of RAM, 32 MB flash. No intergratedWi-Fi nor Eth
h2200: Add support for iPAQ h2200 palmtopAdd basic support for HP iPAQ h2200 palmtop. h2200 palmtop was targetedto general consumers. It has 64 MB of RAM, 32 MB flash. No intergratedWi-Fi nor Ethernet. Based on Intel PXA255 processor. It was shipped withWindows CE 4.2 operating system.Signed-off-by: Lukasz Dalek <luk0104@gmail.com>