MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainersChange maintainers to Prabhakar Kushwaha for fsl-qoriq, mpc85xxand mpc86xx.Signed-off-by: York Sun <york.sun@nxp.com>Reviewed-by: Tom
MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainersChange maintainers to Prabhakar Kushwaha for fsl-qoriq, mpc85xxand mpc86xx.Signed-off-by: York Sun <york.sun@nxp.com>Reviewed-by: Tom Rini <trini@konsulko.com>Acked-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
show more ...
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>
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt headers from/us
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt headers from/usr/include/ instead of using internal ones.This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
env: Rename some other getenv()-related functionsWe are now using an env_ prefix for environment functions. Rename theseother functions as well, for consistency: getenv_vlan() getenv_bootm_
env: Rename some other getenv()-related functionsWe are now using an env_ prefix for environment functions. Rename theseother functions as well, for consistency: getenv_vlan() getenv_bootm_size() getenv_bootm_low() getenv_bootm_mapsize() env_get_default()Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
Use correct spelling of "U-Boot"Correct spelling of "U-Boot" shall be used in all written text(documentation, comments in source files etc.).Signed-off-by: Bin Meng <bmeng.cn@gmail.com>Reviewed
Use correct spelling of "U-Boot"Correct spelling of "U-Boot" shall be used in all written text(documentation, comments in source files etc.).Signed-off-by: Bin Meng <bmeng.cn@gmail.com>Reviewed-by: Heiko Schocher <hs@denx.de>Reviewed-by: Simon Glass <sjg@chromium.org>Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
Merge branch 'master' of git://git.denx.de/u-boot-net
powerpc: mpc8572ds: Do not wrap pci_eth_init() with CONFIG_TSEC_ENETThe call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET.Signed-off-by: Bin Meng <bmeng.cn@gmail.com>Acked-by: J
powerpc: mpc8572ds: Do not wrap pci_eth_init() with CONFIG_TSEC_ENETThe call to pci_eth_init() should not be wrapped with CONFIG_TSEC_ENET.Signed-off-by: Bin Meng <bmeng.cn@gmail.com>Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Add more SPDX-License-Identifier tagsIn a number of places we had wordings of the GPL (or LGPL in a fewcases) license text that were split in such a way that it wasn't caughtpreviously. Convert
Add more SPDX-License-Identifier tagsIn a number of places we had wordings of the GPL (or LGPL in a fewcases) license text that were split in such a way that it wasn't caughtpreviously. Convert all of these to the correct SPDX-License-Identifiertag.Signed-off-by: Tom Rini <trini@konsulko.com>
MAINTAINERS, .mailmap: Update my email addressChange from yorksun@freescale.com to york.sun@nxp.com.Signed-off-by: York Sun <york.sun@nxp.com>
fdt: Allow ft_board_setup() to report failureThis function can fail if the device tree runs out of space. Rather thansilently booting with an incomplete device tree, allow the failure to bedetect
fdt: Allow ft_board_setup() to report failureThis function can fail if the device tree runs out of space. Rather thansilently booting with an incomplete device tree, allow the failure to bedetected.Unfortunately this involves changing a lot of places in the code. I havenot changed behvaiour to return an error where one is not currentlyreturned, to avoid unexpected breakage.Eventually it would be nice to allow boards to register functions to becalled to update the device tree. This would avoid all the many functionsto do this. However it's not clear yet if this should be done using drivermodel or with a linker list. This work is left for later.Signed-off-by: Simon Glass <sjg@chromium.org>Acked-by: Anatolij Gustschin <agust@denx.de>
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>
powerpc/mpc85xx: Check return value of find_tlb_idxfind_tlb_idx() is called in board_early_init_r() on multiple boards.The return value is not checked before being used to disable a TLB.In normal
powerpc/mpc85xx: Check return value of find_tlb_idxfind_tlb_idx() is called in board_early_init_r() on multiple boards.The return value is not checked before being used to disable a TLB.In normal case the return value wouldn't be -1. In case of a mis-configuration during porting to a new board, checking the return valuemay be helpful to reveal some user errors.Signed-off-by: York Sun <yorksun@freescale.com>
Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xxFix ccsr_ddr structure to avoid using typedef. Combine DDR2 and DDR3structure for 83xx, 85xx and 86xx.Signed-off-by: York Sun <yorksun@freesca
Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xxFix ccsr_ddr structure to avoid using typedef. Combine DDR2 and DDR3structure for 83xx, 85xx and 86xx.Signed-off-by: York Sun <yorksun@freescale.com>
Driver/DDR: Moving Freescale DDR driver to a common driverFreescale DDR driver has been used for mpc83xx, mpc85xx, mpc86xx SoCs.The similar DDR controllers will be used for ARM-based SoCs.Signed
Driver/DDR: Moving Freescale DDR driver to a common driverFreescale DDR driver has been used for mpc83xx, mpc85xx, mpc86xx SoCs.The similar DDR controllers will be used for ARM-based SoCs.Signed-off-by: York Sun <yorksun@freescale.com>
board: powerpc: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Wolfgang Denk <wd@denx.de>Cc: Kim Phillips <kim.phillips@freescale.com>Cc: York Sun
board: powerpc: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Wolfgang Denk <wd@denx.de>Cc: Kim Phillips <kim.phillips@freescale.com>Cc: York Sun <yorksun@freescale.com>Cc: Stefan Roese <sr@denx.de>
powerpc: Fix CamelCase warnings in DDR related codeSome DDR related structures present in fsl_ddr_dimm_params.h, fsl_ddr_sdram.h, ddr_spd.hhas various parameters with embedded acronyms capitalized
powerpc: Fix CamelCase warnings in DDR related codeSome DDR related structures present in fsl_ddr_dimm_params.h, fsl_ddr_sdram.h, ddr_spd.hhas various parameters with embedded acronyms capitalized that trigger the CamelCasewarning in checkpatch.plConvert those variable names to smallcase naming convention and modify all fileswhich are using these structures with modified structures.Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Coding Style cleanup: remove trailing white spaceSigned-off-by: Wolfgang Denk <wd@denx.de>
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>
doc: cleanup - move board READMEs into respective board directoriesAlso drop a few files referring to no longer / not yet supportedboards.Signed-off-by: Wolfgang Denk <wd@denx.de>Cc: Prafulla W
doc: cleanup - move board READMEs into respective board directoriesAlso drop a few files referring to no longer / not yet supportedboards.Signed-off-by: Wolfgang Denk <wd@denx.de>Cc: Prafulla Wadaskar <prafulla@marvell.com>Cc: Stefan Roese <sr@denx.de>Cc: Kim Phillips <kim.phillips@freescale.com>Cc: Andy Fleming <afleming@gmail.com>Cc: Jason Jin <jason.jin@freescale.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>Acked-by: Stefano Babic <sbabic@denx.de>Acked-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during bootMost 85xx boards can be built as a 32-bit or a 36-bit. Current code sometimesdisplays which of these is actually built,
powerpc/85xx: don't display address map size (32-bit vs. 36-bit) during bootMost 85xx boards can be built as a 32-bit or a 36-bit. Current code sometimesdisplays which of these is actually built, but it's inconsistent. This isespecially problematic since the "default" build for a given 85xx board canbe either one, so if you don't see a message, you can't always know whichsize is being used. Not only that, but each board includes code that displaysthe message, so there is duplication.The 'bdinfo' command has been updated to display this information, sowe don't need to display it at boot time. The board-specific code isdeleted.Signed-off-by: Timur Tabi <timur@freescale.com>Signed-off-by: Andy Fleming <afleming@freescale.com>
powerpc/85xx: Fix MPC8572DS NAND buildReduce NAND SPL build size by not include TLB entries that arent used byit.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
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>
powerpc/mpc8xxx: Merge entries in DDR speed tableIt is not necessary to keep multiple entries for the same setting in DDRspeed tables. Merge them for smaller tables. Also restructure the tablesfo
powerpc/mpc8xxx: Merge entries in DDR speed tableIt is not necessary to keep multiple entries for the same setting in DDRspeed tables. Merge them for smaller tables. Also restructure the tablesfor smaller size. Cleanup some typedefs.Enforce strict checking for speed table. If DIMM is running at higher thanknown speed, try to use the highest speed setting. If rank is unknown, ithas to panic.Removed ODT overriding for P2020DS as it is not necessary.Signed-off-by: York Sun <yorksun@freescale.com>Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
1234