| db6b5e8b | 04-Sep-2013 |
Paul Burton <paul.burton@imgtec.com> |
spl: remove unnecessary (& ARM specific) include of asm/utils.h
ARM is the only architecture which includes this header and nothing in spl_mmc.c makes use of it. Remove the include.
Signed-off-by:
spl: remove unnecessary (& ARM specific) include of asm/utils.h
ARM is the only architecture which includes this header and nothing in spl_mmc.c makes use of it. Remove the include.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
show more ...
|
| bc23d96b | 17-Sep-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-spi |
| 47f75cf2 | 07-Sep-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm |
| 19d829fa | 05-Sep-2013 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Conflicts: drivers/serial/serial.c
The conflict above was a trivial case of adding one init function in each branch, and manually resolved
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Conflicts: drivers/serial/serial.c
The conflict above was a trivial case of adding one init function in each branch, and manually resolved in merge.
show more ...
|
| 315c0ace | 16-Aug-2013 |
Kees Cook <keescook@chromium.org> |
bootm: allow correct bounds-check of destination
While nothing presently examines the destination size, it should at least be correct so that future users of sys_mapmem() will not be surprised. With
bootm: allow correct bounds-check of destination
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 <keescook@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 628af179 | 30-Aug-2013 |
Simon Glass <sjg@chromium.org> |
sandbox: Correct compiler warnings in cmd_bootm/cmd_ximg
Correct the following warnings found with sandbox when compression is enabled.
cmd_bootm.c: In function 'bootm_load_os': cmd_bootm.c:443:11:
sandbox: Correct compiler warnings in cmd_bootm/cmd_ximg
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 <sjg@chromium.org> Acked-by: Kees Cook <keescook@chromium.org>
show more ...
|
| bce88370 | 26-Aug-2013 |
Marek Vasut <marex@denx.de> |
ARM: mxs: tools: Add mkimage support for MXS bootstream
Add mkimage support for generating and verifying MXS bootstream. The implementation here is mostly a glue code between MXSSB v0.4 and mkimage,
ARM: mxs: tools: Add mkimage support for MXS bootstream
Add mkimage support for generating and verifying MXS bootstream. The implementation here is mostly a glue code between MXSSB v0.4 and mkimage, but the long-term goal is to rectify this and merge MXSSB with mkimage more tightly. Once this code is properly in U-Boot, MXSSB shall be deprecated in favor of mkimage-mxsimage support.
Note that the mxsimage generator needs libcrypto from OpenSSL, I therefore enabled the libcrypto/libssl unconditionally.
MXSSB: http://git.denx.de/?p=mxssb.git;a=summary
The code is based on research presented at: http://www.rockbox.org/wiki/SbFileFormat
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br>
show more ...
|
| b95f958d | 27-Aug-2013 |
Gerlando Falauto <gerlando.falauto@keymile.com> |
cmd_sf: let "sf update" preserve the final part of the last sector
Since "sf update" erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left era
cmd_sf: let "sf update" preserve the final part of the last sector
Since "sf update" erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a safety measure, have it rewrite the original content.
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Cc: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
show more ...
|
| 529c0d9b | 27-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-usb |
| 880a4127 | 23-Aug-2013 |
Heiko Schocher <hs@denx.de> |
i2c: fix i2c dev command for not using new framework
i2c dev command does not work anymore for legacy drivers because a check is executed that is valid only in the new framework.
Signed-off-by: Hei
i2c: fix i2c dev command for not using new framework
i2c dev command does not work anymore for legacy drivers because a check is executed that is valid only in the new framework.
Signed-off-by: Heiko Schocher <hs@denx.de> Tested-by: Stefano Babic <sbabic@denx.de>
show more ...
|
| c95e2b9e | 26-Aug-2013 |
Jim Lin <jilin@nvidia.com> |
console: usb: kbd: To fix slow TFTP booting
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second wh
console: usb: kbd: To fix slow TFTP booting
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. My previous patch is expected to be put into usb_kbd_testc(). But it went into usb_kbd_getc() after applied. This patch is to put change in correct place.
Signed-off-by: Jim Lin <jilin@nvidia.com>
show more ...
|
| 07551f23 | 13-Aug-2013 |
Jim Lin <jilin@nvidia.com> |
console: usb: kbd: To improve TFTP booting performance
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to ever
console: usb: kbd: To improve TFTP booting performance
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running.
Signed-off-by: Jim Lin <jilin@nvidia.com>
show more ...
|
| eaf3e613 | 19-Jul-2013 |
Julius Werner <jwerner@chromium.org> |
usb: Use well-known descriptor sizes when parsing configuration
The existing USB configuration parsing code relies on the descriptors' own length values when reading through the configuration blob.
usb: Use well-known descriptor sizes when parsing configuration
The existing USB configuration parsing code relies on the descriptors' own length values when reading through the configuration blob. Since the size of those descriptors is always well-defined, we should rather use the known sizes instead of trusting device-provided values to be correct. Also adds some safety to potential out-of-order descriptors.
Change-Id: I16f69dfdd6793aa0fe930b5148d4521f3e5c3090 Signed-off-by: Julius Werner <jwerner@chromium.org>
show more ...
|
| 3615a996 | 01-Aug-2013 |
Dan Murphy <dmurphy@ti.com> |
USB: usb-hub: Add a weak function for resetting devices
Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER has been submitted
Signed-off-
USB: usb-hub: Add a weak function for resetting devices
Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER has been submitted
Signed-off-by: Dan Murphy <dmurphy@ti.com>
show more ...
|
| 2b26201a | 19-Jul-2013 |
Phil Sutter <phil.sutter@viprinet.com> |
env_nand.c: support falling back to redundant env when writing
Without this patch, when the currently chosen environment to be written has bad blocks, saveenv fails completely. Instead, when there i
env_nand.c: support falling back to redundant env when writing
Without this patch, when the currently chosen environment to be written has bad blocks, saveenv fails completely. Instead, when there is redundant environment fall back to the other copy. Environment reading needs no adjustment, as the fallback logic for incomplete writes applies to this case as well.
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
show more ...
|
| 46aabcc4 | 11-Jul-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
cmd_nand: Do not show usage when scrub is aborted
When executing nand scrub, the user gets the prompt:
Really scrub this NAND flash? <y/N>
We do not want the annoying usage displayed when saying
cmd_nand: Do not show usage when scrub is aborted
When executing nand scrub, the user gets the prompt:
Really scrub this NAND flash? <y/N>
We do not want the annoying usage displayed when saying N here.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| 7d25cd34 | 11-Jul-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
cmd_nand: slight optimization of nand_dump function
If a non-zero value is given to only_oob argument, printing the main area is skipped.
With a little modification, we can skip the whole while loo
cmd_nand: slight optimization of nand_dump function
If a non-zero value is given to only_oob argument, printing the main area is skipped.
With a little modification, we can skip the whole while loop.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| e40520b5 | 11-Jul-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
cmd_nand: fix a memory leak in nand_dump function
If datbuf = memalign(ARCH_DMA_MINALIGN, nand->writesize); succeeds and oobbuf = memalign(ARCH_DMA_MINALIGN, nand->oobsize); fails, nand_dump funct
cmd_nand: fix a memory leak in nand_dump function
If datbuf = memalign(ARCH_DMA_MINALIGN, nand->writesize); succeeds and oobbuf = memalign(ARCH_DMA_MINALIGN, nand->oobsize); fails, nand_dump function should free databuf.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| 6612ab33 | 21-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx |
| 7cb4f1cc | 20-Jun-2013 |
Ying Zhang <b40530@freescale.com> |
spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import
The functionality env_import will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL
spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import
The functionality env_import will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL.
Signed-off-by: Ying Zhang <b40530@freescale.com> Acked-by: Tom Rini <trini@ti.com> Acked-by: York Sun <yorksun@freescale.com>
show more ...
|
| 3fb85889 | 07-Aug-2013 |
Matthias Fuchs <matthias.fuchs@esd.eu> |
ppc4xx: Remove support for PPC405CR CPUs
This patch removes support for the APM 405CR CPU. This CPU is EOL and no board uses this chip.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> |
| cb3761ea | 28-Jul-2013 |
Wolfgang Denk <wd@denx.de> |
SPDX-License-Identifier: convert BSD-3-Clause files
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini Don't remove some copyrights by accident] Signed-off-by: Tom Rini <trini@ti.com> |
| e20cc2ca | 18-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://88.191.163.10/u-boot-arm
Fixup an easy conflict over adding the clk_get prototype and USB_OTG defines for am33xx having moved.
Conflicts: arch/arm/include/asm/arch-a
Merge branch 'master' of git://88.191.163.10/u-boot-arm
Fixup an easy conflict over adding the clk_get prototype and USB_OTG defines for am33xx having moved.
Conflicts: arch/arm/include/asm/arch-am33xx/hardware.h
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 1fd1e2f6 | 17-Jul-2013 |
Simon Glass <sjg@chromium.org> |
image: Display FIT timestamp when booting
The timestamp is shown in fit_print_contents() but for some reason not in fit_image_print(). This seems to be an oversight, since it is the latter which is
image: Display FIT timestamp when booting
The timestamp is shown in fit_print_contents() but for some reason not in fit_image_print(). This seems to be an oversight, since it is the latter which is used by bootm.
Add timestamp printing in this case.
(There is code duplication in these two function, for looking at in a future patch).
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| bd4a3997 | 04-Aug-2013 |
Paul B. Henson <henson@acm.org> |
bootm: fix conditional controlling call to fixup_silent_linux
This function is only defined if CONFIG_SILENT_CONSOLE is set and CONFIG_SILENT_U_BOOT_ONLY is not set, the call to it should be based o
bootm: fix conditional controlling call to fixup_silent_linux
This function is only defined if CONFIG_SILENT_CONSOLE is set and CONFIG_SILENT_U_BOOT_ONLY is not set, the call to it should be based on the same conditions.
Signed-off-by: Paul B. Henson <henson@acm.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|