07 Feb, 2014
10 commits
-
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
These are library functions used by ARC700 architecture.
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
These are header files used by ARC700 architecture.
Also note that "arch-arc700/hardware.h" is only required for compilation of
"designware_i2c" driver which refers to "asm/arch/hardware.h".
It would be good to fix mentioned driver sometime soon but it will cause
changes in ARM board configs that use "designware_i2c".Signed-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Francois Bedard
Cc: Wolfgang Denk
Cc: Heiko Schocher -
EMAC_VLANx regs is not properly initiallized in u-boot, once it's overwrite in the
kernel when DSA enabled, hot reset will lead to bringing up EMAC fail in u-boot.Signed-off-by: Aaron Wu
Signed-off-by: Sonic Zhang -
Signed-off-by: Sonic Zhang
-
Signed-off-by: Bob Liu
Signed-off-by: Sonic Zhang -
Signed-off-by: Sonic Zhang
-
With e0059ea switching to using SZ_1K, we need to #include
here for everyone to build still.Signed-off-by: Tom Rini
06 Feb, 2014
9 commits
-
Just extend tables with this new device.
Signed-off-by: Michal Simek
-
When ARCH_DMA_MINALIGN is greater than header size of the bit file, and buf is
not aligned, new_buf address became greater then buf_start address and the
load_word loop corrupts bit file data.A work around is to decrease new_buf of ARCH_DMA_MINALIGN, it might corrupt data
before buf but permits to load correctly.Signed-off-by: Stany MARCEL
Signed-off-by: Michal Simek -
The mv_udc is not marvell-specific anymore. The mv_udc is used to drive
generic ChipIdea CI13xxx series OTG cores, so rename the driver to ci_udc
instead.Signed-off-by: Marek Vasut
Cc: Eric Nelson
Cc: Stefano Babic -
Apparently debug memset (with a 0x55 value) has been overlooked in the
f_thor code.Signed-off-by: Lukasz Majewski
Cc: Marek Vasut -
Now it is possible to allocate static request - which receives data from
the host (OUT transaction) to the size of THOR packet.Signed-off-by: Lukasz Majewski
Cc: Marek Vasut -
The Samsung's UDC driver is not anymore copying data from USB requests to
aligned internal buffers. Now it works directly in data allocated in the
upper layers like UMS, DFU, THOR.This change is possible since those gadgets now must take care to allocate
buffers aligned to cache line (CONFIG_SYS_CACHELINE_SIZE).This can be achieved by using DEFINE_CACHE_ALIGN_BUFFER() or
ALLOC_CACHE_ALIGN_BUFFER() macros. Those take care to allocate buffer
aligned to cache line in both starting address and its size.
Sometimes it is enough to just use memalign() with size being a
multiplication of cache line size.Test condition
- test HW + measurement: Trats - Exynos4210 rev.1
- test HW Trats2 - Exynos4412 rev.1
400 MiB compressed rootfs image download with `thor 0 mmc 0`Measurement:
Transmission speed: 27.04 MiB/sSigned-off-by: Lukasz Majewski
Cc: Marek Vasut -
This patch removed obscure restriction on the HW setting of DMA transfers.
Before this change each transaction sent up to 512 bytes (with packet count
equal to 1) for non EP0 transfer.Now it is possible to setup DMA transaction up to DMA_BUFFER_SIZE.
Test condition
- test HW + measurement: Trats - Exynos4210 rev.1
- test HW Trats2 - Exynos4412 rev.1
400 MiB compressed rootfs image download with `thor 0 mmc 0`Measurement:
Transmission speed: 20.74 MiB/sSigned-off-by: Lukasz Majewski
Cc: Marek Vasut -
A set of cache operations (both invalidation and flush) were redundant
in the S3C HS OTG Samsung driver:1. s3c_udc_ep0_zlp - to transmit EP0's ZLP packets one don't need to flush
the cache (since it is the zero length transmission)2. s3c_udc_pre_setup and s3c_ep0_complete_out - cache invalidation is not
needed when the buffer for OUT EP0 transmission is setup, since no data
has yet arrived.Cache cleanups presented above don't contribute much to transmission speed
up, hence shall be regarded as cosmetic changes.3. setdma_rx - here the s3c UDC driver's internal buffers were invalidated.
This call is not needed anymore since we reuse the buffers passed from
gadgets. This is a key contribution to transmission speed improvement.Test condition
- test HW + measurement: Trats - Exynos4210 rev.1
- test HW Trats2 - Exynos4412 rev.1
400 MiB compressed rootfs image download with `thor 0 mmc 0`Measurements:
Base values (without improvement):
Transmission speed: 9.51 MiB/sAfter the change:
Transmission speed: 10.15 MiB/sSigned-off-by: Lukasz Majewski
Cc: Marek Vasut -
Calls to malloc() have been replaced by memalign. It now provides proper
buffer alignment.Signed-off-by: Lukasz Majewski
Cc: Marek Vasut
05 Feb, 2014
10 commits
-
Signed-off-by: Tom Rini
-
describe a set of default features that distros can rely on being available.
having this common definition means that distros can easily support systems
implementing them.Signed-off-by: Dennis Gilmore
-
Signed-off-by: Dennis Gilmore
-
People who write (or scripts that auto-generate) extlinux.conf don't
want to know about HW-specific information such as FDT filenames. Create
a new extlinux.conf tag "fdtdir" that specifies only the directory where
FDT files are located, and defer all knowledge of the filename to U-Boot.
The algorithm implemented is:==========
if $fdt_addr_r is set:
if "fdt" tag was specified in extlinux.conf:
load the FDT from the filename in the tag
else if "fdtdir" tag was specified in extlinux.conf:
if "fdtfile" is set in the environment:
load the FDT from filename in "$fdtfile"
else:
load the FDT from some automatically generated filenameif no FDT file was loaded, and $fdtaddr is set:
# This indicates an FDT packaged with firmware
use the FDT at $fdtaddr
==========A small part of an example /boot/extlinux.conf might be:
==========
LABEL primary
LINUX zImage
FDTDIR ./LABEL failsafe
LINUX bkp/zImage
FDTDIR bkp/
==========... with /boot/tegra20-seaboard.dtb or /boot/bkp/tegra20-seaboard.dtb
being loaded by the sysboot/pxe code.Signed-off-by: Stephen Warren
-
The specification for extlinux.conf[1] states that "fdt" is an alias for
"devicetree". To date, U-Boot only implements "fdt". Rectify that.[1] http://freedesktop.org/wiki/Specifications/BootLoaderSpec/
Signed-off-by: Stephen Warren
04 Feb, 2014
11 commits
-
Just to be sure that there is no pending data.
Signed-off-by: Michal Simek
-
As tsec and fm drivers checking phydev->link
ensure that u-boot don't try access device if link is not ready.Signed-off-by: Michal Simek
-
Add support for U-BOOT SPL. NOR and RAM mode are supported.
There are 3 images in NOR flash. u-boot.img, dtb and kernel.Signed-off-by: Michal Simek
-
It speeds up writing a lot.
Signed-off-by: Michal Simek
-
Just list one more exception.
Signed-off-by: Michal Simek
-
It is nice to see u-boot version.
Signed-off-by: Michal Simek
-
Command provides just dump subcommand for showing clock
frequencies in a soc.Signed-off-by: Michal Simek
Acked-by: Stefano Babic -
IFC registers can be of type Little Endian or big Endian depending upon
Freescale SoC. Here SoC defines the register type of IFC IP.So update acessor functions with common IFC acessor functions to take care
both type of endianness.Signed-off-by: Prabhakar Kushwaha
Acked-by: York Sun -
The PEXHC PCIe configuration mechanism ensures that the FPGA get
configured at power-up. Since all the PCIe devices should be configured
when the kernel start, u-boot has to take care that the FPGA gets
configured also in other reset scenarios, mostly because of possible
configuration change.The used mechanism is taken from the km_kirkwood design and adapted to
the kmp204x case (slightly different HW and PCIe configuration).Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
The new prototype and the final series was moved from Micron to Spansion
to have a better reset sequence that is easier to support.Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun -
This define can be used if the ubi boot partition (defined for all
Keymile boards with KM_UBI_PARTITION_NAME_BOOT #define to ubi0) needs
some additionnal boot options.This is the case for the kmp204x boards since u-boot does not support
NAND Flash subpage accesses on this platform, an additionnal argument
that defines the VID offstet must be given to the kernel.The UBI cmd line option now looks like this "ubi.mtd=ubi0,2048" on this
platform.Signed-off-by: Valentin Longchamp
Reviewed-by: York Sun