History log of /rk3399_rockchip-uboot/common/ (Results 2301 – 2325 of 5256)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7793ac9623-Jul-2014 Simon Glass <sjg@chromium.org>

console: Remove vprintf() optimisation for sandbox

If the console is not present, we try to reduce overhead by stopping any
output in vprintf(), before it gets to putc(). This is of dubious merit
in

console: Remove vprintf() optimisation for sandbox

If the console is not present, we try to reduce overhead by stopping any
output in vprintf(), before it gets to putc(). This is of dubious merit
in general, but in the case of sandbox it is incorrect since we have a
fallback console which reports errors very early in U-Boot. If this is
defeated U-Boot can hang or exit with no indication of what is wrong.

Remove the optimisation for sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

d97143a623-Jul-2014 Simon Glass <sjg@chromium.org>

stdio: Provide functions to add/remove devices using stdio_dev

The current functions for adding and removing devices require a device name.
This is not convenient for driver model, which wants to st

stdio: Provide functions to add/remove devices using stdio_dev

The current functions for adding and removing devices require a device name.
This is not convenient for driver model, which wants to store a pointer to
the relevant device. Add new functions which provide this feature and adjust
the old ones to call these.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

ab7cd62723-Jul-2014 Simon Glass <sjg@chromium.org>

dm: Support driver model prior to relocation

Initialise devices marked 'pre-reloc' and make them available prior to
relocation. Note that this requires pre-reloc malloc() to be available.

Signed-of

dm: Support driver model prior to relocation

Initialise devices marked 'pre-reloc' and make them available prior to
relocation. Note that this requires pre-reloc malloc() to be available.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

00606d7e23-Jul-2014 Simon Glass <sjg@chromium.org>

dm: Allow drivers to be marked 'before relocation'

Driver model currently only operates after relocation is complete. In this
state U-Boot typically has a small amount of memory available. In adding

dm: Allow drivers to be marked 'before relocation'

Driver model currently only operates after relocation is complete. In this
state U-Boot typically has a small amount of memory available. In adding
support for driver model prior to relocation we must try to use as little
memory as possible.

In addition, on some machines the memory has not be inited and/or the CPU
is not running at full speed or the data cache is off. These can reduce
execution performance, so the less initialisation that is done before
relocation the better.

An immediately-obvious improvement is to only initialise drivers which are
actually going to be used before relocation. On many boards the only such
driver is a serial UART, so this provides a very large potential benefit.

Allow drivers to mark themselves as 'pre-reloc' which means that they will
be initialised prior to relocation. This can be done either with a driver
flag or with a 'dm,pre-reloc' device tree property.

To support this, the various dm scanning function now take a 'pre_reloc_only'
parameter which indicates that only drivers marked pre-reloc should be
bound.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

709ea54323-Jul-2014 Simon Glass <sjg@chromium.org>

stdio: Pass device pointer to stdio methods

At present stdio device functions do not get any clue as to which stdio
device is being acted on. Some implementations go to great lengths to work
around

stdio: Pass device pointer to stdio methods

At present stdio device functions do not get any clue as to which stdio
device is being acted on. Some implementations go to great lengths to work
around this, such as defining a whole separate set of functions for each
possible device.

For driver model we need to associate a stdio_dev with a device. It doesn't
seem possible to continue with this work-around approach.

Instead, add a stdio_dev pointer to each of the stdio member functions.

Note: The serial drivers have the same problem, but it is not strictly
necessary to fix that to get driver model running. Also, if we convert
serial over to driver model the problem will go away.

Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.

22: stdio: Pass device pointer to stdio methods
arm: (for 2/2 boards) all +244.0 bss -4.0 text +248.0
powerpc: (for 1/1 boards) all +428.0 text +428.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>

show more ...

91d0be1d23-Jul-2014 Simon Glass <sjg@chromium.org>

stdio: Remove redundant code around stdio_register() calls

There is no point in setting a structure's memory to NULL when it has
already been zeroed with memset().

Also, there is no need to create

stdio: Remove redundant code around stdio_register() calls

There is no point in setting a structure's memory to NULL when it has
already been zeroed with memset().

Also, there is no need to create a stub function for stdio to call - if the
function is NULL it will not be called.

