14 Oct, 2016
12 commits
-
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
Update to drivers/power/pmic/palmas.c:
Signed-off-by: KeerthyChange-Id: I6cc9021339bfe686f9df21d61a1095ca2b3776e8
-
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 :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 stringsSigned-off-by: Simon Glass
-
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: 0990fcb77219 ("net: smsc95xx: Add driver-model support")
Signed-off-by: Stephen Warren
Acked-by: Joe Hershberger -
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
Acked-by: Joe Hershberger -
Signed-off-by: Chris Packham
Acked-by: Joe Hershberger -
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
Acked-by: Joe Hershberger -
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
Cc: Joshua Scott
Acked-by: Joe Hershberger -
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
Signed-off-by: Lokesh Vutla
Acked-by: Joe Hershberger -
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
Signed-off-by: Mugunthan V N
Acked-by: Joe Hershberger -
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
Reviewed-by: Marek Vasut
Acked-by: Marek Vasut
Acked-by: Joe Hershberger
13 Oct, 2016
3 commits
12 Oct, 2016
19 commits
-
Signed-off-by: Tom Rini
Conflicts:
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h -
Now that all x86 boards have been converted to DM video, drop the
legacy drivers.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
This converts coreboot to use DM framebuffer driver.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
With DM VESA driver on x86 boards, plat->base/size/align are all
zeroes and starting address passed to alloc_fb() happens to be 1MB
aligned, so this routine does not trigger any issue. On QEMU with
U-Boot as coreboot payload, the starting address is within 1MB
range (eg: 0x7fb0000), thus causes failure in video_post_bind().Actually if plat->size is zero, it makes no sense to do anything
in this routine. Add such check there.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
This adds a DM driver for coreboot framebuffer device.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
vbe_setup_video_priv() might be useful to other drivers.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
At present only chromebook boards are converted to DM video. Other
x86 boards are still using the legacy cfb_console driver. This
switches to use DM version drivers.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
With DM conversion, information like "Video: 1024x768x16" is not
shown anymore. Now add these verbose output back.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
This adds a DM driver for VESA-compatible device.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
Move crosec commands from drivers/misc/cros_ec.c to
cmd/cros_ec.cAcked-by: Simon Glass
Signed-off-by: Moritz Fischer
Cc: Simon Glass
Cc: Heiko Schocher
Cc: Bin Meng
Cc: Miao Yan
Cc: Masahiro Yamada
Cc: Stefan Roese
Cc: Przemyslaw Marczak
Cc: Maxime Ripard
Cc: Nishanth Menon
Cc: u-boot@lists.denx.de -
The driver provides regulator set/get voltage
enable/disable functions for lp873x family of PMICs.Signed-off-by: Keerthy
Reviewed-by: Simon Glass -
Add support to bind the regulators/child nodes with the pmic.
Signed-off-by: Keerthy
Reviewed-by: Simon Glass -
The driver provides regulator set/get voltage
enable/disable functions for palmas family of PMICs.Signed-off-by: Keerthy
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini -
Add support to bind the regulators/child nodes with the pmic.
Also adds the pmic i2c based read/write funtions to access pmic
registers.Signed-off-by: Keerthy
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini -
Add support for gpio regulators. As of now this driver caters
to gpio regulators with one gpio. Supports setting voltage values to gpio
regulators and retrieving the values.Signed-off-by: Keerthy
Reviewed-by: Simon Glass -
These two options go together and it is best to do the conversion in one
step. So enable DM_MMC_OPS by default if DM_MMC is enabled.Signed-off-by: Simon Glass
-
To speed up conversion to CONFIG_BLK, enable it by default when DM_MMC is
enabled.Signed-off-by: Simon Glass
11 Oct, 2016
6 commits
-
This gives a build warning on 64-bit x86. Fix it.
Signed-off-by: Simon Glass
Acked-by: Heiko Schocher
Reviewed-by: Bin Meng -
Fix a cast that causes warnings on 64-bit machines.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
We should consistently use %z with size_t, and avoid passing a uint32_t as
a size_t value. Fix these issues to avoid warnings on 64-bit machines.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
the definition, but let's use CONFIG_X86 to be sure.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Fix a cast that causes warnings on 64-bit machines.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Update the samus driver to avoid the direct call to the video BIOS setup.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng