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>
powerpc: mpc8569mds: Update config and maintainerEnable DHCP command by default. Update maintainer info.Signed-off-by: York Sun <york.sun@nxp.com>
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>
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>
Move console definitions into a new console.h fileThe console includes a global variable and several functions that are onlyused by a small subset of U-Boot files. Before adding more functions, mo
Move console definitions into a new console.h fileThe console includes a global variable and several functions that are onlyused by a small subset of U-Boot files. Before adding more functions, movethe definitions into their own header file.Signed-off-by: Simon Glass <sjg@chromium.org>
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>
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINER
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINERS address: '-'"error messages for patches with global changes.It takes too long for Patman to process them.Anyway, "M: -" does not carry any important information.Rather, it is just like a place holder in case of assigninga new board maintainer. Let's comment out.This commit can be reproduced by the following command:find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'Signed-off-by: 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>
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>
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>
8xxx: Change all 8*xx_DDR addresses to 8xxxThere were a number of shared files that were usingCONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, andseveral variants (DDR2, DDR3). A rece
8xxx: Change all 8*xx_DDR addresses to 8xxxThere were a number of shared files that were usingCONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, andseveral variants (DDR2, DDR3). A recent patchset added85xx-specific ones to code which was used by 86xx systems.After reviewing places where these constants were used, andnoting that the type definitions of the pointers assigned topoint to those addresses were the same, the cleanest approachto fixing this problem was to unify the namespace for the85xx, 83xx, and 86xx DDR address definitions.This patch does:s/CONFIG_SYS_MPC8.xx_DDR/CONFIG_SYS_MPC8xxx_DDR/gAll 85xx, 86xx, and 83xx have been built with this change.Signed-off-by: Andy Fleming <afleming@freescale.com>Tested-by: Andy Fleming <afleming@freescale.com>Acked-by: Kim Phillips <kim.phillips@freescale.com>
powerpc/mpc85xx: sparse fixesfsl_corenet_serdes.c:485:6: warning: symbol '__soc_serdes_init' was not declared. Should it be static?cpu_init.c:185:6: warning: symbol 'invalidate_cpc' was not declar
powerpc/mpc85xx: sparse fixesfsl_corenet_serdes.c:485:6: warning: symbol '__soc_serdes_init' was not declared. Should it be static?cpu_init.c:185:6: warning: symbol 'invalidate_cpc' was not declared. Should it be static?bcsr.c:28:27: warning: non-ANSI function declaration of function 'enable_8568mds_duart'bcsr.c:39:33: warning: non-ANSI function declaration of function 'enable_8568mds_flash_write'bcsr.c:46:34: warning: non-ANSI function declaration of function 'disable_8568mds_flash_write'bcsr.c:53:29: warning: non-ANSI function declaration of function 'enable_8568mds_qe_mdio'bcsr.c:28:33: warning: non-ANSI function declaration of function 'enable_8569mds_flash_write'bcsr.c:33:34: warning: non-ANSI function declaration of function 'disable_8569mds_flash_write'bcsr.c:38:28: warning: non-ANSI function declaration of function 'enable_8569mds_qe_uec'bcsr.c:63:47: warning: non-ANSI function declaration of function 'disable_8569mds_brd_eeprom_write_protect'ngpixis.c:245:1: error: directive in argument listngpixis.c:247:1: error: directive in argument listSigned-off-by: Kim Phillips <kim.phillips@freescale.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>
board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warningmpc8569mds.c: In function 'local_bus_init':mpc8569mds.c:306:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-varia
board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warningmpc8569mds.c: In function 'local_bus_init':mpc8569mds.c:306:7: warning: variable 'lbc_hz' set but not used [-Wunused-but-set-variable]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>
fsl: Change fsl_phy_enet_if to phy_interface_tThe fsl_phy_enet_if enum was, essentially, the phy_interface_t enum.This meant that drivers which used fsl_phy_enet_if to deal withPHY interfaces wou
fsl: Change fsl_phy_enet_if to phy_interface_tThe fsl_phy_enet_if enum was, essentially, the phy_interface_t enum.This meant that drivers which used fsl_phy_enet_if to deal withPHY interfaces would have to convert between the two (or we would haveto have them mirror each other, and deal with the ensuing maintenanceheadache). Instead, we switch all clients of fsl_phy_enet_if over tophy_interface_t, which should become the standard, anyway.Signed-off-by: Andy Fleming <afleming@freescale.com>Acked-by: Detlev Zundel <dzu@denx.de>
powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from boardMove fsl_ddr_get_spd into common mpc8xxx/ddr/main.c as most boardspretty much do the same thing. The only variations are in how m
powerpc/8xxx: Refactor fsl_ddr_get_spd into common code from boardMove fsl_ddr_get_spd into common mpc8xxx/ddr/main.c as most boardspretty much do the same thing. The only variations are in how manycontrollers or DIMMs per controller exist. To make this work westandardize on the names of the SPD_EEPROM_ADDRESS defines based on theuse case of the board.We allow boards to override get_spd to either do board specific fixupsto the SPD data or deal with any unique behavior of how the SPD eepromsare wired up.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq()Every 85xx board implements fsl_ddr_get_mem_data_rate via get_ddr_freq()and every 86xx board uses get_bus_freq(). If implement g
powerpc/8xxx: Replace fsl_ddr_get_mem_data_rate with get_ddr_freq()Every 85xx board implements fsl_ddr_get_mem_data_rate via get_ddr_freq()and every 86xx board uses get_bus_freq(). If implement get_ddr_freq()as a static inline to call get_bus_freq() we can removefsl_ddr_get_mem_data_rate altogether and just call get_ddr_freq()directly.Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
123