30 Jun, 2015
1 commit
-
Move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I could
not test onenand I let it there ...Signed-off-by: Heiko Schocher
Acked-by: Scott Wood
Reviewed-by: Jagannadh Teki
12 Jun, 2015
1 commit
11 Jun, 2015
2 commits
-
Commit 9ba9e85f3f1c (net: Fix NET_RANDOM_ETHADDR dependencies)
accidentally dropped CONFIG_LIB_RAND defines for 14 Blackfin boards.Prior to that commit, those boards defined CONFIG_LIB_RAND, but not
CONFIG_NET_RANDOM_ETHADDR. So, commit 9ba9e85f3f1c should not have
touched them, but in fact it ripped CONFIG_LIB_RAND off from all the
header files, which caused undefined reference to srand and rand.
CONFIG_LIB_RAND=y must be revived for such boards.BTW, this commit indeed makes it better, but even with this fix,
three boards (bf533-stamp, bf538f-ezkit, cm-bf548) still can not
build due to region 'ram' overflowed error. This was cause by
commit 6eed3786c68c (net: Move the CMD_NET config to defconfigs)
because CMD_NET selects NET, and NET selects REGEX. Eventually,
some boards were newly enabled with CONFIG_REGEX, increasing the
memory footprint. A patch is expected to fix the build error.Signed-off-by: Masahiro Yamada
-
Drop the code that doesn't use driver model for USB.
Signed-off-by: Simon Glass
04 Jun, 2015
2 commits
-
Every pin can be configured now from the device tree. A dt-bindings
has been added to describe the different property available.Change-Id: I1668886062655f83700d0e7bbbe3ad09b19ee975
Signed-off-by: Gabriel Huau
Acked-by: Simon Glass -
PIRQ routing is pretty much common in Intel chipset. It has several
PIRQ links (normally 8) and corresponding registers (either in PCI
configuration space or memory-mapped IBASE) to configure the legacy
8259 IRQ vector mapping. Refactor current Queensbay PIRQ routing
support using device tree and move it to a common place, so that we
can easily add PIRQ routing support on a new platform.Signed-off-by: Bin Meng
Acked-by: Simon Glass
02 Jun, 2015
1 commit
-
NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
Kconfig to ensure that library is also compiled.Remove the definitions from Blackfin boards' include/configs.
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger
15 May, 2015
4 commits
-
This commit also updates the proper dts files.
Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass -
Signed-off-by: Przemyslaw Marczak
Acked-by: Simon Glass -
This fixes a warning in the print_buffer() function with some toolchains.
Signed-off-by: Simon Glass
Reviewed-by: Joe Hershberger -
This name is used in Linux, so use it in U-Boot.
Signed-off-by: Simon Glass
14 May, 2015
2 commits
-
The SOR is required for talking to eDP LCD panels. Add a driver for this
which will be used by the DisplayPort driver.Signed-off-by: Simon Glass
Acked-by: Anatolij Gustschin
Signed-off-by: Tom Warren -
This is useful for display parameters. Add a simple decode function to read
from this device tree node.Signed-off-by: Simon Glass
Signed-off-by: Tom Warren
10 May, 2015
1 commit
-
Having this as a Kconfig allows it to be a dependent feature.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
07 May, 2015
1 commit
-
Drop the code that doesn't use driver model for USB.
Signed-off-by: Simon Glass
30 Apr, 2015
2 commits
-
Add a function similar to print_size() that works for frequencies. It can
handle from Hz to GHz.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Bin Meng -
Before adding one more function, create a separate header to help reduce
the size of common.h. Add the missing function comments and tidy up.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
24 Apr, 2015
2 commits
-
After syncing the sunxi dts files with the upstream kernel dm/fdt sunxi
builds would no longer boot.The problem is that stdout-path is now set like this in the upstream dts
files: stdout-path = "serial0:115200n8". The use of options in of-paths,
either after an alias name, or after a full path, e.g. stdout-path =
"/soc@01c00000/serial@01c28000:115200", is standard of usage, but something
which the u-boot dts code so far did not handle.This commit fixes this, adding support for both path formats.
Signed-off-by: Hans de Goede
Acked-by: Simon Glass
23 Apr, 2015
5 commits
-
Remove the implicit assumption that SPL does not support device tree.
Signed-off-by: Simon Glass
-
There is little reason to split these two functions. Bring them together
which simplifies the init sequence.Signed-off-by: Simon Glass
-
We want to be able to set up the device tree in SPL, so move this code
to a common place.Signed-off-by: Simon Glass
-
The printf() in panic() adds about 1.5KB of code size to SPL when compiled
with Thumb-2. Provide a smaller version that does not support printf()-style
arguments and use it in two commonly compiled places.Signed-off-by: Simon Glass
-
Initial filesystem images are generally highly compressible.
Add a routine gzwrite that allows gzip-compressed images to be
written to block devices.Signed-off-by: Eric Nelson
Reviewed-by: Tom Rini
19 Apr, 2015
8 commits
-
Move this over to Kconfig and tidy up.
Signed-off-by: Simon Glass
-
This patch is simply clean-up to make the IPv4 type that is used match
what Linux uses. It also attempts to move all variables that are IP
addresses use good naming instead of CamelCase. No functional change.Signed-off-by: Joe Hershberger
Acked-by: Simon Glass -
The U-Boot device trees are slightly different in a few places. Adjust them
to remove most of the differences. Note that U-Boot does not support the
concept of interrupts as distinct from GPIOs, so this difference remains.For sandbox, use the same keyboard file as for ARM boards and drop the
host emulation bus which seems redundant.Signed-off-by: Simon Glass
-
This is not needed now that we have moved chromebook_link and cros_ec to
driver model.Signed-off-by: Simon Glass
-
This is not needed now that we have moved to driver model.
Signed-off-by: Simon Glass
-
The PCH (Platform Controller Hub) is on the PCI bus, so show it as such.
The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in the
right place also.Rename the compatible strings to be more descriptive since this board is the
only user. Once we are using driver model fully on x86, these will be
dropped.Signed-off-by: Simon Glass
-
In the case where the arch defines a custom map_sysmem(), make sure that
including just mapmem.h is sufficient to have these functions as they
are when the arch does not override it.Also split the non-arch specific functions out of common.h
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass -
Move chromebook_link over to driver model for PCI.
This involves:
- adding a uclass for platform controller hub
- removing most of the existing PCI driver
- adjusting how CPU init works to use driver model instead
- rename the lpc compatible string (it will be removed later)This does not really take advantage of driver model fully, but it does work.
Furture work will improve the code structure to remove many of the explicit
calls to init the board.Signed-off-by: Simon Glass
17 Apr, 2015
2 commits
-
This function returns -ENOENT when the property is missing (which the caller
might forgive) and also when the property is present but incorrectly
formatted (which many callers would like to report).Update the error return value to allow these different situations to be
distinguished.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
Reviewed-by: Bin Meng -
This function is missing a prototype but is more widey useful. Add it.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
15 Mar, 2015
1 commit
-
Panasonic's System LSI products, UniPhier SoC family, have been
transferred to Socionext Inc.Signed-off-by: Masahiro Yamada
06 Mar, 2015
3 commits
-
GD_RELOCADDR, GD_RELOC_OFF & GD_START_ADDR_SP are generic members of
global data structure so why don't we allow architectures other than ARM
to use it.Signed-off-by: Alexey Brodkin
Cc: Simon Glass
Cc: Tom Rini
Acked-by: Simon Glass -
Remove dependency of rsa_mod_exp from CONFIG_FIT_SIGNATURE.
As rsa modular exponentiation is an independent module
and can be invoked independently.Signed-off-by: Gaurav Rana
Acked-by: Simon Glass
Reviewed-by: York Sun
28 Feb, 2015
1 commit
-
Support xHCI host driver used on Panasonic UniPhier platform.
Signed-off-by: Masahiro Yamada
Acked-by: Marek Vasut
26 Feb, 2015
1 commit
-
Currently only normal hashing is supported using hardware acceleration.
Added support for progressive hashing using hardware.Signed-off-by: Ruchika Gupta
Signed-off-by: Gaurav Rana
CC: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: York Sun