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 ...
MAINTAINERS: Add missing boards and config entriesAs part of my usual round of build testing, output about missingMAINTAINERS information was not logged, and thus often overlooked.Correct that mi
MAINTAINERS: Add missing boards and config entriesAs part of my usual round of build testing, output about missingMAINTAINERS information was not logged, and thus often overlooked.Correct that mistake by ensuring that I log the output ofgenboardscfg.py every time. As part of that, address a number ofmissing MAINTAINERS entires. In the case of a missing file, I have putthe original submitter down. In the rest of the cases I have added theconfig (and sometimes relevant header file) to the existing set of fileglobs.Change-Id: Ic4524445489daba323d638470c369ad914d5bfefSigned-off-by: Tom Rini <trini@konsulko.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>(cherry picked from commit 79df00fdb40b4584919c8bcef42d323a8d38d0f1)
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
powerpc: remove 4xx supportThere was for long time no activity in the 4xx area.We need to go further and convert to Kconfig, but itturned out, nobody is interested anymore in 4xx,so remove it.
powerpc: remove 4xx supportThere was for long time no activity in the 4xx area.We need to go further and convert to Kconfig, but itturned out, nobody is interested anymore in 4xx,so remove it.Signed-off-by: Heiko Schocher <hs@denx.de>
Convert CONFIG_CMD_IOLOOP to KconfigThis converts the following to Kconfig: CONFIG_CMD_IOLOOPSigned-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>
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>
net: mii: Use spatch to update miiphy_registerRun scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Bin Meng
net: mii: Use spatch to update miiphy_registerRun scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
gdsys: Drop print_fpga_state functionOn most platforms the print_fpga_state function is never called. Onlyon dlvision-10g do we, so in that case inline it. Drop it fromeverywhere else to avoid
gdsys: Drop print_fpga_state functionOn most platforms the print_fpga_state function is never called. Onlyon dlvision-10g do we, so in that case inline it. Drop it fromeverywhere else to avoid extra strings.Signed-off-by: Tom Rini <trini@konsulko.com>Acked-by: Reinhard Pfau <reinhard.pfau@gdsys.cc>Acked-by: Dirk Eibach <dirk.eibach@gdsys.cc>
strider: Support con-dp flavorThere is a new strider console flavor with DisplayPortvideo.Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>Reviewed-by: Tom Rini <trini@konsulko.com>
strider: Add DP501 support for cpu modelSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>Signed-off-by: Stefan Roese <sr@denx.de>
hrcon: Add fan controllersSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
hrcon: Add support for the DH varianthrcon DH(dual head) has two video outputs per FPGA.Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
hrcon: Fix videoboard i2c setup- i2c addresses for the videoboard port expanders were wrong.- the fpga reset signal was not initialized.Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
hrcon: Use generic ioep-fpga supportThe strider platform moved some generic code into ioep-fpga.c.Make use of that on hrcon platform.Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
mpc83xx: Add strider boardThe gdsys strider board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x 10/100 M
mpc83xx: Add strider boardThe gdsys strider board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x 10/100 Mbit/s Ethernet (optional)- Lattice ECP3 FPGA connected via eLBCSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>[trini: Drop setting CONFIG_SYS_GENERIC_BOARD, this is always true now]Signed-off-by: Tom Rini <trini@konsulko.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>
mpc83xx: Add gdsys hrcon boardThe gdsys hrcon board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x GbE (o
mpc83xx: Add gdsys hrcon boardThe gdsys hrcon board is based on a Freescale MPC8308 SOC.It boots from NOR-Flash, kernel and rootfs are stored onSD-Card.On board peripherals include:- 1x GbE (optional)- Lattice ECP3 FPGA connected via eLBC and PCIeSigned-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>Signed-off-by: Stefan Roese <sr@denx.de>