History log of /rk3399_rockchip-uboot/common/ (Results 2351 – 2375 of 5256)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
941944e423-May-2014 Stephen Warren <swarren@nvidia.com>

cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

The body of init_mmc_device() is now identical to that of do_mmc_rescan()
except for the error codes returned. Modify do_mmc_rescan() to simply
ca

cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

The body of init_mmc_device() is now identical to that of do_mmc_rescan()
except for the error codes returned. Modify do_mmc_rescan() to simply
call init_mmc_device() and convert the error codes, to avoid code
duplication.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>

show more ...

1ae24a5023-May-2014 Stephen Warren <swarren@nvidia.com>

cmd_mmc: add force_init parameter to init_mmc_device()

This allows callers to inject mmc->has_init = 0 between finding the
MMC device, and calling mmc_init(), which forces mmc_init() to rescan
the H

cmd_mmc: add force_init parameter to init_mmc_device()

This allows callers to inject mmc->has_init = 0 between finding the
MMC device, and calling mmc_init(), which forces mmc_init() to rescan
the HW. Future changes will use this feature.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>

show more ...

60dc58f723-May-2014 Stephen Warren <swarren@nvidia.com>

cmd_mmc: default to HW partition 0 if not specified

Currently, "mmc dev 0" does not change the selected HW partition. I
think it makes more sense if "mmc dev 0" is an alias for "mmc dev 0 0",
i.e. t

cmd_mmc: default to HW partition 0 if not specified

Currently, "mmc dev 0" does not change the selected HW partition. I
think it makes more sense if "mmc dev 0" is an alias for "mmc dev 0 0",
i.e. that HW partition 0 (main data area) is always selected by default
if the user didn't request a specific partition. Otherwise, the following
happens, which feels wrong:

Select HW partition 1 (boot0):
mmc dev 0 1

Doesn't change the HW partition, so it's still 1 (boot0):
mmc dev 0

With this patch, the second command above re-selects the main data area.

Note that some MMC devices (i.e. SD cards) don't support HW partitions.
However, this patch still works, since mmc_start_init() sets the current
partition number to 0, and mmc_select_hwpart() succeeds if the requested
partition is already selected.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>

show more ...

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

common/xyzModem.c: move empty statements to newline

To prevent a warning for clang the loop without a body
is made more clear by moving it to a line of its own.
This prevents a clang warning.

cc: s

common/xyzModem.c: move empty statements to newline

To prevent a warning for clang the loop without a body
is made more clear by moving it to a line of its own.
This prevents a clang warning.

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

show more ...

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

common/cli_hush.c: remove unnecessary double braces

Clang interpretes an if condition like "if ((a = b) == NULL)
as it tries to assign a value in a statement. Hence if you do
"if ((something)) it w

common/cli_hush.c: remove unnecessary double braces

Clang interpretes an if condition like "if ((a = b) == NULL)
as it tries to assign a value in a statement. Hence if you do
"if ((something)) it warns you that you might be confused.
Hence drop the double braces for plane if statements.

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

show more ...

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

common: hash: zero end the string instead of the pointer

if algo->digest_size is zero nothing is set in the str_output
buffer. An attempt is made to zero end the buffer, but the
pointer to the buffe

common: hash: zero end the string instead of the pointer

if algo->digest_size is zero nothing is set in the str_output
buffer. An attempt is made to zero end the buffer, but the
pointer to the buffer is set to zero instead. I am unaware if
it causes any actual problems, but solves the following warning:

common/hash.c:217:13: warning: expression which evaluates to zero treated as
a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
str_ptr = '\0';
^~~~

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

show more ...

52715f8905-Jun-2014 Thomas Betker <thomas.betker@freenet.de>

Use run_command_repeatable()

Replace run_command() by run_command_repeatable() in places which
depend on the return code to indicate repeatability.

Signed-off-by: Thomas Betker <thomas.betker@rohde

Use run_command_repeatable()

Replace run_command() by run_command_repeatable() in places which
depend on the return code to indicate repeatability.

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>

show more ...

1d43bfd205-Jun-2014 Thomas Betker <thomas.betker@freenet.de>

Add run_command_repeatable()