This is a clean-up, with no change in functionality.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>

show more ...

6d7601e711-Jul-2014 Simon Glass <sjg@chromium.org>

sandbox: Always enable malloc debug

Tun on DEBUG in malloc(). This adds code space and slows things down but
for sandbox this is acceptable. We gain the ability to check for memory
leaks in tests.

sandbox: Always enable malloc debug

Tun on DEBUG in malloc(). This adds code space and slows things down but
for sandbox this is acceptable. We gain the ability to check for memory
leaks in tests.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

d59476b611-Jul-2014 Simon Glass <sjg@chromium.org>

Add a simple malloc() implementation for pre-relocation

If we are to have driver model before relocation we need to support some
way of calling memory allocation routines.

The standard malloc() is

Add a simple malloc() implementation for pre-relocation

If we are to have driver model before relocation we need to support some
way of calling memory allocation routines.

The standard malloc() is pretty complicated:

1. It uses some BSS memory for its state, and BSS is not available before
relocation

2. It supports algorithms for reducing memory fragmentation and improving
performace of free(). Before relocation we could happily just not support
free().

3. It includes about 4KB of code (Thumb 2) and 1KB of data. However since
this has been loaded anyway this is not really a problem.

The simplest way to support pre-relocation malloc() is to reserve an area
of memory and allocate it in increasing blocks as needed. This
implementation does this.

To enable it, you need to define the size of the malloc() pool as described
in the README. It will be located above the pre-relocation stack on
supported architectures.

Note that this implementation is only useful on machines which have some
memory available before dram_init() is called - this includes those that
do no DRAM init (like tegra) and those that do it in SPL (quite a few
boards). Enabling driver model preior to relocation for the rest of the
boards is left for a later exercise.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

d93041a411-Jul-2014 Simon Glass <sjg@chromium.org>

Remove form-feeds from dlmalloc.c

These don't really serve any purpose in the modern age. On the other hand
they show up as annoying control characters in my editor, which then happily
removes them.

Remove form-feeds from dlmalloc.c

These don't really serve any purpose in the modern age. On the other hand
they show up as annoying control characters in my editor, which then happily
removes them.

I believe we can drop these characters from the file.

Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

2c997e7a21-Jul-2014 Ian Campbell <ijc@hellion.org.uk>

board_r: run scsi init() on ARM too

This has been disabled for ARM in initr_scsi since that function was
introduced. However it works fine for me on Cubieboard and Cubietruck (with the
upcoming AHCI

board_r: run scsi init() on ARM too

This has been disabled for ARM in initr_scsi since that function was
introduced. However it works fine for me on Cubieboard and Cubietruck (with the
upcoming AHCI glue patch).

I also tested on two random ARM platforms which seem to define CONFIG_CMD_SCSI:
- highbank worked fine (on midway hardware)
- omap5_uevm built OK and I confirmed using objdump that things were as
expected (i.e. the default weak scsi_init nop was used).

While there remove the mismatched comment from the #endif (omitting the comment
seems to be the prevailing style in this file).

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

ecd1446f14-Jul-2014 Alexander Holler <holler@ahsoftware.de>

Add option -r to env import to allow import of text files with CRLF as line endings

When this option is enabled, CRLF is treated like LF when importing environments
from text files, which means CRs

Add option -r to env import to allow import of text files with CRLF as line endings

When this option is enabled, CRLF is treated like LF when importing environments
from text files, which means CRs ('\r') in front of LFs ('\n') are just ignored.

Drawback of enabling this option is that (maybe exported) variables which have
a trailing CR in their content will get imported without that CR. But this
drawback is very unlikely and the big advantage of letting Windows user create
a *working* uEnv.txt too is likely more welcome.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>

show more ...

288afdc912-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: cmd_ide: use __weak and add prototypes

clang chokes about the concept of having an alias to an
always_inlined function. gcc likely just ignores the always
inlined since binary sizes are equa

common: cmd_ide: use __weak and add prototypes

clang chokes about the concept of having an alias to an
always_inlined function. gcc likely just ignores the always
inlined since binary sizes are equal before and after this
patch. Convert the aliases to weak functions and provide
missing prototypes.

