07 Sep, 2013
19 commits
-
For most boards which define CONFIG_SPL_PAD_TO,
it is defined in config header files.
Currently, there exists only one exception, cam_enc_4xx board.This patch moves CONFIG_SPL_PAD_TO definition
from board/ait/cam_enc_4xx/config.mk
to include/configs/cam_enc_4xx.h.With this modification, we can delete a glue code
in the top level config.mk:ifneq ($(CONFIG_SPL_PAD_TO),)
CPPFLAGS += -DCONFIG_SPL_PAD_TO=$(CONFIG_SPL_PAD_TO)
endifSigned-off-by: Masahiro Yamada
Cc: Heiko Schocher -
Currently no makefiles (board-specific config.mk)
set the following variables:CONFIG_SPL_TEXT_BASE
CONFIG_UBOOT_PAD_TO
CONFIG_RESET_VECTOR_ADDRESS
CONFIG_TPL_PAD_TOFor all target boards using above macros
they are set in header files (include/configs/*.h),
so we do not need to set them as CPPFLAGS.Signed-off-by: Masahiro Yamada
-
Signed-off-by: Oliver Metz
Tested-by: Luka Perkov -
Signed-off-by: Oliver Metz
Tested-by: Luka Perkov -
Fix my email address.
Signed-off-by: Marek Vasut
Cc: Tom Rini -
Use of uImage formatted u-boot have long been preferred, and recent
changes to better support Falcon mode on MMC now enforces it on MMC.Signed-off-by: Henrik Nordstrom
-
libata already has similar functions as implemented in the ahci code.
Refactor the code to use the libata variants and remove the dependency on
ata.h. Convert some defines to use the version from libata.h. Also, remove
some unnecessary memset's of bss data.This is a step toward hopefully merging ahci.c and dw_ahsata.c which are
essentially the same driver.Signed-off-by: Rob Herring
Reviewed-by: Tom Rini -
Based on Linux libata code, most drives are less than 10 sec, but some
need up to 20 sec.Signed-off-by: Rob Herring
Reviewed-by: Tom Rini -
Some Intel SSDs can send a COMINIT after the initial COMRESET. This causes
the link to go down and we need to re-initialize the link.Signed-off-by: Rob Herring
-
Move the link bring-up handling to a separate weak function in order to
allow platforms to override it. This is needed on highbank platform which
needs special phy handling.Signed-off-by: Rob Herring
-
Replace hard-coded register values with proper defines for PORT_SCR_STAT
register.Signed-off-by: Rob Herring
-
This fixes a memory leak when scsi inquiry fails.
Signed-off-by: Rob Herring
Reviewed-by: Tom Rini -
gcc 4.7 will generate unaligned accesses to local char arrays, so make
them static to avoid that.Signed-off-by: Rob Herring
Reviewed-by: Tom Rini -
The AHCI driver was incorrectly using the Capabilities register NP (number
of ports) field to determine which ports to activate. This commit changes
it to correctly use the PORTS_IMPL register as a port map.Signed-off-by: Richard Gibbs
Reviewed-by: Tom Rini -
Add support for defining the gcc lib in standalone examples as is
done in the main u-boot MakefileSigned-off-by: Jack Mitchell
-
In the set_cluster() function, it will convert the buffer size to sector
numbers. Then call disk_write() to write by sector.
For remaining buffer, the size is less than a sector, call disk_write()
again to write them in one sector.But if the total buffer size is less then one sector, the original code
will call disk_write() with zero sector number. It is unnecessary.
So this patch fix this. Now it will not call disk_write() if total buffer size
is less than one sector.Signed-off-by: Josh Wu
-
gcc allows extensions to be non compiler specific by defining
__* macros for the attributes supported by gcc. Having a
different definition causes many warnings during the build
(cdefs.h on FreeBSD uses __attribute((__pure__)) where u-boot
uses __attribute__((pure)) for example). Do not redefine
these macros to suppress these warnings.This patch ignores the checkpatch warning:
WARNING: __packed is preferred over __attribute__((packed))Signed-off-by: Jeroen Hofstee
-
Update git-mailrc with my nick and replace afleming as mmc custodian.
Signed-off-by: Pantelis Antoniou
06 Sep, 2013
5 commits
-
Somewhere along the line of refactoring the am335x header files, the
kernel image load was lost, so put it back in.Signed-off-by: Robert P. J. Day
-
Consolidating reset code into reset_manager.c. Also
separating reset configuration for virtual target and
real hardware Cyclone V development kitSigned-off-by: Chin Liang See
Reviewed-by: Pavel Machek
Cc: Wolfgang Denk
Cc: Pavel Machek
Cc: Dinh Nguyen
Cc: Tom Rini
Cc: Albert Aribaud -
Separating the configuration file for Virtual
Target and real hardware Cyclone V development kitSigned-off-by: Chin Liang See
Reviewed-by: Pavel Machek
Cc: Wolfgang Denk
Cc: Pavel Machek
Cc: Dinh Nguyen
Cc: Tom Rini
Cc: Albert Aribaud -
The commit 1a4596601fd395f3afb8f82f3f840c5e00bdd57a
Add GPL-2.0+ SPDX-License-Identifier to source filesgenerated a warning due to a missing comment terminator.
longlong.h:7:1: warning: "/*" within commentSigned-off-by: Thomas Chou
05 Sep, 2013
3 commits
-
Remove ARM eabi exception handling tables (for frame unwinding).
AFAICT, u-boot stubs away the frame unwiding routines, so the tables will
more or less just consume space. It should be OK to remove them.Signed-off-by: Edgar E. Iglesias
Signed-off-by: Michal Simek -
Conflicts:
drivers/serial/serial.cThe conflict above was a trivial case of adding one init
function in each branch, and manually resolved in merge.
04 Sep, 2013
11 commits
-
Drop unused CONFIG_NET_MULTI
Signed-off-by: Bo Shen
Signed-off-by: Andreas Bießmann -
The PMECC use BCH algorithm to correct error. In BCH algorithm, the
primitive polynomial value is GF(2^13) for 512-bytes sector size. And it is
GF(2^14) for 1024-bytes sector size.This patch will choose correct degree of the remainders (13 or 14) for
different sector size.
Tested in AT91SAM9X5-EK with MLC nand flash.More detail can be refered to section 5.4.1 of:
AT91SAM ARM-based Embedded MPU Application Note
Signed-off-by: Josh Wu
Signed-off-by: Andreas Bießmann -
While nothing presently examines the destination size, it should at
least be correct so that future users of sys_mapmem() will not be
surprised. Without this, it might be possible to overflow memory.Signed-off-by: Kees Cook
Acked-by: Simon Glass -
This checks the size of the output buffer and fails if it was going to
overflow the buffer during lzo decompression.Signed-off-by: Kees Cook
Acked-by: Simon Glass -
The output buffer size must be correctly passed to the lzma decoder or
there is a risk of overflowing memory during decompression. Switching
to the LZMA_FINISH_END mode means nothing is left in an unknown state
once the buffer becomes full.Signed-off-by: Kees Cook
Acked-by: Simon Glass -
The output buffer size must not be reset by the gzip decoder or there
is a risk of overflowing memory during decompression.Signed-off-by: Kees Cook
Acked-by: Simon Glass -
This adds the missing compression config items to the README.
Signed-off-by: Kees Cook
Acked-by: Simon Glass -
This adds the "test_compression" command when building the sandbox. This
tests the existing compression and decompression routines for simple
sanity and for buffer overflow conditions.Signed-off-by: Kees Cook
Acked-by: Simon Glass -
Correct the following warnings found with sandbox when compression
is enabled.cmd_bootm.c: In function 'bootm_load_os':
cmd_bootm.c:443:11: warning: passing argument 4 of 'lzop_decompress' from incompatible pointer type [enabled by default]
/usr/local/google/c/cosarm/src/third_party/u-boot/files/include/linux/lzo.h:31:5: note: expected 'size_t *' but argument is of type 'uint *'
cmd_ximg.c: In function 'do_imgextract':
cmd_ximg.c:225:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cmd_ximg.c:225:14: warning: 'hdr' may be used uninitialized in this function [-Wuninitialized]Signed-off-by: Simon Glass
Acked-by: Kees Cook
03 Sep, 2013
2 commits
-
Conflicts:
arch/arm/include/asm/arch-zynq/hardware.hThe conflict above was trivial and solved during merge.