run_command() returns 0 on success and 1 on error. However, there are some
invocations which expect 0 or 1 for success (not repeatable or repeatable)
and -1 for error; a

Add run_command_repeatable()

run_command() returns 0 on success and 1 on error. However, there are some
invocations which expect 0 or 1 for success (not repeatable or repeatable)
and -1 for error; add run_command_repeatable() for this purpose.

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>

show more ...

73671dad05-Jun-2014 Thomas Betker <thomas.betker@freenet.de>

Check run_command() return code properly

run_command() returns 0 for success, 1 for failure. Fix places which
assume that failure is indicated by a negative return code.

Signed-off-by: Thomas Betke

Check run_command() return code properly

run_command() returns 0 for success, 1 for failure. Fix places which
assume that failure is indicated by a negative return code.

Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Roese <sr@denx.de>

show more ...

4f427a4203-Jun-2014 Simon Glass <sjg@chromium.org>

fdt: Update functions which write to an FDT to return -ENOSPC

When writing values into an FDT it is possible that there will be
insufficient space. If the caller gets a useful error then it can
pote

fdt: Update functions which write to an FDT to return -ENOSPC

When writing values into an FDT it is possible that there will be
insufficient space. If the caller gets a useful error then it can
potentially deal with the situation.

Adjust these functions to return -ENOSPC when the FDT is full.

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

show more ...

31890ae203-Jun-2014 Simon Glass <sjg@chromium.org>

hash: Export the function to show a hash

This function is useful for displaying a hash value, so export it.

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

61e76f5311-Jun-2014 Tom Rini <trini@ti.com>