cc: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

show more ...

2bb8eb8e12-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: cmd_ide: remove PIO mode

Since no board defines CONFIG_TUNE_PIO this is just dead
code, so remove it.

cc: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Jeroen Hofstee <jeroen@mysp

common: cmd_ide: remove PIO mode

Since no board defines CONFIG_TUNE_PIO this is just dead
code, so remove it.

cc: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

show more ...

c13bb16710-Jul-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

spl: nand: read only in the size of image_header on the first access

For the same reason as in commit 50c8d66d, all the remaining
CONFIG_SYS_NAND_PAGE_SIZE in common/spl/spl_nand.c can be replaced
w

spl: nand: read only in the size of image_header on the first access

For the same reason as in commit 50c8d66d, all the remaining
CONFIG_SYS_NAND_PAGE_SIZE in common/spl/spl_nand.c can be replaced
with sizeof(*header).

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>

show more ...

6b36746709-Jul-2014 Pavel Machek <pavel@denx.de>

Fix help text of ext2load and fatload.

Fix help text of ext2load and fatload to match code in fs/fs.c

Signed-off-by: Pavel Machek <pavel@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>

c68112f313-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: cmd_mii: fix printf format warning

The and operator implicitly upcasts the value to
int, hence the format should expect an int type
as well. (and make checkpatch happy)

Signed-off-by: Jeroe

common: cmd_mii: fix printf format warning

The and operator implicitly upcasts the value to
int, hence the format should expect an int type
as well. (and make checkpatch happy)

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

show more ...

39e1230e13-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

autoboot: add its own header

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

0b7df65612-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: env_common: make env_get_char_spec __weak

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

82c3a4c410-Jul-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: bootm_os: make arch_preboot_os __weak

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

3422299d26-Jun-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: main.c: make show_boot_progress __weak

This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Ack

common: main.c: make show_boot_progress __weak

This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

cc64b92c26-Jun-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common:splash: use __weak

This not only looks a bit better it also prevents a
warning with W=1 (no previous prototype).

cc: agust@denx.de
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

c5d4001a23-Jun-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: board_f: cosmetic use __weak for leds

First of all this looks a lot better, but it also
prevents a gcc warning (W=1), that the weak function
has no previous prototype.

cc: Simon Glass <sjg@

common: board_f: cosmetic use __weak for leds

First of all this looks a lot better, but it also
prevents a gcc warning (W=1), that the weak function
has no previous prototype.

cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

0e350f8122-Jun-2014 Jeroen Hofstee <jeroen@myspectrum.nl>

common: commands: make commands static

Since most commands are not public, make them static. This
prevents warnings that no common prototype is available.

Signed-off-by: Jeroen Hofstee <jeroen@mysp

common: commands: make commands static

Since most commands are not public, make them static. This
prevents warnings that no common prototype is available.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

