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 ...
spl: add hierarchical defaults for SPL_LDSCRIPTWith SPL_LDSCRIPT moved to Kconfig (and this being a 'string' confignode), all the lingering definitions in header files will causewarnings/errors d
spl: add hierarchical defaults for SPL_LDSCRIPTWith SPL_LDSCRIPT moved to Kconfig (and this being a 'string' confignode), all the lingering definitions in header files will causewarnings/errors due to the redefinition of the configuration item.As we don't want to pollute the defconfig files (and values shouldusually be identical for entire architectures), the defaults are movedinto Kconfig. Kconfig will always pick the first default thatmatches, so please keep these values at the end of each file (to allowany board-specific Kconfig, which will be included earlier) tooverride with an unconditional default setting.Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>Reviewed-by: Simon Glass <sjg@chromium.org>
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>
arm: spear: x600: Add support for Micrel KSZ9031 PHYAs the old ethernet PHY is not available any more, the x600 board hasbeen redesigned with the Micrel KSZ9031 PHY. This patch adds supportto aut
arm: spear: x600: Add support for Micrel KSZ9031 PHYAs the old ethernet PHY is not available any more, the x600 board hasbeen redesigned with the Micrel KSZ9031 PHY. This patch adds supportto autodetect the PHY and configure the Micrel PHY correctly.Signed-off-by: Stefan Roese <sr@denx.de>
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>
fpga: xilinx: Avoid CamelCase for in Xilinx_descNo functional changes.Signed-off-by: Michal Simek <michal.simek@xilinx.com>
fpga: spartan3: Avoid CamelCaseNo functional changes.Signed-off-by: Michal Simek <michal.simek@xilinx.com>
kbuild: add dummy obj-y to create built-in.oWe are going to switch over to Kbuild in upcoming commits.Each makefile must have non-empty obj- or obj-yto generate built-in.o on Kbuild.Signed-off
kbuild: add dummy obj-y to create built-in.oWe are going to switch over to Kbuild in upcoming commits.Each makefile must have non-empty obj- or obj-yto generate built-in.o on Kbuild.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
net/designware - switch driver to phylib usageWith this change driver will benefit from existing phylib and thuscustom phy functionality implemented in the driver will go away: * Instantiation of
net/designware - switch driver to phylib usageWith this change driver will benefit from existing phylib and thuscustom phy functionality implemented in the driver will go away: * Instantiation of the driver is now much shorter - 2 parametersinstead of 4. * Simplified phy management/functoinality in driver is replaced withrich functionality of phylib. * Support of custom phy initialization is now done with existing"board_phy_config".Note that after this change some previously used config options(driver-specific PHY configuration) will be obsolete and they are simplysubstituted with similar options of phylib.For example: * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabledby default. * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phyexplicitly CONFIG_PHY_ADDR board config option has to be used, otherwiseautomatically the first discovered on MDIO bus phy will be usedI believe there's no need now in "doc/README.designware_eth" becauseuser only needs to instantiate the driver with "designware_initialize"whose prototype exists in "include/netdev.h".Cc: Joe Hershberger <joe.hershberger@ni.com>Cc: Vipin Kumar <vipin.kumar@st.com>Cc: Stefan Roese <sr@denx.de>Cc: Mischa Jonker <mjonker@synopsys.com>Cc: Shiraz Hashim <shiraz.hashim@st.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Amit Virdi <amit.virdi@st.com>Cc: Sonic Zhang <sonic.zhang@analog.com>Signed-off-by: Alexey Brodkin <abrodkin@synopsys.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>
Consolidate bool type'bool' is defined in random places. This patch consolidates them into asingle header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef
Consolidate bool type'bool' is defined in random places. This patch consolidates them into asingle header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent withtrue = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.Skip *.py, *.php, lib/* files.Signed-off-by: York Sun <yorksun@freescale.com>
ARM: Add X600 board support (SPEAr600 based)This patch adds support for the X600 SPEAr600 based board. Its alsothe first SPEAr600 board that uses the newly introduced SPEAr600SPL support. Xloader
ARM: Add X600 board support (SPEAr600 based)This patch adds support for the X600 SPEAr600 based board. Its alsothe first SPEAr600 board that uses the newly introduced SPEAr600SPL support. Xloader is not necessary any more. By using the new"u-boot.spr" make target, one image will generated containing both,U-Boot SPL (with mkimage header as needed by the SPEAr BootROM, andthe main U-Boot with mkimage header.Signed-off-by: Stefan Roese <sr@denx.de>Cc: Amit Virdi <amit.virdi@st.com>Cc: Vipin Kumar <vipin.kumar@st.com>