Merge branch 'master' of git://git.denx.de/u-boot-usb


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/clock_am43xx.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/emif4.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/lowlevel_init.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/pinmux.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/power.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/keystone/init.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap3/mem.c
/rk3399_rockchip-uboot/arch/arm/dts/exynos4.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/exynos4412-trats2.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos5.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/exynos5250-snow.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra124-jetson-tk1.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra124-venice2.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra30-beaver.dts
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/clk.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/power.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-omap3/mem.h
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/cmd_errata.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/cpu_init.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/fdt.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/t1040_ids.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/t2080_serdes.c
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/t4240_serdes.c
/rk3399_rockchip-uboot/arch/powerpc/include/asm/config_mpc85xx.h
/rk3399_rockchip-uboot/arch/powerpc/include/asm/fsl_law.h
/rk3399_rockchip-uboot/arch/powerpc/include/asm/fsl_liodn.h
/rk3399_rockchip-uboot/arch/powerpc/include/asm/immap_85xx.h
/rk3399_rockchip-uboot/board/BuR/tseries/board.c
/rk3399_rockchip-uboot/board/BuR/tseries/mux.c
/rk3399_rockchip-uboot/board/compulab/cm_t35/cm_t35.c
/rk3399_rockchip-uboot/board/freescale/b4860qds/b4860qds.c
/rk3399_rockchip-uboot/board/freescale/t208xqds/ddr.h
/rk3399_rockchip-uboot/board/freescale/t208xqds/eth_t208xqds.c
/rk3399_rockchip-uboot/board/freescale/t208xqds/t2080_rcw.cfg
/rk3399_rockchip-uboot/board/freescale/t208xqds/t208xqds.c
/rk3399_rockchip-uboot/board/freescale/t208xrdb/t2080_rcw.cfg
/rk3399_rockchip-uboot/board/freescale/t4qds/eth.c
/rk3399_rockchip-uboot/board/freescale/t4qds/t4240qds.c
/rk3399_rockchip-uboot/board/freescale/t4qds/t4_rcw.cfg
/rk3399_rockchip-uboot/board/freescale/t4rdb/eth.c
/rk3399_rockchip-uboot/board/freescale/t4rdb/t4_rcw.cfg
/rk3399_rockchip-uboot/board/samsung/common/board.c
/rk3399_rockchip-uboot/board/samsung/goni/goni.c
/rk3399_rockchip-uboot/board/samsung/smdk5250/Makefile
/rk3399_rockchip-uboot/board/samsung/smdk5250/exynos5-dt.c
/rk3399_rockchip-uboot/board/samsung/smdk5420/smdk5420.c
/rk3399_rockchip-uboot/board/ti/am43xx/Makefile
/rk3399_rockchip-uboot/board/ti/am43xx/board.c
/rk3399_rockchip-uboot/boards.cfg
usb_hub.c
/rk3399_rockchip-uboot/doc/README.nand
/rk3399_rockchip-uboot/doc/device-tree-bindings/exynos/dwmmc.txt
/rk3399_rockchip-uboot/doc/device-tree-bindings/power/tps65090.txt
/rk3399_rockchip-uboot/doc/device-tree-bindings/regulator/tps65090.txt
/rk3399_rockchip-uboot/drivers/ddr/fsl/ctrl_regs.c
/rk3399_rockchip-uboot/drivers/ddr/fsl/interactive.c
/rk3399_rockchip-uboot/drivers/dfu/dfu.c
/rk3399_rockchip-uboot/drivers/mmc/dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/exynos_dw_mmc.c
/rk3399_rockchip-uboot/drivers/mmc/mmc.c
/rk3399_rockchip-uboot/drivers/mmc/s5p_sdhci.c
/rk3399_rockchip-uboot/drivers/mtd/nand/am335x_spl_bch.c
/rk3399_rockchip-uboot/drivers/mtd/nand/atmel_nand.c
/rk3399_rockchip-uboot/drivers/mtd/nand/nand_base.c
/rk3399_rockchip-uboot/drivers/mtd/nand/nand_spl_simple.c
/rk3399_rockchip-uboot/drivers/mtd/nand/omap_elm.c
/rk3399_rockchip-uboot/drivers/mtd/nand/omap_gpmc.c
/rk3399_rockchip-uboot/drivers/net/sh_eth.c
/rk3399_rockchip-uboot/drivers/net/sh_eth.h
/rk3399_rockchip-uboot/drivers/power/battery/bat_trats.c
/rk3399_rockchip-uboot/drivers/power/battery/bat_trats2.c
/rk3399_rockchip-uboot/drivers/power/mfd/pmic_max77693.c
/rk3399_rockchip-uboot/drivers/power/pmic/Makefile
/rk3399_rockchip-uboot/drivers/power/pmic/pmic_max8997.c
/rk3399_rockchip-uboot/drivers/power/pmic/pmic_tps65090.c
/rk3399_rockchip-uboot/drivers/power/pmic/pmic_tps65218.c
/rk3399_rockchip-uboot/drivers/power/power_fsl.c
/rk3399_rockchip-uboot/drivers/power/power_i2c.c
/rk3399_rockchip-uboot/drivers/spi/fsl_espi.c
/rk3399_rockchip-uboot/drivers/spi/ti_qspi.c
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.c
/rk3399_rockchip-uboot/drivers/usb/gadget/ci_udc.h
/rk3399_rockchip-uboot/include/configs/T1040QDS.h
/rk3399_rockchip-uboot/include/configs/T104xRDB.h
/rk3399_rockchip-uboot/include/configs/T208xQDS.h
/rk3399_rockchip-uboot/include/configs/am3517_crane.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/arndale.h
/rk3399_rockchip-uboot/include/configs/beaver.h
/rk3399_rockchip-uboot/include/configs/bur_am335x_common.h
/rk3399_rockchip-uboot/include/configs/cm_t335.h
/rk3399_rockchip-uboot/include/configs/cm_t35.h
/rk3399_rockchip-uboot/include/configs/devkit8000.h
/rk3399_rockchip-uboot/include/configs/dig297.h
/rk3399_rockchip-uboot/include/configs/exynos4-dt.h
/rk3399_rockchip-uboot/include/configs/exynos5-dt.h
/rk3399_rockchip-uboot/include/configs/exynos5250-dt.h
/rk3399_rockchip-uboot/include/configs/gw_ventana.h
/rk3399_rockchip-uboot/include/configs/jetson-tk1.h
/rk3399_rockchip-uboot/include/configs/k2hk_evm.h
/rk3399_rockchip-uboot/include/configs/mx25pdk.h
/rk3399_rockchip-uboot/include/configs/mx35pdk.h
/rk3399_rockchip-uboot/include/configs/mx53evk.h
/rk3399_rockchip-uboot/include/configs/mx53loco.h
/rk3399_rockchip-uboot/include/configs/omap3_beagle.h
/rk3399_rockchip-uboot/include/configs/omap3_evm_common.h
/rk3399_rockchip-uboot/include/configs/omap3_igep00x0.h
/rk3399_rockchip-uboot/include/configs/omap3_logic.h
/rk3399_rockchip-uboot/include/configs/omap3_overo.h
/rk3399_rockchip-uboot/include/configs/omap3_zoom1.h
/rk3399_rockchip-uboot/include/configs/pengwyn.h
/rk3399_rockchip-uboot/include/configs/s5p_goni.h
/rk3399_rockchip-uboot/include/configs/tam3517-common.h
/rk3399_rockchip-uboot/include/configs/tao3530.h
/rk3399_rockchip-uboot/include/configs/tegra-common-ums.h
/rk3399_rockchip-uboot/include/configs/ti_am335x_common.h
/rk3399_rockchip-uboot/include/configs/ti_armv7_common.h
/rk3399_rockchip-uboot/include/configs/tseries.h
/rk3399_rockchip-uboot/include/configs/venice2.h
/rk3399_rockchip-uboot/include/configs/woodburn_common.h
/rk3399_rockchip-uboot/include/dwmmc.h
/rk3399_rockchip-uboot/include/fdtdec.h
/rk3399_rockchip-uboot/include/initcall.h
/rk3399_rockchip-uboot/include/linux/mtd/nand.h
/rk3399_rockchip-uboot/include/linux/mtd/omap_elm.h
/rk3399_rockchip-uboot/include/linux/mtd/omap_gpmc.h
/rk3399_rockchip-uboot/include/mmc.h
/rk3399_rockchip-uboot/include/power/max77693_pmic.h
/rk3399_rockchip-uboot/include/power/max8997_pmic.h
/rk3399_rockchip-uboot/include/power/pmic.h
/rk3399_rockchip-uboot/include/power/tps65090_pmic.h
/rk3399_rockchip-uboot/include/power/tps65218.h
/rk3399_rockchip-uboot/lib/fdtdec.c
/rk3399_rockchip-uboot/lib/initcall.c
31e997f904-Jun-2014 Wu, Josh <Josh.wu@atmel.com>

