- Oct 17, 2016
-
-
This commit "2bb01482" do some clean up to use the code in lib/time.c. But usec2ticks is still being used by security related job ring code. Bring back the function to avoid build break when CONFIG_FSL_CAAM is defined. The computation logic has been changed, using 64-bit variable to ease the process, making it work on older (MX5) platforms. Signed-off-by:
Peng Fan <van.freenix@gmail.com> Signed-off-by:
Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by:
Gary Bisson <gary.bisson@boundarydevices.com>
-
So the option can easily be selected through menuconfig. Signed-off-by:
Gary Bisson <gary.bisson@boundarydevices.com>
-
- Oct 15, 2016
-
-
Heiko Schocher authored
Move FDT_FIXUP_PARTITIONS to Kconfig and cleanup existing uses. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
Move SYS_OS_BASE to Kconfig and cleanup existing uses. Signed-off-by:
Heiko Schocher <hs@denx.de> [trini: Also migrate a4m2k] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
Move SPL_OS_BOOT to Kconfig and cleanup existing uses. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Oct 14, 2016
-
-
Tom Rini authored
We can only run this command if the sleep command is enabled and that depends on CONFIG_CMD_MISC Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Masahiro Yamada authored
Jon Master reports that QEMU refuses to load a U-Boot image built with CONFIG_ARMV7_NONSEC, but without CONFIG_ARMV7_PSCI since commit 5a3aae68 ("ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI"). It looks like only PSCI that needs the Secure stack, so move the #ifdef to guard the whole of .secure_stack allocation in order not to create the empty section. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reported-by:
Jon Masters <jcm@redhat.com> Link: http://patchwork.ozlabs.org/patch/664025/
-
git://git.denx.de/u-boot-fdtTom Rini authored
-
- Oct 13, 2016
-
-
Simon Glass authored
The fdt_path_offset() function is not inlined in upstream libfdt. Adjust U-Boot's version to match. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The signature for this macro has changed. Bring in the upstream version and adjust U-Boot's usages to suit. Signed-off-by:
Simon Glass <sjg@chromium.org> Update to drivers/power/pmic/palmas.c: Signed-off-by:
Keerthy <j-keerthy@ti.com> Change-Id: I6cc9021339bfe686f9df21d61a1095ca2b3776e8
-
Simon Glass authored
These have now landed upstream. The naming is different and in one case the function signature has changed. Update the code to match. This applies the following upstream commits by Thierry Reding <treding@nvidia.com> : 604e61e fdt: Add functions to retrieve strings 8702bd1 fdt: Add a function to get the index of a string 2218387 fdt: Add a function to count strings Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This includes small changes to the following functions, from upstream commit 6d1832c: - fdt_get_max_phandle() (upstream commit 84e0e134) - fdt_node_check_compatible (upstream commit 53bf130b) - fdt_setprop_inplace_namelen_partial() to remove useless brackets and use idx instead of index - _fdt_resize_property() to use idx instead of index - _fdt_splice() (upstream commit d4c7c25c) It also includes various typo fixes in libfdt.h Signed-off-by:
Simon Glass <sjg@chromium.org>
-
David Gibson authored
Using pointer arithmetic to generate a pointer outside a known object is, technically, undefined behaviour in C. Unfortunately, we were using that in fdt_offset_ptr() to detect overflows. To fix this we need to do our bounds / overflow checking on the offsets before constructing pointers from them. Reported-by:
David Binderman <dcb314@hotmail.com> Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Hannes Schmelzer authored
Sometimes devicetree nodes and or properties are added out of the u-boot console, maybe through some script or manual interaction. The devicetree as loaded or embedded is quite small, so the devicetree has to be resized to take up those new nodes/properties. In original the devicetree was only extended by effective 4 * add_mem_rsv. With this commit we can add an argument to the "fdt resize" command, which takes the extrasize to be added. Signed-off-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-netTom Rini authored
-
Stephen Warren authored
eth-uclass.c expects DM-capable Ethernet adapters to implement ops-> read_rom_hwaddr(), or for some other mechanism to set pdata->enetaddr, or for the user to set environment variable $usbethaddr. Without any of these, it will refuse to initialize the device since no valid MAC address is known. Implement this function for the smsc95xx driver. With this feature implemented, there is no point smsc95xx_init_common() re-reading the MAC address from ROM, so ifdef out this code when DM_ETH is enabled. This allows (at least) the built-in Ethernet on the NVIDIA Harmony board to operate again. Fixes: 0990fcb7 ("net: smsc95xx: Add driver-model support") Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Guillaume GARDET authored
Add a NFS download test, based on TFTP test. Tested on i.MX6 SabreLite board. Signed-off-by:
Guillaume GARDET <guillaume.gardet@free.fr> Cc: Tom Rini <trini@konsulko.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Simon Glass <sjg@chromium.org> Reviewed-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Peter Chubb authored
After any operation that downloads a file (e.g., pxe get, or dhcp), the buffer containing the downloaded data is flushed. This is unnecessary and annoying. Unnecessary, because the network driver should already have fliushed the cache for the DMAed area, and annoying because it generates a cache misalignment message. Signed-off-by:
Peter Chubb <peter.chubb@data61.csiro.au> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Peter Chubb authored
The call to flush cache on the transmit buffer was misplaced (for very short packets) and asked to flush less than a cacheline. Move the flush cache call to after a short packet has been padded to minimum length (so the padding is flushed too), and round the size up to a cacheline. Signed-off-by:
Peter Chubb <peter.chubb@data61.csiro.au> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Hannes Schmelzer authored
If mac-address is changed using "setenv ethaddr ...." command the new mac-adress also must be written into the responsible ethernet driver. Signed-off-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Chris Packham authored
Signed-off-by:
Chris Packham <judge.packham@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Chris Packham authored
On some boards these switches are wired directly into a SERDES interface on another Ethernet MAC. Add the ability to specify these kinds of boards using CONFIG_MV88E61XX_FIXED_PORTS which defines a bit mask of these fixed ports. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Chris Packham authored
The Marvell Link Street mv88e60xx is a series of FastEthernet switch chips, some of which also support Gigabit ports. It is similar to the mv88e61xx series which support Gigabit on all ports. The main difference is the number of ports. Which affects the PORT_COUNT define and the size of the mask passed to mv88e61xx_port_set_vlan(). Other than that it's just a matter of adding the appropriate chip IDs. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Cc: Joshua Scott <joshua.scott@alliedtelesis.co.nz> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Roger Quadros authored
Ethernet ports might be used in the kernel even if CPSW driver is disabled at u-boot. So always set ethaddr and eth1addr environment variable from efuse. Retain usbnet_devaddr as it is required for SPL USB eth boot. Signed-off-by:
Roger Quadros <rogerq@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Roger Quadros authored
Both ethernet ports can be used as CPSW ethernet (RMII mode) or PRU ethernet (MII mode) by setting the jumper near the port. Read the jumper value and set the pinmux, external mux and PHY clock accordingly. As jumper line is overridden by PHY RX_DV pin immediately after bootstrap (power-up/reset), we have to use GPIO edge detection to capture the jumper line status. As u-boot doesn't provide any infrastructure for GPIO edge detection, we directly access the GPIO registers. Signed-off-by:
Roger Quadros <rogerq@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Mugunthan V N authored
In the current driver implementation, config() callback is common for AR8035 and AR8031 phy. In config() callback, driver tries to configure MMD Access Control Register and MMD Access Address Data Register unconditionally for both phy versions which leads to auto negotiation failure in AM335x EVMsk second port which uses AR8031 Giga bit RGMII phy. Fixing this by adding separate config for AR8031 phy. Reviewed-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Andrea Merello authored
This adds support for internal delay on RX and TX on RGMII interface for the AR8035 phy. This is basically the same Linux driver do. Tested on a Zynq Zturn board (for which u-boot support in is my tree; first patch waiting ML approval) Signed-off-by:
Andrea Merello <andrea.merello@gmail.com> Reviewed-by:
Marek Vasut <marex@denx.de> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
http://git.denx.de/u-boot-mmcTom Rini authored
-
git://git.denx.de/u-boot-dmTom Rini authored
-
- Oct 12, 2016
-
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
git://git.denx.de/u-boot-tegraTom Rini authored
-
http://git.denx.de/u-boot-sunxiTom Rini authored
-
git://git.denx.de/u-boot-fsl-qoriqTom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com> Conflicts: include/configs/ls1021aqds.h include/configs/ls1021atwr.h
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Lokesh Vutla authored
Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Bin Meng authored
Legacy video driver macros are not needed. Clean them up. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-