board/freescale: Remove invalid fsl email addressesThese fsl email addresses are no longer valid and they do not have acorrespondent nxp.com entry.Remove all invalid fsl email addresses and mark
board/freescale: Remove invalid fsl email addressesThese fsl email addresses are no longer valid and they do not have acorrespondent nxp.com entry.Remove all invalid fsl email addresses and mark the boards as orphan.Signed-off-by: Fabio Estevam <fabio.estevam@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>
board_f: Rename initdram() to dram_init()This allows us to use the same DRAM init function on all archs. Add adummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass
board_f: Rename initdram() to dram_init()This allows us to use the same DRAM init function on all archs. Add adummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Dummy function on nios2]Signed-off-by: Tom Rini <trini@konsulko.com>
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_d
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_data instead, and return 0 on success.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_type
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_typedirectly.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
board_f: powerpc: Use timer_init() instead of init_timebase()There is no good reason to use a different name on PowerPC. Change it totimer_init() like the others.Signed-off-by: Simon Glass <sjg@
board_f: powerpc: Use timer_init() instead of init_timebase()There is no good reason to use a different name on PowerPC. Change it totimer_init() like the others.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: York Sun <york.sun@nxp.com>Reviewed-by: Stefan Roese <sr@denx.de>
usb: fsl: Rename fdt_fixup_dr_usbThe function fdt_fixup_dr_usb is specific to fsl/nxp. So,make the function name explicit and rename fdt_fixup_dr_usbinto fsl_fdt_fixup_dr_usb.Signed-off-by: Sri
usb: fsl: Rename fdt_fixup_dr_usbThe function fdt_fixup_dr_usb is specific to fsl/nxp. So,make the function name explicit and rename fdt_fixup_dr_usbinto fsl_fdt_fixup_dr_usb.Signed-off-by: Sriram Dash <sriram.dash@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>
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>
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>
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>
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>
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. A
Switch from archive libraries to partial linkingBefore this commit, weak symbols were not overridden by non-weak symbolsfound in archive libraries when linking with recent versions ofbinutils. As stated in the System V ABI, "the link editor does notextract archive members to resolve undefined weak symbols".This commit changes all Makefiles to use partial linking (ld -r) insteadof creating library archives, which forces all symbols to participate inlinking, allowing non-weak symbols to override weak symbols as intended.This approach is also used by Linux, from which the gmake functioncmd_link_o_target (defined in config.mk and used in all Makefiles) isinspired.The name of each former library archive is preserved except forextensions which change from ".a" to ".o". This commit updatesreferences accordingly where needed, in particular in some linkerscripts.This commit reveals board configurations that exclude some features butinclude source files that depend these disabled features in the build,resulting in undefined symbols. Known such cases include:- disabling CMD_NET but not CMD_NFS;- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
Makefile: move all Power Architecture boards into boards.cfgClean up Makefile, and drop a lot of the config.mk files on the way.We now also automatically pick all boards that are listed inboards
Makefile: move all Power Architecture boards into boards.cfgClean up Makefile, and drop a lot of the config.mk files on the way.We now also automatically pick all boards that are listed inboards.cfg (and with all configurations), so we can drop the redundantentries from MAKEALL to avoid building these twice.Signed-off-by: Wolfgang Denk <wd@denx.de>
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASEThe change is currently needed to be able to remove the boardconfiguration scripting from the top level Makefile and replace it bya simple, table driven
Rename TEXT_BASE into CONFIG_SYS_TEXT_BASEThe change is currently needed to be able to remove the boardconfiguration scripting from the top level Makefile and replace it bya simple, table driven script.Moving this configuration setting into the "CONFIG_*" name space isalso desirable because it is needed if we ever should move forward toa Kconfig driven configuration system.Signed-off-by: Wolfgang Denk <wd@denx.de>
mkconfig: change CONFIG_MK_ prefix into plain CONFIG_When planning for more generalization and Makefile cleanup it becameobvious that the introduction of a separate CONFIG_MK_ name space forconfi
mkconfig: change CONFIG_MK_ prefix into plain CONFIG_When planning for more generalization and Makefile cleanup it becameobvious that the introduction of a separate CONFIG_MK_ name space forconfig options that were set through scripting in the Makefile wasnot a good idea.Originally the idea was to provide a script-free approach to supplyconfiguration options - there was no real need for a separate namespace. But when we now convert the existing Makefile entries to makeuse of this approach, it would mean that we have to touch a largenumber of board config files and add #ifdef / #define sequences to"convert" from the CONFIG_MK_ to the CONFIG_ name space.It seems much cleaner to get rid of this somewhat arbitrary _MKstring now for the few boards that actually use it.Signed-off-by: Wolfgang Denk <wd@denx.de>Acked-by: Mike Frysinger <vapier@gentoo.org>
83xx: Remove warmboot parameter from PCI init functionsThis change lays the groundwork for the BOOTFLAG_* flags being removed.This change has the small affect of delaying 100ms on PCI initializat
83xx: Remove warmboot parameter from PCI init functionsThis change lays the groundwork for the BOOTFLAG_* flags being removed.This change has the small affect of delaying 100ms on PCI initializationafter a warm boot as opposed to the optimal 1ms on some boards.Signed-off-by: Peter Tyser <ptyser@xes-inc.com>included the mpc8308_p1m board.Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
mpc83xx: Add NAND boot support for MPC8315E-RDB boardsThe core support for NAND booting is there already, so this patchis pretty straightforward.There is one trick though: top level Makefile exp
mpc83xx: Add NAND boot support for MPC8315E-RDB boardsThe core support for NAND booting is there already, so this patchis pretty straightforward.There is one trick though: top level Makefile expects nand_spl tobe in nand_spl/board/$(BOARDDIR), but we can fully reuse the codefrom mpc8313erdb boards, and so to not duplicate the code we justsymlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>o silence make during ln echoo update documentationo and avoid:$ ./MAKEALL MPC8315ERDB_NANDConfiguring for MPC8315ERDB board...sdram.o: In function `fixed_sdram':/home/r1aaha/git/u-boot/nand_spl/board/freescale/mpc8313erdb/sdram.c:72: undefined reference to `udelay'by renaming udelay -> __udelay in the spirit of commit3eb90bad651fab39cffba750ec4421a9c01d60e7 "Generic udelay() with watchdogsupport".Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
mpc83xx: MPC8315ERDB: Use hwconfig for board type selectionThis patch simply converts the board to the hwconfig infrastructure.Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>Acked-by:
mpc83xx: MPC8315ERDB: Use hwconfig for board type selectionThis patch simply converts the board to the hwconfig infrastructure.Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>Acked-by: Kim Phillips <kim.phillips@freescale.com>
mpc83xx: Add PCI-E support for MPC8315ERDB boardsMPC8315ERDB boards features PCI-E x1 and Mini PCI-E x1 ports. Let'ssupport them.Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>Signed-
mpc83xx: Add PCI-E support for MPC8315ERDB boardsMPC8315ERDB boards features PCI-E x1 and Mini PCI-E x1 ports. Let'ssupport them.Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
12