fs: fatwrite: use map_sysmem before use file_fat_write

When the map_sysmem, then the fatwrite command can support sandbox.
Following command will show how to use it:
=> sb bind 0 sd.img
=> fatls

fs: fatwrite: use map_sysmem before use file_fat_write

When the map_sysmem, then the fatwrite command can support sandbox.
Following command will show how to use it:
=> sb bind 0 sd.img
=> fatls host 0
=> fatwrite host 0 $memaddr filename $filesize

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

66948c2504-Jun-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

nand_spl: remove nand_spl infrastructure

Remove the common infrastructure of nand_spl and
clean-up the code inside ifdef(CONFIG_NAND_U_BOOT)..endif.

Signed-off-by: Masahiro Yamada <yamada.m@jp.pana

nand_spl: remove nand_spl infrastructure

Remove the common infrastructure of nand_spl and
clean-up the code inside ifdef(CONFIG_NAND_U_BOOT)..endif.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

show more ...

21d29f7f28-May-2014 Heiko Schocher <hs@denx.de>

bootm: make use of legacy image format configurable

make the use of legacy image format configurable through
the config define CONFIG_IMAGE_FORMAT_LEGACY.

When relying on signed FIT images with req

bootm: make use of legacy image format configurable

make the use of legacy image format configurable through
the config define CONFIG_IMAGE_FORMAT_LEGACY.

When relying on signed FIT images with required signature check
the legacy image format should be disabled. Therefore introduce
this new define and enable legacy image format if CONFIG_FIT_SIGNATURE
is not set. If CONFIG_FIT_SIGNATURE is set disable per default
the legacy image format.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Lars Steubesand <lars.steubesand@philips.com>
Cc: Mike Pearce <mike@kaew.be>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Michal Simek <monstr@monstr.eu>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

ed6a5d4f26-May-2014 Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

env_eeprom: Assign default environment during board_init_f

Assign default environment and set env valid during board_init_f
before relocation as the actual environment will be read from eeprom
later

env_eeprom: Assign default environment during board_init_f

Assign default environment and set env valid during board_init_f
before relocation as the actual environment will be read from eeprom
later.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Acked-by: Michal Simek <monstr@monstr.eu>

show more ...

4eb580b730-May-2014 Simon Glass <sjg@chromium.org>

Correct return code from builtin_run_command_list()

The return code is not consistent with cli_simple_run_command_list(). For the
last command in a sequence, the return code is actually inverted.

F

Correct return code from builtin_run_command_list()

The return code is not consistent with cli_simple_run_command_list(). For the
last command in a sequence, the return code is actually inverted.

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

show more ...

587e1d4330-May-2014 Simon Glass <sjg@chromium.org>

Fix hush to give the correct return code for a simple command

When a simple command like 'false' is provided, hush should return the
result of that command. However, hush only does this if the
FLAG_

Fix hush to give the correct return code for a simple command

When a simple command like 'false' is provided, hush should return the
result of that command. However, hush only does this if the
FLAG_EXIT_FROM_LOOP flag is provided. Without this flag, hush will
happily execute the empty string command immediate after 'false' and
then return a success code.

This behaviour does not seem very useful, and requiring the flag also
seems wrong, since it means that hush will execute only the first command
in a sequence.

Add a check for empty string and fall out of the loop in that case. That
at least fixes the simple command case. This is a change in behaviour but
it is unlikely that the old behaviour would be considered correct in any
case.

Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Simon Glass <sjg@chromium.org>

show more ...

c9bcb6f130-May-2014 Simon Glass <sjg@chromium.org>

Fix itest mask overflow

The mask value used in itest overflows and therefore it can return an
incorrect result for something like 'itest 0 == 1'. Fix it.

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

Fix itest mask overflow

The mask value used in itest overflows and therefore it can return an
incorrect result for something like 'itest 0 == 1'. Fix it.

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

show more ...

77b83e6d19-May-2014 Stephen Warren <swarren@nvidia.com>

usb: hub: remove CONFIG_USB_HUB_MIN_POWER_ON_DELAY

Now that we wait the correct specification-mandated time at the end of
usb_hub_power_on(), I suspect that CONFIG_USB_HUB_MIN_POWER_ON_DELAY has
no

usb: hub: remove CONFIG_USB_HUB_MIN_POWER_ON_DELAY

Now that we wait the correct specification-mandated time at the end of
usb_hub_power_on(), I suspect that CONFIG_USB_HUB_MIN_POWER_ON_DELAY has
no purpose.

For cm_t35.h, we already wait longer than the original MIN_POWER_ON_DELAY,
so this change is safe.

For gw_ventana.h, we will wait as long as the original MIN_POWER_ON_DELAY
iff pgood_delay was at least 200ms. I'm not sure if this is the case or
not, hence I've CC'd relevant people to test this change.

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>

show more ...

0d437bca19-May-2014 Stephen Warren <swarren@nvidia.com>

usb: hub: fix power good delay timing

usb_hub_power_on() currently waits for the maximum of (a) the hub port's
power output to become good, (b) the max time the USB specification
allows a device to

usb: hub: fix power good delay timing

usb_hub_power_on() currently waits for the maximum of (a) the hub port's
power output to become good, (b) the max time the USB specification
allows a device to take to connect.

However, these two operations must occur in series rather than in
parallel. First, the power supply ramps up to the level required to
power the USB device, and then the device may take a certain amount of
time to connect (assert D+/D- pullups).

Related, the maximum time that a device has to assert pullups is 1s not
100ms.

This is explained in "Connect Timing ECN.pdf", itself part of
usb_20_042814.zip from www.usb.org.

Signed-off-by: Stephen Warren <swarren@nvidia.com>

show more ...

90b51c3330-May-2014 Tom Rini <trini@ti.com>

Merge branch 'master' of git://git.denx.de/u-boot-arm


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/at91/at91sam9m10g45_devices.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/at91/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/cpu_info.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/dram.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/pinmux.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/start.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/timer.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds
/rk3399_rockchip-uboot/arch/arm/cpu/armv8/start.S
/rk3399_rockchip-uboot/arch/arm/cpu/at91-common/spl.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-at91/at91_pmc.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-at91/at91sam9x5.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-at91/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/clock_sun4i.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/dram.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/mmc.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-sunxi/timer.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-vf610/imx-regs.h
/rk3399_rockchip-uboot/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c
/rk3399_rockchip-uboot/board/atmel/sama5d3_xplained/sama5d3_xplained.c
/rk3399_rockchip-uboot/board/freescale/vf610twr/vf610twr.c
/rk3399_rockchip-uboot/board/sunxi/Makefile
/rk3399_rockchip-uboot/board/sunxi/board.c
/rk3399_rockchip-uboot/board/sunxi/dram_cubietruck.c
/rk3399_rockchip-uboot/board/sunxi/gmac.c
/rk3399_rockchip-uboot/boards.cfg
image.c
/rk3399_rockchip-uboot/doc/README.atmel_pmecc
/rk3399_rockchip-uboot/drivers/gpio/at91_gpio.c
/rk3399_rockchip-uboot/drivers/mmc/Makefile
/rk3399_rockchip-uboot/drivers/mmc/gen_atmel_mci.c
/rk3399_rockchip-uboot/drivers/mmc/sunxi_mmc.c
/rk3399_rockchip-uboot/drivers/net/designware.c
/rk3399_rockchip-uboot/drivers/net/designware.h
/rk3399_rockchip-uboot/include/configs/at91sam9m10g45ek.h
/rk3399_rockchip-uboot/include/configs/at91sam9n12ek.h
/rk3399_rockchip-uboot/include/configs/at91sam9x5ek.h
/rk3399_rockchip-uboot/include/configs/corvus.h
/rk3399_rockchip-uboot/include/configs/cpu9260.h
/rk3399_rockchip-uboot/include/configs/ethernut5.h
/rk3399_rockchip-uboot/include/configs/highbank.h
/rk3399_rockchip-uboot/include/configs/lsxl.h
/rk3399_rockchip-uboot/include/configs/sama5d3_xplained.h
/rk3399_rockchip-uboot/include/configs/sama5d3xek.h
/rk3399_rockchip-uboot/include/configs/sun7i.h
/rk3399_rockchip-uboot/include/configs/sunxi-common.h
/rk3399_rockchip-uboot/include/configs/vl_ma2sc.h
/rk3399_rockchip-uboot/include/image.h
/rk3399_rockchip-uboot/include/netdev.h
/rk3399_rockchip-uboot/spl/Makefile
/rk3399_rockchip-uboot/tools/.gitignore
/rk3399_rockchip-uboot/tools/Makefile
/rk3399_rockchip-uboot/tools/atmel_pmecc_params.c
/rk3399_rockchip-uboot/tools/atmelimage.c
/rk3399_rockchip-uboot/tools/imagetool.c
/rk3399_rockchip-uboot/tools/imagetool.h
/rk3399_rockchip-uboot/tools/mksunxiboot.c
9585624811-Apr-2014 Simon Glass <sjg@chromium.org>

main: Avoid unncessary strdup()/free()

It doesn't seem necessary to use memory allocation in this code. The setenv()
will make a copy anyway.

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

affb215611-Apr-2014 Simon Glass <sjg@chromium.org>

main: Make the execution path a little clearer in main.c

bootdelay_process() never returns in some circumstances, whichs makes the
control flow confusing. Change it so that the decision about how to

main: Make the execution path a little clearer in main.c

bootdelay_process() never returns in some circumstances, whichs makes the
control flow confusing. Change it so that the decision about how to execute
the boot command is made in the main_loop() code, so it is easier to follow.
Move CLI stuff to cli.c.

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

show more ...

c1bb2cd011-Apr-2014 Simon Glass <sjg@chromium.org>

main: Hide the hush/simple details inside cli.c

Move these details from main (which doesn't care which parser is used) to
cli.c where they belong.

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

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