show more ...


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/mx6/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/mx6/soc.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/mx6dl_pins.h
/rk3399_rockchip-uboot/arch/blackfin/include/asm/config-pre.h
/rk3399_rockchip-uboot/arch/blackfin/lib/cache.c
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf523x/cpu_init.c
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5445x/speed.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc824x/start.S
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/cpu.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/cpu_init.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/fec.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/scc.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/serial.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/video.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/ppc4xx/speed.c
/rk3399_rockchip-uboot/board/gdsys/405ep/iocon.c
/rk3399_rockchip-uboot/board/gdsys/common/Makefile
/rk3399_rockchip-uboot/board/gdsys/common/dp501.c
/rk3399_rockchip-uboot/board/gdsys/common/osd.c
/rk3399_rockchip-uboot/board/gdsys/p1022/controlcenterd-id.c
/rk3399_rockchip-uboot/board/gdsys/p1022/controlcenterd.c
/rk3399_rockchip-uboot/board/gdsys/p1022/sdhc_boot.c
/rk3399_rockchip-uboot/board/mpl/vcma9/lowlevel_init.S
/rk3399_rockchip-uboot/board/ti/dra7xx/evm.c
/rk3399_rockchip-uboot/boards.cfg
cmd_bdinfo.c
cmd_cache.c
cmd_eeprom.c
cmd_ext2.c
cmd_fs.c
cmd_i2c.c
cmd_part.c
cmd_pxe.c
cmd_source.c
cmd_ubi.c
cmd_ubifs.c
/rk3399_rockchip-uboot/doc/README.generic-board
/rk3399_rockchip-uboot/doc/README.scrapyard
/rk3399_rockchip-uboot/doc/git-mailrc
/rk3399_rockchip-uboot/drivers/i2c/Makefile
/rk3399_rockchip-uboot/drivers/i2c/ihs_i2c.c
/rk3399_rockchip-uboot/drivers/mtd/cfi_flash.c
/rk3399_rockchip-uboot/drivers/pcmcia/Makefile
/rk3399_rockchip-uboot/drivers/pcmcia/mpc8xx_pcmcia.c
/rk3399_rockchip-uboot/drivers/tpm/tpm.c
/rk3399_rockchip-uboot/drivers/usb/host/xhci-omap.c
/rk3399_rockchip-uboot/drivers/usb/phy/omap_usb_phy.c
/rk3399_rockchip-uboot/drivers/video/mpc8xx_lcd.c
/rk3399_rockchip-uboot/drivers/watchdog/bfin_wdt.c
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/commproc.h
/rk3399_rockchip-uboot/include/configs/controlcenterd.h
/rk3399_rockchip-uboot/include/configs/dlvision-10g.h
/rk3399_rockchip-uboot/include/configs/io.h
/rk3399_rockchip-uboot/include/configs/iocon.h
/rk3399_rockchip-uboot/include/configs/m28evk.h
/rk3399_rockchip-uboot/include/configs/m53evk.h
/rk3399_rockchip-uboot/include/configs/neo.h
/rk3399_rockchip-uboot/include/configs/omap3_beagle.h
/rk3399_rockchip-uboot/include/configs/socfpga_cyclone5.h
/rk3399_rockchip-uboot/include/configs/ti_omap5_common.h
/rk3399_rockchip-uboot/include/gdsys_fpga.h
/rk3399_rockchip-uboot/include/image.h
/rk3399_rockchip-uboot/include/lcd.h
/rk3399_rockchip-uboot/include/pcmcia.h
/rk3399_rockchip-uboot/include/status_led.h
/rk3399_rockchip-uboot/lib/div64.c
/rk3399_rockchip-uboot/mkconfig
/rk3399_rockchip-uboot/post/cpu/mpc8xx/ether.c
/rk3399_rockchip-uboot/post/cpu/mpc8xx/uart.c
/rk3399_rockchip-uboot/tools/buildman/toolchain.py
/rk3399_rockchip-uboot/tools/patman/gitutil.py
be354c1a24-Jun-2014 Wu, Josh <Josh.wu@atmel.com>

env_fat: use get_device_and_partition() during env save and load

Use get_device_and_partition() is better since:
1. It will call the device initialize function internally. So we can
remove the mmc i

env_fat: use get_device_and_partition() during env save and load

Use get_device_and_partition() is better since:
1. It will call the device initialize function internally. So we can
remove the mmc intialization code to save many lines.
2. It is used by fatls/fatload/fatwrite. So saveenv & load env should
use it too.
3. It can parse the "D:P", "D", "D:", "D:auto" string to get correct
device and partition information by run-time.

Also we remove the FAT_ENV_DEVICE and FAT_ENV_PART. We use a string:
FAT_ENV_DEVICE_AND_PART.
For at91sam9m10g45ek, it is "0". That means use device 0 and if:
a)device 0 has no partition table, use the whole device as a FAT file
system.
b)device 0 has partittion table, use the partition #1.

Refer to the commit: 10a37fd7a4 for details of device & partition string.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

