14 Oct, 2016
5 commits
-
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
Reviewed-by: Tom Rini
Reviewed-by: Tom Rini
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 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.10Signed-off-by: Mugunthan V N
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
1 commit
12 Oct, 2016
18 commits
-
Signed-off-by: Tom Rini
Conflicts:
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h -
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
Signed-off-by: Tom Rini -
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
Signed-off-by: Tom Rini -
Legacy video driver macros are not needed. Clean them up.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass -
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 -
The kernel load address for zboot should be 0x1000000.
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 -
For some unknown reason, coreboot framebuffer driver never works on
QEMU since day 1. It seems the driver only works on real hardware.
Document this issue.Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
11 Oct, 2016
16 commits
-
This should return normal errors, not device-tree errors. Fix it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Drop init_bd_struct_r() which is no-longer used. Also drop the declaration
for init_func_spi() since this is now handled by generic board init.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Fix the hex case and remove unused brackets. Use ~0U instead of ~0UL to
allow compilation on 64-bit machines.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
At present pch_power_options() has the arguments to writel() around the
wrong way. Fix this and update it to compile on 64-bit machines.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
We don't have a way of adjusting these at present so it is best to refuse to
export these functions. This can be implemented later if the API is required.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
This gives a build warning on 64-bit x86. Fix it.
Signed-off-by: Simon Glass
Acked-by: Heiko Schocher
Reviewed-by: Bin Meng -
We should cast an address to unsigned long, not u32.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
We should cast an address to unsigned long, not u32.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
Update the code to support both 32-bit and 64-bit modes.
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 -
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 -
Add this so that we can support 64-bit relocation on x86.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
This is already called earlier, from fdtdec_setup(), so drop this unnecessary
call from the init sequence.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 -
This is used in some link scripts, so add a declaration for it.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng