UPSTREAM: 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 header
UPSTREAM: 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>Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994eReported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
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>
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>
NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUSTIntroduce board/freescale/common/Kconfig so that we have a single placefor CONFIG options that are shared between ARM and Po
NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUSTIntroduce board/freescale/common/Kconfig so that we have a single placefor CONFIG options that are shared between ARM and PowerPC NXP platforms.Cc: York Sun <york.sun@nxp.com>Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: York Sun <york.sun@nxp.com>
powerpc: cyrus: Separate P5020/P5040 config optionsInstead of using EXTRA options in defconfig, use two targetsin Kconfig to select correct SoC.Signed-off-by: York Sun <york.sun@nxp.com>
powerpc: P5040: Remove macro CONFIG_P5040Replace CONFIG_P5040 with ARCH_P5040 in Kconfig and clean upexisting macros.Signed-off-by: York Sun <york.sun@nxp.com>
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>
Various Makefiles: Add SPDX-License-Identifier tagsAfter consulting with some of the SPDX team, the conclusion is thatMakefiles are worth adding SPDX-License-Identifier tags too, and most ofours
Various Makefiles: Add SPDX-License-Identifier tagsAfter consulting with some of the SPDX team, the conclusion is thatMakefiles are worth adding SPDX-License-Identifier tags too, and most ofours have one. This adds tags to ones that lack them and converts a fewthat had full (or in one case, very partial) license blobs into theequivalent tag.Cc: Kate Stewart <kstewart@linuxfoundation.org>Signed-off-by: Tom Rini <trini@konsulko.com>
mpc85xx: Add support for the Varisys Cyrus boardThis board runs a P5020 or P5040 chip, and utilizesan EEPROM with similar formatting to the Freescale P5020DS.Large amounts of this code were deve
mpc85xx: Add support for the Varisys Cyrus boardThis board runs a P5020 or P5040 chip, and utilizesan EEPROM with similar formatting to the Freescale P5020DS.Large amounts of this code were developed byAdrian Cox <adrian at humboldt dot co dot uk>Signed-off-by: Andy Fleming <afleming@gmail.com>Reviewed-by: York Sun <yorksun@freescale.com>