show more ...


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra-common/spl.c
/rk3399_rockchip-uboot/arch/arm/cpu/arm920t/ep93xx/lowlevel_init.S
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/ddr.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/emif4.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/at91/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/cache_v7.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/dmc_common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/dmc_init_ddr3.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/exynos5_setup.h
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/lowlevel_init.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/keystone/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/mx6/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/mx6/ddr.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/mx6/hab.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/mem-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap3/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/socfpga/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/socfpga/misc.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/socfpga/scan_manager.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/socfpga/spl.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra20/display.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/u-boot.lds
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/cache_v8.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/README
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/cpu.h
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/lowlevel.S
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/speed.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-lsch3/speed.h
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/transition.S
/rk3399_rockchip-uboot/arch/arm/dts/Makefile
/rk3399_rockchip-uboot/arch/arm/dts/exynos5420-peach-pit.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos5420-smdk5420.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos54xx.dtsi
/rk3399_rockchip-uboot/arch/arm/imx-common/Makefile
/rk3399_rockchip-uboot/arch/arm/imx-common/cpu.c
/rk3399_rockchip-uboot/arch/arm/imx-common/iomux-v3.c
/rk3399_rockchip-uboot/arch/arm/imx-common/sata.c
/rk3399_rockchip-uboot/arch/arm/imx-common/spl.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/omap.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-davinci/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-ep93xx/ep93xx.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/dmc.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/power.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-lsch3/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-lsch3/config.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-lsch3/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-lsch3/immap_lsch3.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-fsl-lsch3/imx-regs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-keystone/hardware-k2hk.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-keystone/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-keystone/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/hab.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/imx-regs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/iomux.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/mx6-ddr.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-socfpga/scan_manager.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-socfpga/socfpga_base_addrs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/tegra_i2c.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tnetv107x/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-vf610/crm_regs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-vf610/imx-regs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-vf610/iomux-vf610.h
/rk3399_rockchip-uboot/arch/arm/include/asm/armv8/mmu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/cache.h
/rk3399_rockchip-uboot/arch/arm/include/asm/config.h
/rk3399_rockchip-uboot/arch/arm/include/asm/emif.h
/rk3399_rockchip-uboot/arch/arm/include/asm/imx-common/iomux-v3.h
/rk3399_rockchip-uboot/arch/arm/include/asm/io.h
/rk3399_rockchip-uboot/arch/arm/include/asm/proc-armv/system.h
/rk3399_rockchip-uboot/arch/arm/include/asm/semihosting.h
/rk3399_rockchip-uboot/arch/arm/include/asm/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/system.h
/rk3399_rockchip-uboot/arch/arm/include/asm/ti-common/davinci_nand.h
/rk3399_rockchip-uboot/arch/arm/include/asm/ti-common/ti-aemif.h
/rk3399_rockchip-uboot/arch/arm/lib/Makefile
/rk3399_rockchip-uboot/arch/arm/lib/cache-cp15.c
/rk3399_rockchip-uboot/arch/arm/lib/cache.c
/rk3399_rockchip-uboot/arch/arm/lib/semihosting.c
/rk3399_rockchip-uboot/arch/arm/lib/vectors.S
/rk3399_rockchip-uboot/arch/avr32/cpu/cache.c
/rk3399_rockchip-uboot/arch/avr32/include/asm/arch-at32ap700x/cacheflush.h
/rk3399_rockchip-uboot/arch/avr32/include/asm/dma-mapping.h
/rk3399_rockchip-uboot/arch/avr32/lib/board.c
/rk3399_rockchip-uboot/arch/sandbox/include/asm/sound.h
/rk3399_rockchip-uboot/board/Barix/ipam390/ipam390.c
/rk3399_rockchip-uboot/board/ait/cam_enc_4xx/cam_enc_4xx.c
/rk3399_rockchip-uboot/board/altera/socfpga/iocsr_config.c
/rk3399_rockchip-uboot/board/altera/socfpga/iocsr_config.h
/rk3399_rockchip-uboot/board/altera/socfpga/socfpga_cyclone5.c
/rk3399_rockchip-uboot/board/armltd/vexpress64/vexpress64.c
/rk3399_rockchip-uboot/board/cirrus/edb93xx/Makefile
/rk3399_rockchip-uboot/board/cirrus/edb93xx/edb93xx.c
/rk3399_rockchip-uboot/board/cirrus/edb93xx/u-boot.lds
/rk3399_rockchip-uboot/board/davinci/da8xxevm/da830evm.c
/rk3399_rockchip-uboot/board/davinci/da8xxevm/da850evm.c
/rk3399_rockchip-uboot/board/davinci/dm355evm/dm355evm.c
/rk3399_rockchip-uboot/board/davinci/dm355leopard/dm355leopard.c
/rk3399_rockchip-uboot/board/davinci/dm365evm/dm365evm.c
/rk3399_rockchip-uboot/board/davinci/dm6467evm/dm6467evm.c
/rk3399_rockchip-uboot/board/davinci/ea20/ea20.c
/rk3399_rockchip-uboot/board/davinci/sonata/sonata.c
/rk3399_rockchip-uboot/board/denx/m53evk/m53evk.c
/rk3399_rockchip-uboot/board/enbw/enbw_cmc/enbw_cmc.c
/rk3399_rockchip-uboot/board/freescale/ls2085a/Makefile
/rk3399_rockchip-uboot/board/freescale/ls2085a/README
/rk3399_rockchip-uboot/board/freescale/ls2085a/ddr.c
/rk3399_rockchip-uboot/board/freescale/ls2085a/ddr.h
/rk3399_rockchip-uboot/board/freescale/ls2085a/ls2085a.c
/rk3399_rockchip-uboot/board/freescale/mx28evk/README
/rk3399_rockchip-uboot/board/freescale/mx6qsabreauto/mx6dl.cfg
/rk3399_rockchip-uboot/board/freescale/mx6sabresd/mx6sabresd.c
/rk3399_rockchip-uboot/board/freescale/vf610twr/vf610twr.c
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/Makefile
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/README
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/eeprom.c
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/gw_ventana.c
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/gw_ventana.cfg
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/gw_ventana_spl.c
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/ventana_eeprom.h
/rk3399_rockchip-uboot/board/omicron/calimain/calimain.c
/rk3399_rockchip-uboot/board/overo/overo.c
/rk3399_rockchip-uboot/board/samsung/trats/trats.c
/rk3399_rockchip-uboot/board/samsung/trats2/trats2.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.h
/rk3399_rockchip-uboot/board/ti/am43xx/mux.c
/rk3399_rockchip-uboot/board/ti/dra7xx/mux_data.h
/rk3399_rockchip-uboot/board/ti/k2hk_evm/board.c
/rk3399_rockchip-uboot/board/ti/tnetv107xevm/sdb_board.c
/rk3399_rockchip-uboot/boards.cfg
env_fat.c
/rk3399_rockchip-uboot/config.mk
/rk3399_rockchip-uboot/doc/README.falcon
/rk3399_rockchip-uboot/doc/README.mxs
/rk3399_rockchip-uboot/doc/README.semihosting
/rk3399_rockchip-uboot/drivers/Makefile
/rk3399_rockchip-uboot/drivers/block/dwc_ahsata.c
/rk3399_rockchip-uboot/drivers/gpio/spear_gpio.c
/rk3399_rockchip-uboot/drivers/i2c/mxc_i2c.c
/rk3399_rockchip-uboot/drivers/i2c/tegra_i2c.c
/rk3399_rockchip-uboot/drivers/memory/Makefile
/rk3399_rockchip-uboot/drivers/memory/ti-aemif.c
/rk3399_rockchip-uboot/drivers/mtd/nand/Makefile
/rk3399_rockchip-uboot/drivers/mtd/nand/davinci_nand.c
/rk3399_rockchip-uboot/drivers/mtd/nand/mxs_nand_spl.c
/rk3399_rockchip-uboot/drivers/net/Makefile
/rk3399_rockchip-uboot/drivers/net/fsl_mc/Makefile
/rk3399_rockchip-uboot/drivers/net/fsl_mc/mc.c
/rk3399_rockchip-uboot/drivers/net/macb.c
/rk3399_rockchip-uboot/drivers/power/pmic/pmic_max77686.c
/rk3399_rockchip-uboot/drivers/serial/serial_mxc.c
/rk3399_rockchip-uboot/drivers/sound/sandbox.c
/rk3399_rockchip-uboot/drivers/spi/Makefile
/rk3399_rockchip-uboot/drivers/spi/davinci_spi.c
/rk3399_rockchip-uboot/drivers/spi/ep93xx_spi.c
/rk3399_rockchip-uboot/drivers/spi/exynos_spi.c
/rk3399_rockchip-uboot/drivers/spi/fsl_qspi.c
/rk3399_rockchip-uboot/drivers/spi/fsl_qspi.h
/rk3399_rockchip-uboot/drivers/usb/gadget/atmel_usba_udc.c
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.c
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.h
/rk3399_rockchip-uboot/drivers/usb/host/Makefile
/rk3399_rockchip-uboot/drivers/usb/host/ohci-ep93xx.c
/rk3399_rockchip-uboot/drivers/video/atmel_hlcdfb.c
/rk3399_rockchip-uboot/drivers/watchdog/Makefile
/rk3399_rockchip-uboot/drivers/watchdog/designware_wdt.c
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/arndale.h
/rk3399_rockchip-uboot/include/configs/at91sam9m10g45ek.h
/rk3399_rockchip-uboot/include/configs/bcm28155_ap.h
/rk3399_rockchip-uboot/include/configs/calimain.h
/rk3399_rockchip-uboot/include/configs/davinci_dm6467evm.h
/rk3399_rockchip-uboot/include/configs/edb93xx.h
/rk3399_rockchip-uboot/include/configs/embestmx6boards.h
/rk3399_rockchip-uboot/include/configs/ethernut5.h
/rk3399_rockchip-uboot/include/configs/exynos5-dt.h
/rk3399_rockchip-uboot/include/configs/exynos5250-dt.h
/rk3399_rockchip-uboot/include/configs/exynos5420.h
/rk3399_rockchip-uboot/include/configs/gw_ventana.h
/rk3399_rockchip-uboot/include/configs/h2200.h
/rk3399_rockchip-uboot/include/configs/imx6_spl.h
/rk3399_rockchip-uboot/include/configs/integrator-common.h
/rk3399_rockchip-uboot/include/configs/k2hk_evm.h
/rk3399_rockchip-uboot/include/configs/ls2085a_common.h
/rk3399_rockchip-uboot/include/configs/ls2085a_emu.h
/rk3399_rockchip-uboot/include/configs/ls2085a_simu.h
/rk3399_rockchip-uboot/include/configs/m53evk.h
/rk3399_rockchip-uboot/include/configs/mx28evk.h
/rk3399_rockchip-uboot/include/configs/mx6_common.h
/rk3399_rockchip-uboot/include/configs/mx6qsabreauto.h
/rk3399_rockchip-uboot/include/configs/mx6sabresd.h
/rk3399_rockchip-uboot/include/configs/omap3_overo.h
/rk3399_rockchip-uboot/include/configs/peach-pit.h
/rk3399_rockchip-uboot/include/configs/rpi_b.h
/rk3399_rockchip-uboot/include/configs/s5p_goni.h
/rk3399_rockchip-uboot/include/configs/smdk5420.h
/rk3399_rockchip-uboot/include/configs/socfpga_cyclone5.h
/rk3399_rockchip-uboot/include/configs/tegra-common-post.h
/rk3399_rockchip-uboot/include/configs/tegra-common-ums.h
/rk3399_rockchip-uboot/include/configs/ti_omap4_common.h
/rk3399_rockchip-uboot/include/configs/vexpress_aemv8a.h
/rk3399_rockchip-uboot/include/configs/vf610twr.h
/rk3399_rockchip-uboot/include/fdt_support.h
/rk3399_rockchip-uboot/include/fsl_mc.h
/rk3399_rockchip-uboot/include/power/pfuze100_pmic.h
/rk3399_rockchip-uboot/mkconfig
afb8e71c10-Jun-2014 Stephen Warren <swarren@nvidia.com>

dfu: free entities when parsing fails

When dfu_init_env_entities() fails part-way through, some entities may
have been added to dfu_list. These are only removed by dfu_free_entities().
If that funct

dfu: free entities when parsing fails

When dfu_init_env_entities() fails part-way through, some entities may
have been added to dfu_list. These are only removed by dfu_free_entities().
If that function isn't called, those stale entities will still exist the
next time dfu_init_env_entities() is called, leading to confusion. Fix
do_dfu() to ensure that dfu_free_entities() is always called, to avoid
this confusion.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>

show more ...

1...<<919293949596979899100>>...211