History log of /rk3399_rockchip-uboot/common/ (Results 2476 – 2500 of 5256)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
06109f4925-Jan-2014 Heiko Schocher <hs@denx.de>

common, itest: pass u-boot env variables to itest.s

compare two U-Boot Environment variables with itest.s, example:

=> print tmp ver
tmp=U-Boot 2013.10-g75e
ver=U-Boot 2013.10-g75eb4bc (Jan 21 2014

common, itest: pass u-boot env variables to itest.s

compare two U-Boot Environment variables with itest.s, example:

=> print tmp ver
tmp=U-Boot 2013.10-g75e
ver=U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX
=> print check_ub_ver
check_ub_ver=if itest.s \${tmp} == \${ver}; then echo equal; else echo diff ;fi
=> run check_ub_ver
diff
=> setenv tmp U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX
=> print tmp ver
tmp=U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX
ver=U-Boot 2013.10-g75eb4bc (Jan 21 2014 - 10:35:39)MPC83XX
=> run check_ub_ver
equal

Signed-off-by: Heiko Schocher <hs@denx.de>

show more ...

f9f4d80925-Jan-2014 Heiko Schocher <hs@denx.de>

common, ubi: add ubi check volumename command

check with this ubi command, if a UBI volume with "volumename"
exists in current ubi device.

Signed-off-by: Heiko Schocher <hs@denx.de>

76698b4e12-Feb-2014 York Sun <yorksun@freescale.com>

Fix memory commands for 64-bit platforms

For aarch64, unsigned long is 64-bit data. Memory commands should be fixed
with u32 for 32-bit address access. To be clear, ushort is replace with
u16, u_cha

Fix memory commands for 64-bit platforms

For aarch64, unsigned long is 64-bit data. Memory commands should be fixed
with u32 for 32-bit address access. To be clear, ushort is replace with
u16, u_char is replaced with u8.

Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Wolfgang Denk <wd@denx.de>

show more ...

e22361af12-Feb-2014 Stephen Warren <swarren@nvidia.com>

pxe: prepend fdtdir to DTB name irrespective of source

The directory name from an fdtdir directive in a PXE config file should
always be pre-pended to the DTB filename; it shouldn't matter whether
t

pxe: prepend fdtdir to DTB name irrespective of source

The directory name from an fdtdir directive in a PXE config file should
always be pre-pended to the DTB filename; it shouldn't matter whether
the DTB filename came from the $fdtfile environment variable, or whether
it was constructed dynamically from ${soc}-${board}.dtb. Fix the code to
always prepend the directory name.

Reported-by: Dennis Gilmore <dennis@ausil.us>
Fixes: c61d94d86035 ("pxe: implement fdtdir extlinux.conf tag")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Dennis Gilmore <dennis@ausil.us>
Tested-by: Dennis Gilmore <dennis@ausil.us>

show more ...

102c051f12-Feb-2014 David Feng <fenghua@phytium.com.cn>

fix address of error message in mtest command

This patch deal with error message of mtest command.
When test failed, the mtest command will output error information
that include memory address and v

fix address of error message in mtest command

This patch deal with error message of mtest command.
When test failed, the mtest command will output error information
that include memory address and value. But the address field is
not correct or misleading.

Signed-off-by: David Feng <fenghua@phytium.com.cn>

show more ...

e386616311-Feb-2014 York Sun <yorksun@freescale.com>

common: Add get_effective_memsize() to memsize.c

This function has been around for powerpc. It is used for systems with
memory more than CONFIG_MAX_MEM_MAPPED. In case of non-contiguous memory,
this

common: Add get_effective_memsize() to memsize.c

This function has been around for powerpc. It is used for systems with
memory more than CONFIG_MAX_MEM_MAPPED. In case of non-contiguous memory,
this feature can limit U-boot to one block without going over the limit.

Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>

show more ...

9c89614d08-Feb-2014 Christian Eggers <ceggers@gmx.de>

common: Remove invalid endianess conversion

do_bootm_standanlone() calls ntohl(images->ep) which is wrong because
endianess conversion has already been done:

do_bootm()
\-do_bootm_states()
+-boot

common: Remove invalid endianess conversion

do_bootm_standanlone() calls ntohl(images->ep) which is wrong because
endianess conversion has already been done:

do_bootm()
\-do_bootm_states()
+-bootm_find_os()
| \-images.ep = image_get_ep();
| \-uimage_to_cpu(hdr->ih_ep);
\-boot_selected_os()
\-do_bootm_standanlone()

Without this conversion the code works correctly at least on AT91SAM9G45.
On big endian systems there should be no difference after applying this
patch because uimage_to_cpu(x) and ntohl(x) both expand to 'x'.

Signed-off-by: Christian Eggers <ceggers@gmx.de>

show more ...

b81fdb0406-Feb-2014 Stephen Warren <swarren@wwwdotorg.org>

pxe: allow compilation when !defined(CONFIG_CMD_NET)

pxe.c provides both the "pxe" command which relies on a network, and the
"sysboot" command which doesn't. Fix the file to compile when network
su

pxe: allow compilation when !defined(CONFIG_CMD_NET)

pxe.c provides both the "pxe" command which relies on a network, and the
"sysboot" command which doesn't. Fix the file to compile when network
support isn't enabled. This is useful e.g. on the Raspberry Pi which has
no network support yet, but will soon support the sysboot command.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>

show more ...


/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/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/cpu/armv7/start.S
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra124/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/clk.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/slcr.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/spl.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/timer.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/u-boot-spl.lds
/rk3399_rockchip-uboot/arch/arm/imx-common/cpu.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-imx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx5/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/clock.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/mx6dl_pins.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/mx6q_pins.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/clk.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/global_data.h
/rk3399_rockchip-uboot/arch/arm/include/asm/pl310.h
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/README
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6dl.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6dl2g.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6q.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6q2g.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6s.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6s1g.cfg
/rk3399_rockchip-uboot/board/freescale/mx6qsabreauto/imximage.cfg
/rk3399_rockchip-uboot/board/solidrun/hummingboard/hummingboard.c
/rk3399_rockchip-uboot/board/xilinx/zynq/Makefile
/rk3399_rockchip-uboot/board/xilinx/zynq/board.c
/rk3399_rockchip-uboot/board/xilinx/zynq/ps7_init.c
/rk3399_rockchip-uboot/boards.cfg
cmd_pxe.c
/rk3399_rockchip-uboot/doc/README.scrapyard
/rk3399_rockchip-uboot/doc/driver-model/UDM-pci.txt
/rk3399_rockchip-uboot/doc/driver-model/UDM-serial.txt
/rk3399_rockchip-uboot/drivers/i2c/soft_i2c.c
/rk3399_rockchip-uboot/drivers/net/fec_mxc.c
/rk3399_rockchip-uboot/drivers/net/zynq_gem.c
/rk3399_rockchip-uboot/drivers/pci/Makefile
/rk3399_rockchip-uboot/drivers/pci/pcie_imx.c
/rk3399_rockchip-uboot/drivers/serial/Makefile
/rk3399_rockchip-uboot/drivers/serial/serial.c
/rk3399_rockchip-uboot/drivers/serial/serial_zynq.c
/rk3399_rockchip-uboot/drivers/usb/host/Makefile
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/configs/cgtqmx6eval.h
/rk3399_rockchip-uboot/include/configs/hummingboard.h
/rk3399_rockchip-uboot/include/configs/m53evk.h
/rk3399_rockchip-uboot/include/configs/mx23evk.h
/rk3399_rockchip-uboot/include/configs/mx28evk.h
/rk3399_rockchip-uboot/include/configs/mx51evk.h
/rk3399_rockchip-uboot/include/configs/mx53loco.h
/rk3399_rockchip-uboot/include/configs/mx6_common.h
/rk3399_rockchip-uboot/include/configs/mx6qarm2.h
/rk3399_rockchip-uboot/include/configs/mx6sabre_common.h
/rk3399_rockchip-uboot/include/configs/mx6slevk.h
/rk3399_rockchip-uboot/include/configs/nitrogen6x.h
/rk3399_rockchip-uboot/include/configs/udoo.h
/rk3399_rockchip-uboot/include/configs/vf610twr.h
/rk3399_rockchip-uboot/include/configs/zynq-common.h
/rk3399_rockchip-uboot/include/configs/zynq_zc70x.h
/rk3399_rockchip-uboot/include/configs/zynq_zed.h
1530f6f521-Feb-2014 Tom Rini <trini@ti.com>

fs/fdos: Remove

We have an unused FAT implementation in fs/fdos, remove.

Signed-off-by: Tom Rini <trini@ti.com>


/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/README
/rk3399_rockchip-uboot/arch/arc/lib/relocate.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/clock_am43xx.c
/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/cpu/armv7/start.S
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/clk.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/slcr.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/spl.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/timer.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/u-boot-spl.lds
/rk3399_rockchip-uboot/arch/arm/imx-common/cpu.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/omap.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-imx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx5/imx-regs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx5/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/clock.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/mx6dl_pins.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/mx6q_pins.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx6/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/clk.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-zynq/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/global_data.h
/rk3399_rockchip-uboot/arch/arm/include/asm/pl310.h
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/README
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6dl.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6dl2g.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6q.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6q2g.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6s.cfg
/rk3399_rockchip-uboot/board/boundary/nitrogen6x/nitrogen6s1g.cfg
/rk3399_rockchip-uboot/board/freescale/mx6qsabreauto/imximage.cfg
/rk3399_rockchip-uboot/board/solidrun/hummingboard/hummingboard.c
/rk3399_rockchip-uboot/board/synopsys/axs101/axs101.c
/rk3399_rockchip-uboot/board/ti/am43xx/mux.c
/rk3399_rockchip-uboot/board/xilinx/zynq/Makefile
/rk3399_rockchip-uboot/board/xilinx/zynq/board.c
/rk3399_rockchip-uboot/board/xilinx/zynq/ps7_init.c
/rk3399_rockchip-uboot/boards.cfg
Makefile
cmd_fdc.c
/rk3399_rockchip-uboot/doc/README.scrapyard
/rk3399_rockchip-uboot/doc/SPI/README.ti_qspi_am43x_test
/rk3399_rockchip-uboot/doc/driver-model/UDM-pci.txt
/rk3399_rockchip-uboot/doc/driver-model/UDM-serial.txt
/rk3399_rockchip-uboot/drivers/i2c/soft_i2c.c
/rk3399_rockchip-uboot/drivers/net/fec_mxc.c
/rk3399_rockchip-uboot/drivers/net/zynq_gem.c
/rk3399_rockchip-uboot/drivers/pci/Makefile
/rk3399_rockchip-uboot/drivers/pci/pcie_imx.c
/rk3399_rockchip-uboot/drivers/serial/Makefile
/rk3399_rockchip-uboot/drivers/serial/serial.c
/rk3399_rockchip-uboot/drivers/serial/serial_arc.c
/rk3399_rockchip-uboot/drivers/serial/serial_zynq.c
/rk3399_rockchip-uboot/drivers/spi/mxc_spi.c
/rk3399_rockchip-uboot/drivers/spi/ti_qspi.c
/rk3399_rockchip-uboot/drivers/spi/xilinx_spi.c
/rk3399_rockchip-uboot/drivers/usb/host/Makefile
/rk3399_rockchip-uboot/fs/Makefile
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/config_cmd_all.h
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/axs101.h
/rk3399_rockchip-uboot/include/configs/cgtqmx6eval.h
/rk3399_rockchip-uboot/include/configs/hummingboard.h
/rk3399_rockchip-uboot/include/configs/m53evk.h
/rk3399_rockchip-uboot/include/configs/mx23evk.h
/rk3399_rockchip-uboot/include/configs/mx28evk.h
/rk3399_rockchip-uboot/include/configs/mx51evk.h
/rk3399_rockchip-uboot/include/configs/mx53loco.h
/rk3399_rockchip-uboot/include/configs/mx6_common.h
/rk3399_rockchip-uboot/include/configs/mx6qarm2.h
/rk3399_rockchip-uboot/include/configs/mx6sabre_common.h
/rk3399_rockchip-uboot/include/configs/mx6slevk.h
/rk3399_rockchip-uboot/include/configs/nitrogen6x.h
/rk3399_rockchip-uboot/include/configs/udoo.h
/rk3399_rockchip-uboot/include/configs/vf610twr.h
/rk3399_rockchip-uboot/include/configs/zynq-common.h
/rk3399_rockchip-uboot/include/configs/zynq_zc70x.h
/rk3399_rockchip-uboot/include/configs/zynq_zed.h
130fbeb120-Feb-2014 Tom Rini <trini@ti.com>

blackfin: Add <asm/clock.h> to numerous drivers

With d6a320d we moved some clock externs out of blackfin_local.h and
into clock.h but now need to include <asm/clock.h> in more drivers to
avoid warni

blackfin: Add <asm/clock.h> to numerous drivers

With d6a320d we moved some clock externs out of blackfin_local.h and
into clock.h but now need to include <asm/clock.h> in more drivers to
avoid warnings.

Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Tom Rini <trini@ti.com>

show more ...

f150c83718-Feb-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

cosmetic: FIT: fix a strange comment

There is a strange comment in fit_image_load().
This function can be used for loading Kernel Image, FDT
as well as ramdisk.

Signed-off-by: Masahiro Yamada <yama

cosmetic: FIT: fix a strange comment

There is a strange comment in fit_image_load().
This function can be used for loading Kernel Image, FDT
as well as ramdisk.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...

365475e613-Feb-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee

- When CONFIG_DISPLAY_CPUINFO is not enabled,
print_cpuinfo() should be defined as an empty function
in a header, include/common.h

-

Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee

- When CONFIG_DISPLAY_CPUINFO is not enabled,
print_cpuinfo() should be defined as an empty function
in a header, include/common.h

- Remove #ifdef CONFIG_DISPLAY_CPUINFO .. #endif
from caller, common/board_f.c and arch/arm/lib/board.c

- Remove redundant prototypes in arch/arm/lib/board.c,
arch/arm/include/asm/arch-am33x/sys_proto.h and
board/nokia/rx51/rx51.h, keeping the one in include/common.h

- Add #ifdef CONFIG_DISPLAY_CPUINFO to the func definition
where it is missing

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

show more ...


/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/hwinit-common.c
/rk3399_rockchip-uboot/arch/arm/dts/.gitignore
/rk3399_rockchip-uboot/arch/arm/dts/Makefile
/rk3399_rockchip-uboot/arch/arm/dts/exynos5250-arndale.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos5250-smdk5250.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos5250-snow.dts
/rk3399_rockchip-uboot/arch/arm/dts/exynos5420-smdk5420.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra114-dalmore.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-colibri_t20_iris.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-harmony.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-medcom-wide.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-paz00.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-plutux.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-seaboard.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-tamonten.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-tec.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-trimslice.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-ventana.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra20-whistler.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra30-beaver.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra30-cardhu.dts
/rk3399_rockchip-uboot/arch/arm/dts/tegra30-tamonten.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/tegra30-tec-ng.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-microzed.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zc702.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zc706.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zc770-xm010.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zc770-xm012.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zc770-xm013.dts
/rk3399_rockchip-uboot/arch/arm/dts/zynq-zed.dts
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/lib/board.c
/rk3399_rockchip-uboot/arch/microblaze/dts/.gitignore
/rk3399_rockchip-uboot/arch/microblaze/dts/Makefile
/rk3399_rockchip-uboot/arch/microblaze/dts/microblaze-generic.dts
/rk3399_rockchip-uboot/arch/x86/dts/.gitignore
/rk3399_rockchip-uboot/arch/x86/dts/Makefile
/rk3399_rockchip-uboot/arch/x86/dts/alex.dts
/rk3399_rockchip-uboot/arch/x86/dts/link.dts
/rk3399_rockchip-uboot/board/altera/socfpga/socfpga_cyclone5.c
/rk3399_rockchip-uboot/board/freescale/mx53loco/mx53loco.c
/rk3399_rockchip-uboot/board/nokia/rx51/rx51.h
board_f.c
/rk3399_rockchip-uboot/dts/Makefile
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/configs/M54418TWR.h
/rk3399_rockchip-uboot/include/configs/MERGERBOX.h
/rk3399_rockchip-uboot/include/configs/P1023RDS.h
/rk3399_rockchip-uboot/include/configs/ac14xx.h
/rk3399_rockchip-uboot/include/configs/adp-ag101.h
/rk3399_rockchip-uboot/include/configs/adp-ag101p.h
/rk3399_rockchip-uboot/include/configs/adp-ag102.h
/rk3399_rockchip-uboot/include/configs/ap_sh4a_4a.h
/rk3399_rockchip-uboot/include/configs/armadillo-800eva.h
/rk3399_rockchip-uboot/include/configs/devkit3250.h
/rk3399_rockchip-uboot/include/configs/dlvision-10g.h
/rk3399_rockchip-uboot/include/configs/ecovec.h
/rk3399_rockchip-uboot/include/configs/io.h
/rk3399_rockchip-uboot/include/configs/iocon.h
/rk3399_rockchip-uboot/include/configs/km/km83xx-common.h
/rk3399_rockchip-uboot/include/configs/koelsch.h
/rk3399_rockchip-uboot/include/configs/kzm9g.h
/rk3399_rockchip-uboot/include/configs/lager.h
/rk3399_rockchip-uboot/include/configs/mxs.h
/rk3399_rockchip-uboot/include/configs/o2dnt-common.h
/rk3399_rockchip-uboot/include/configs/p1_twr.h
/rk3399_rockchip-uboot/include/configs/r0p7734.h
/rk3399_rockchip-uboot/include/configs/shmin.h
/rk3399_rockchip-uboot/include/configs/snowball.h
/rk3399_rockchip-uboot/include/configs/u8500_href.h
/rk3399_rockchip-uboot/include/configs/vl_ma2sc.h
/rk3399_rockchip-uboot/include/configs/x600.h
/rk3399_rockchip-uboot/scripts/Makefile.lib
6ab6b2af05-Feb-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

dts: re-write dts/Makefile more simply with Kbuild

Useful rules in scripts/Makefile.lib allows us to easily
generate a device tree blob and wrap it in assembly code.

We do not need to parse a linke

dts: re-write dts/Makefile more simply with Kbuild

Useful rules in scripts/Makefile.lib allows us to easily
generate a device tree blob and wrap it in assembly code.

We do not need to parse a linker script to get output format and arch.

This commit deletes ./u-boot.dtb since it is a copy of dts/dt.dtb.

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

show more ...


/rk3399_rockchip-uboot/.gitignore
/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/arch/arm/lib/board.c
/rk3399_rockchip-uboot/arch/blackfin/cpu/Makefile
/rk3399_rockchip-uboot/arch/microblaze/lib/board.c
/rk3399_rockchip-uboot/arch/x86/lib/init_helpers.c
/rk3399_rockchip-uboot/board/cray/L1/Makefile
/rk3399_rockchip-uboot/board/sandburst/karef/Makefile
/rk3399_rockchip-uboot/board/sandburst/metrobox/Makefile
board_f.c
/rk3399_rockchip-uboot/config.mk
/rk3399_rockchip-uboot/doc/DocBook/.gitignore
/rk3399_rockchip-uboot/doc/DocBook/Makefile
/rk3399_rockchip-uboot/doc/DocBook/stylesheet.xsl
/rk3399_rockchip-uboot/dts/.gitignore
/rk3399_rockchip-uboot/dts/Makefile
/rk3399_rockchip-uboot/examples/Makefile
/rk3399_rockchip-uboot/examples/api/Makefile
/rk3399_rockchip-uboot/examples/standalone/Makefile
/rk3399_rockchip-uboot/include/.gitignore
/rk3399_rockchip-uboot/include/common.h
/rk3399_rockchip-uboot/include/linker_lists.h
/rk3399_rockchip-uboot/scripts/.gitignore
/rk3399_rockchip-uboot/scripts/Kbuild.include
/rk3399_rockchip-uboot/scripts/Makefile
/rk3399_rockchip-uboot/scripts/Makefile.build
/rk3399_rockchip-uboot/scripts/Makefile.clean
/rk3399_rockchip-uboot/scripts/Makefile.lib
/rk3399_rockchip-uboot/scripts/docproc.c
/rk3399_rockchip-uboot/scripts/kernel-doc
/rk3399_rockchip-uboot/spl/Makefile
/rk3399_rockchip-uboot/tools/.gitignore
/rk3399_rockchip-uboot/tools/Makefile
/rk3399_rockchip-uboot/tools/env/.gitignore
/rk3399_rockchip-uboot/tools/env/Makefile
/rk3399_rockchip-uboot/tools/env/README
6825a95b04-Feb-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

kbuild: use Linux Kernel build scripts

Now we are ready to switch over to real Kbuild.

This commit disables temporary scripts:
scripts/{Makefile.build.tmp, Makefile.host.tmp}
and enables real Kbu

kbuild: use Linux Kernel build scripts

Now we are ready to switch over to real Kbuild.

This commit disables temporary scripts:
scripts/{Makefile.build.tmp, Makefile.host.tmp}
and enables real Kbuild scripts:
scripts/{Makefile.build,Makefile.host,Makefile.lib}.

This switch is triggered by the line in scripts/Kbuild.include
-build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
+build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj

We need to adjust some build scripts for U-Boot.
But smaller amount of modification is preferable.

Additionally, we need to fix compiler flags which are
locally added or removed.

In Kbuild, it is not allowed to change CFLAGS locally.
Instead, ccflags-y, asflags-y, cppflags-y,
CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
are prepared for that purpose.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Gerhard Sittig <gsi@denx.de>

show more ...


/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra114/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra30/Makefile
/rk3399_rockchip-uboot/arch/arm/imx-common/Makefile
/rk3399_rockchip-uboot/arch/blackfin/cpu/Makefile
/rk3399_rockchip-uboot/arch/blackfin/lib/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5227x/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf523x/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf52x2/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf532x/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5445x/Makefile
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf547x_8x/Makefile
/rk3399_rockchip-uboot/arch/nds32/cpu/n1213/Makefile
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc8xx/Makefile
/rk3399_rockchip-uboot/arch/powerpc/lib/Makefile
/rk3399_rockchip-uboot/arch/sandbox/cpu/Makefile
/rk3399_rockchip-uboot/board/bct-brettl2/config.mk
/rk3399_rockchip-uboot/board/bf518f-ezbrd/config.mk
/rk3399_rockchip-uboot/board/bf526-ezbrd/config.mk
/rk3399_rockchip-uboot/board/bf527-ad7160-eval/config.mk
/rk3399_rockchip-uboot/board/bf527-ezkit/config.mk
/rk3399_rockchip-uboot/board/bf527-sdp/config.mk
/rk3399_rockchip-uboot/board/bf533-ezkit/config.mk
/rk3399_rockchip-uboot/board/bf533-stamp/config.mk
/rk3399_rockchip-uboot/board/bf537-stamp/config.mk
/rk3399_rockchip-uboot/board/bf538f-ezkit/config.mk
/rk3399_rockchip-uboot/board/bf548-ezkit/config.mk
/rk3399_rockchip-uboot/board/bf561-acvilon/config.mk
/rk3399_rockchip-uboot/board/bf561-ezkit/config.mk
/rk3399_rockchip-uboot/board/br4/config.mk
/rk3399_rockchip-uboot/board/cm-bf527/config.mk
/rk3399_rockchip-uboot/board/cm-bf533/config.mk
/rk3399_rockchip-uboot/board/cm-bf537e/config.mk
/rk3399_rockchip-uboot/board/cm-bf537u/config.mk
/rk3399_rockchip-uboot/board/cm-bf548/config.mk
/rk3399_rockchip-uboot/board/cm-bf561/config.mk
/rk3399_rockchip-uboot/board/freescale/common/Makefile
/rk3399_rockchip-uboot/board/ip04/config.mk
/rk3399_rockchip-uboot/board/matrix_vision/mvblx/Makefile
/rk3399_rockchip-uboot/board/pr1/config.mk
/rk3399_rockchip-uboot/board/samsung/origen/Makefile
/rk3399_rockchip-uboot/board/samsung/smdkv310/Makefile
/rk3399_rockchip-uboot/board/sandburst/karef/Makefile
/rk3399_rockchip-uboot/board/sandburst/metrobox/Makefile
/rk3399_rockchip-uboot/board/spear/common/Makefile
/rk3399_rockchip-uboot/board/spear/x600/Makefile
/rk3399_rockchip-uboot/board/st-ericsson/snowball/Makefile
/rk3399_rockchip-uboot/board/st-ericsson/u8500/Makefile
/rk3399_rockchip-uboot/board/tcm-bf518/config.mk
/rk3399_rockchip-uboot/board/tcm-bf537/config.mk
Makefile
/rk3399_rockchip-uboot/config.mk
/rk3399_rockchip-uboot/disk/Makefile
/rk3399_rockchip-uboot/doc/DocBook/Makefile
/rk3399_rockchip-uboot/drivers/bios_emulator/Makefile
/rk3399_rockchip-uboot/drivers/hwmon/Makefile
/rk3399_rockchip-uboot/drivers/net/npe/Makefile
/rk3399_rockchip-uboot/drivers/rtc/Makefile
/rk3399_rockchip-uboot/drivers/usb/musb-new/Makefile
/rk3399_rockchip-uboot/dts/Makefile
/rk3399_rockchip-uboot/examples/api/Makefile
/rk3399_rockchip-uboot/examples/standalone/Makefile
/rk3399_rockchip-uboot/fs/ubifs/Makefile
/rk3399_rockchip-uboot/fs/yaffs2/Makefile
/rk3399_rockchip-uboot/lib/Makefile
/rk3399_rockchip-uboot/lib/lzma/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/acadia/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/bamboo/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/canyonlands/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/kilauea/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/sequoia/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8315erdb/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8536ds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8569mds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8572ds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/p1023rds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/p1_p2_rdb/Makefile
/rk3399_rockchip-uboot/nand_spl/board/sheldon/simpc8313/Makefile
/rk3399_rockchip-uboot/net/Makefile
/rk3399_rockchip-uboot/post/lib_powerpc/fpu/Makefile
/rk3399_rockchip-uboot/scripts/Makefile.build
/rk3399_rockchip-uboot/scripts/Makefile.build.tmp
/rk3399_rockchip-uboot/scripts/Makefile.clean
/rk3399_rockchip-uboot/scripts/Makefile.host
/rk3399_rockchip-uboot/scripts/Makefile.lib
/rk3399_rockchip-uboot/scripts/basic/.gitignore
/rk3399_rockchip-uboot/scripts/basic/Makefile
/rk3399_rockchip-uboot/scripts/basic/fixdep.c
/rk3399_rockchip-uboot/scripts/mkmakefile
/rk3399_rockchip-uboot/spl/Makefile
/rk3399_rockchip-uboot/tools/Makefile
9e41403204-Feb-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

kbuild: change out-of-tree build

This commit changes the working directory
where the build process occurs.

Before this commit, build process occurred under the source
tree for both in-tree and out-

kbuild: change out-of-tree build

This commit changes the working directory
where the build process occurs.

Before this commit, build process occurred under the source
tree for both in-tree and out-of-tree build.

That's why we needed to add $(obj) prefix to all generated
files in makefiles like follows:
$(obj)u-boot.bin: $(obj)u-boot

Here, $(obj) is empty for in-tree build, whereas it points
to the output directory for out-of-tree build.

And our old build system changes the current working directory
with "make -C <sub-dir>" syntax when descending into the
sub-directories.

On the other hand, Kbuild uses a different idea
to handle out-of-tree build and directory descending.

The build process of Kbuild always occurs under the output tree.
When "O=dir/to/store/output/files" is given, the build system
changes the current working directory to that directory and
restarts the make.

Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
syntax for descending into sub-directories.
(We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
This means the current working directory is always the top
of the output directory.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Gerhard Sittig <gsi@denx.de>

show more ...


/rk3399_rockchip-uboot/.gitignore
/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/arm1136/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/davinci/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/am33xx/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/sata.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap3/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap4/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/socfpga/config.mk
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/sata.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/spl.h
/rk3399_rockchip-uboot/arch/blackfin/config.mk
/rk3399_rockchip-uboot/arch/blackfin/cpu/Makefile
/rk3399_rockchip-uboot/arch/mips/cpu/mips32/config.mk
/rk3399_rockchip-uboot/arch/mips/cpu/mips64/config.mk
/rk3399_rockchip-uboot/arch/mips/cpu/xburst/config.mk
/rk3399_rockchip-uboot/arch/nds32/config.mk
/rk3399_rockchip-uboot/arch/powerpc/lib/Makefile
/rk3399_rockchip-uboot/arch/sandbox/cpu/Makefile
/rk3399_rockchip-uboot/arch/sparc/config.mk
/rk3399_rockchip-uboot/arch/x86/lib/Makefile
/rk3399_rockchip-uboot/board/ait/cam_enc_4xx/config.mk
/rk3399_rockchip-uboot/board/avionic-design/medcom-wide/Makefile
/rk3399_rockchip-uboot/board/avionic-design/plutux/Makefile
/rk3399_rockchip-uboot/board/avionic-design/tec-ng/Makefile
/rk3399_rockchip-uboot/board/avionic-design/tec/Makefile
/rk3399_rockchip-uboot/board/compal/paz00/Makefile
/rk3399_rockchip-uboot/board/compulab/trimslice/Makefile
/rk3399_rockchip-uboot/board/cray/L1/Makefile
/rk3399_rockchip-uboot/board/h2200/Makefile
/rk3399_rockchip-uboot/board/matrix_vision/mvblm7/Makefile
/rk3399_rockchip-uboot/board/matrix_vision/mvsmr/Makefile
/rk3399_rockchip-uboot/board/nvidia/common/Makefile
/rk3399_rockchip-uboot/board/pcs440ep/config.mk
/rk3399_rockchip-uboot/board/samsung/origen/Makefile
/rk3399_rockchip-uboot/board/samsung/origen/tools/mkorigenspl.c
/rk3399_rockchip-uboot/board/samsung/smdkv310/Makefile
/rk3399_rockchip-uboot/board/samsung/smdkv310/tools/mksmdkv310spl.c
/rk3399_rockchip-uboot/board/ti/dra7xx/evm.c
/rk3399_rockchip-uboot/board/ti/omap5_uevm/evm.c
Makefile
/rk3399_rockchip-uboot/config.mk
/rk3399_rockchip-uboot/doc/DocBook/Makefile
/rk3399_rockchip-uboot/drivers/bios_emulator/Makefile
/rk3399_rockchip-uboot/dts/Makefile
/rk3399_rockchip-uboot/examples/api/Makefile
/rk3399_rockchip-uboot/examples/standalone/Makefile
/rk3399_rockchip-uboot/fs/ubifs/Makefile
/rk3399_rockchip-uboot/lib/Makefile
/rk3399_rockchip-uboot/mkconfig
/rk3399_rockchip-uboot/nand_spl/board/amcc/acadia/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/bamboo/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/canyonlands/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/kilauea/Makefile
/rk3399_rockchip-uboot/nand_spl/board/amcc/sequoia/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8315erdb/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8536ds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8569mds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/mpc8572ds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/p1023rds/Makefile
/rk3399_rockchip-uboot/nand_spl/board/freescale/p1_p2_rdb/Makefile
/rk3399_rockchip-uboot/nand_spl/board/sheldon/simpc8313/Makefile
/rk3399_rockchip-uboot/post/lib_powerpc/fpu/Makefile
/rk3399_rockchip-uboot/rules.mk
/rk3399_rockchip-uboot/scripts/Kbuild.include
/rk3399_rockchip-uboot/scripts/Makefile.build
/rk3399_rockchip-uboot/scripts/Makefile.host.tmp
/rk3399_rockchip-uboot/spl/Makefile
/rk3399_rockchip-uboot/tools/.gitignore
/rk3399_rockchip-uboot/tools/Makefile
/rk3399_rockchip-uboot/tools/crc32.c
/rk3399_rockchip-uboot/tools/easylogo/Makefile
/rk3399_rockchip-uboot/tools/env/Makefile
/rk3399_rockchip-uboot/tools/env/crc32.c
/rk3399_rockchip-uboot/tools/env/ctype.c
/rk3399_rockchip-uboot/tools/env/env_attr.c
/rk3399_rockchip-uboot/tools/env/env_flags.c
/rk3399_rockchip-uboot/tools/env/linux_string.c
/rk3399_rockchip-uboot/tools/env_embedded.c
/rk3399_rockchip-uboot/tools/fdt.c
/rk3399_rockchip-uboot/tools/fdt_ro.c
/rk3399_rockchip-uboot/tools/fdt_rw.c
/rk3399_rockchip-uboot/tools/fdt_strerror.c
/rk3399_rockchip-uboot/tools/fdt_wip.c
/rk3399_rockchip-uboot/tools/gdb/Makefile
/rk3399_rockchip-uboot/tools/image-fit.c
/rk3399_rockchip-uboot/tools/image-sig.c
/rk3399_rockchip-uboot/tools/image.c
/rk3399_rockchip-uboot/tools/kernel-doc/Makefile
/rk3399_rockchip-uboot/tools/md5.c
/rk3399_rockchip-uboot/tools/rsa-sign.c
/rk3399_rockchip-uboot/tools/sha1.c
fff40a7e03-Feb-2014 Dan Murphy <dmurphy@ti.com>

common: spl: Add spl sata boot support

Add spl_sata to read a fat partition from a bootable SATA
drive.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>

f7740f7731-Jan-2014 Wolfgang Denk <wd@denx.de>

EXT4: Fix number base handling of "ext4write" command

Unlike other commands (for example, "fatwrite"), ext4write would
interpret the "sizebytes" as decimal number. This is not only
inconsistend and

EXT4: Fix number base handling of "ext4write" command

Unlike other commands (for example, "fatwrite"), ext4write would
interpret the "sizebytes" as decimal number. This is not only
inconsistend and unexpected to most users, it also breaks usage
like this:

tftp ${addr} ${name}
ext4write mmc 0:2 ${addr} ${filename} ${filesize}

Change this to use the standard notation of base 16 input format.
See also commit b770e88

WARNING: this is a change to the user interface!!

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Uma Shankar <uma.shankar@samsung.com>
Cc: Stephen Warren <swarren@nvidia.com>

show more ...

95f7062729-Jan-2014 Masahiro Yamada <yamada.m@jp.panasonic.com>

fdt: rename IMAAGE_OF_BOARD_SETUP to IMAGE_OF_BOARD_SETUP

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>

e5e897c003-Feb-2014 Stephen Warren <swarren@nvidia.com>

cmd_test: implement -e test for file existence

This is much like a regular shell's -e operator, except that it takes
multiple arguments to specify the device type and device/partition ID
in additio

cmd_test: implement -e test for file existence

This is much like a regular shell's -e operator, except that it takes
multiple arguments to specify the device type and device/partition ID
in addition to the usual filename:

if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi

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

show more ...

2453de9903-Feb-2014 Stephen Warren <swarren@nvidia.com>

cmd_test: evaluate to false without any arguments

This emulates bash:
$ if test; then echo yes; else echo no; fi
no

Currently, the code sets expr = -1 in this case, which gets mapped to
0 (true) at

cmd_test: evaluate to false without any arguments

This emulates bash:
$ if test; then echo yes; else echo no; fi
no

Currently, the code sets expr = -1 in this case, which gets mapped to
0 (true) at the end of do_test() by the logical -> shell exit code
conversion.

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

show more ...

d9b651ce03-Feb-2014 Stephen Warren <swarren@nvidia.com>

cmd_test: implement ! on sub-expressions

Currently, ! can only be parsed as the first operator in an expression.
This prevents the following from working:

$ if test ! ! 1 -eq 1; then echo yes; else

cmd_test: implement ! on sub-expressions

Currently, ! can only be parsed as the first operator in an expression.
This prevents the following from working:

$ if test ! ! 1 -eq 1; then echo yes; else echo no; fi
yes
$ if test ! 1 -eq 2 -a ! 3 -eq 4; then echo yes; else echo no; fi
yes

Fix this by parsing ! like any other operator, and and handling it
similarly to -a and -o.

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

show more ...

4c80f29e03-Feb-2014 Stephen Warren <swarren@nvidia.com>

cmd_test: check for binary operators before unary

This better mirrors the behaviour of bash, for example:

$ if test -z = -z; then echo yes; else echo no; fi
yes

This is parsed as a string comparis

cmd_test: check for binary operators before unary

This better mirrors the behaviour of bash, for example:

$ if test -z = -z; then echo yes; else echo no; fi
yes

This is parsed as a string comparison of "-z" and "-z", since the check
for the binary "=" operator occurs first. Without this change, the
command would be parsed as a -z test of "-", followed by a syntax error;
a trailing -z without and operand.

This is a behavioural change, but I believe any commands affected were
previously invalid or bizarely formed.

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

show more ...

490ba83303-Feb-2014 Stephen Warren <swarren@nvidia.com>

cmd_test: use table lookup for parsing

do_test() currently uses strcmp() twice to determine which operator is
present; once to determine how many arguments the operator needs, then
a second time to

cmd_test: use table lookup for parsing

do_test() currently uses strcmp() twice to determine which operator is
present; once to determine how many arguments the operator needs, then
a second time to actually decode the operator and implement it.

Rewrite the code so that a table lookup is used to translate the operator
string to an integer, and use a more efficient switch statement to decode
and execute the operator.

This approach also acts as enablement for the following patches.

This patch should introduce no behavioural change.

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

show more ...

c4d376fd17-Feb-2014 Tom Rini <trini@ti.com>

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


/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra-common/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra-common/cpu.h
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra114/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra124/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra124/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra124/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/arm720t/tegra30/cpu.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/exynos/pinmux.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/clocks-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/emif-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/hwinit-common.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap4/hw_data.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/abb.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/hw_data.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/hwinit.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/prcm-regs.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap5/sdram.c
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra124/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/tegra124/config.mk
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/zynq/u-boot.lds
/rk3399_rockchip-uboot/arch/arm/cpu/tegra-common/ap.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra-common/board.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra-common/cache.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra-common/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra114-common/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra124-common/Makefile
/rk3399_rockchip-uboot/arch/arm/cpu/tegra124-common/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra124-common/funcmux.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra124-common/pinmux.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra20-common/clock.c
/rk3399_rockchip-uboot/arch/arm/cpu/tegra30-common/clock.c
/rk3399_rockchip-uboot/arch/arm/dts/tegra114.dtsi
/rk3399_rockchip-uboot/arch/arm/dts/tegra124.dtsi
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-am33xx/ddr_defs.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-bcm2835/mbox.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/periph.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap3/omap3.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap4/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/omap.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-omap5/sys_proto.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-s5pc1xx/cpu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-s5pc1xx/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/clk_rst.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/gp_padctrl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/pmc.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/tegra.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/ahb.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/clock-tables.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/clock.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/flow.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/funcmux.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/gp_padctrl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/gpio.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/hardware.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/pinmux.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/pmu.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/spl.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/sysctr.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/tegra.h
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra124/usb.h
/rk3399_rockchip-uboot/arch/arm/include/asm/omap_common.h
/rk3399_rockchip-uboot/board/armltd/versatile/versatile.c
/rk3399_rockchip-uboot/board/keymile/km_arm/fpga_config.c
/rk3399_rockchip-uboot/board/keymile/km_arm/km_arm.c
/rk3399_rockchip-uboot/board/keymile/scripts/develop-arm.txt
/rk3399_rockchip-uboot/board/keymile/scripts/develop-common.txt
/rk3399_rockchip-uboot/board/keymile/scripts/develop-ppc_82xx.txt
/rk3399_rockchip-uboot/board/keymile/scripts/develop-ppc_8xx.txt
/rk3399_rockchip-uboot/board/keymile/scripts/ramfs-arm.txt
/rk3399_rockchip-uboot/board/keymile/scripts/ramfs-common.txt
/rk3399_rockchip-uboot/board/keymile/scripts/ramfs-ppc_82xx.txt
/rk3399_rockchip-uboot/board/keymile/scripts/ramfs-ppc_8xx.txt
/rk3399_rockchip-uboot/board/nvidia/common/board.c
/rk3399_rockchip-uboot/board/nvidia/dts/tegra124-venice2.dts
/rk3399_rockchip-uboot/board/nvidia/venice2/Makefile
/rk3399_rockchip-uboot/board/nvidia/venice2/as3722_init.c
/rk3399_rockchip-uboot/board/nvidia/venice2/as3722_init.h
/rk3399_rockchip-uboot/board/nvidia/venice2/pinmux-config-venice2.h
/rk3399_rockchip-uboot/board/nvidia/venice2/venice2.c
/rk3399_rockchip-uboot/board/samsung/common/Makefile
/rk3399_rockchip-uboot/board/samsung/common/dfu_sample_env.txt
/rk3399_rockchip-uboot/board/samsung/common/misc.c
/rk3399_rockchip-uboot/board/samsung/dts/exynos5250-smdk5250.dts
/rk3399_rockchip-uboot/board/samsung/dts/exynos5250-snow.dts
/rk3399_rockchip-uboot/board/samsung/goni/goni.c
/rk3399_rockchip-uboot/board/samsung/smdk5250/smdk5250.c
/rk3399_rockchip-uboot/board/samsung/trats/trats.c
/rk3399_rockchip-uboot/board/samsung/trats2/trats2.c
/rk3399_rockchip-uboot/board/samsung/universal_c210/universal.c
/rk3399_rockchip-uboot/board/ti/am43xx/board.c
/rk3399_rockchip-uboot/board/ti/omap5_uevm/evm.c
/rk3399_rockchip-uboot/board/ti/omap5_uevm/mux_data.h
/rk3399_rockchip-uboot/board/ti/panda/panda.c
/rk3399_rockchip-uboot/board/ti/panda/panda_mux_data.h
/rk3399_rockchip-uboot/board/ti/sdp4430/sdp.c
/rk3399_rockchip-uboot/board/ti/sdp4430/sdp4430_mux_data.h
/rk3399_rockchip-uboot/boards.cfg
lcd.c
/rk3399_rockchip-uboot/doc/feature-removal-schedule.txt
/rk3399_rockchip-uboot/drivers/gpio/s5p_gpio.c
/rk3399_rockchip-uboot/drivers/mmc/tegra_mmc.c
/rk3399_rockchip-uboot/drivers/power/battery/bat_trats2.c
/rk3399_rockchip-uboot/drivers/serial/opencores_yanu.c
/rk3399_rockchip-uboot/drivers/serial/serial_s5p.c
/rk3399_rockchip-uboot/drivers/video/exynos_fb.c
/rk3399_rockchip-uboot/drivers/video/exynos_fimd.c
/rk3399_rockchip-uboot/include/configs/am43xx_evm.h
/rk3399_rockchip-uboot/include/configs/cardhu.h
/rk3399_rockchip-uboot/include/configs/dra7xx_evm.h
/rk3399_rockchip-uboot/include/configs/km/keymile-common.h
/rk3399_rockchip-uboot/include/configs/km/km-powerpc.h
/rk3399_rockchip-uboot/include/configs/km/km_arm.h
/rk3399_rockchip-uboot/include/configs/km/kmp204x-common.h
/rk3399_rockchip-uboot/include/configs/km_kirkwood.h
/rk3399_rockchip-uboot/include/configs/omap3_igep00x0.h
/rk3399_rockchip-uboot/include/configs/omap4_panda.h
/rk3399_rockchip-uboot/include/configs/omap4_sdp4430.h
/rk3399_rockchip-uboot/include/configs/omap5_uevm.h
/rk3399_rockchip-uboot/include/configs/rpi_b.h
/rk3399_rockchip-uboot/include/configs/s5p_goni.h
/rk3399_rockchip-uboot/include/configs/s5pc210_universal.h
/rk3399_rockchip-uboot/include/configs/tegra-common-post.h
/rk3399_rockchip-uboot/include/configs/tegra124-common.h
/rk3399_rockchip-uboot/include/configs/ti_am335x_common.h
/rk3399_rockchip-uboot/include/configs/ti_armv7_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap3_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap4_common.h
/rk3399_rockchip-uboot/include/configs/ti_omap5_common.h
/rk3399_rockchip-uboot/include/configs/trats.h
/rk3399_rockchip-uboot/include/configs/trats2.h
/rk3399_rockchip-uboot/include/configs/venice2.h
/rk3399_rockchip-uboot/include/configs/versatile.h
/rk3399_rockchip-uboot/include/configs/zynq-common.h
/rk3399_rockchip-uboot/include/fdtdec.h
/rk3399_rockchip-uboot/include/lcd.h
/rk3399_rockchip-uboot/include/power/max77686_pmic.h
/rk3399_rockchip-uboot/include/power/pmic.h
/rk3399_rockchip-uboot/include/samsung/misc.h
/rk3399_rockchip-uboot/lib/fdtdec.c
/rk3399_rockchip-uboot/lib/tizen/tizen.c
/rk3399_rockchip-uboot/lib/tizen/tizen_logo_16bpp.h
/rk3399_rockchip-uboot/lib/tizen/tizen_logo_16bpp_gzip.h
/rk3399_rockchip-uboot/tools/relocate-rela.c
18c8358817-Feb-2014 Tom Rini <trini@ti.com>

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


/rk3399_rockchip-uboot/MAKEALL
/rk3399_rockchip-uboot/arch/arm/cpu/armv7/omap-common/boot-common.c
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-exynos/dwmmc.h
/rk3399_rockchip-uboot/board/bf609-ezkit/bf609-ezkit.c
/rk3399_rockchip-uboot/board/spear/spear300/spear300.c
/rk3399_rockchip-uboot/board/spear/spear310/spear310.c
/rk3399_rockchip-uboot/board/spear/spear320/spear320.c
/rk3399_rockchip-uboot/board/spear/spear600/spear600.c
/rk3399_rockchip-uboot/board/spear/x600/x600.c
/rk3399_rockchip-uboot/board/synopsys/arcangel4/Makefile
/rk3399_rockchip-uboot/board/synopsys/axs101/Makefile
/rk3399_rockchip-uboot/board/synopsys/axs101/axs101.c
/rk3399_rockchip-uboot/board/synopsys/axs101/nand.c
/rk3399_rockchip-uboot/board/ti/dra7xx/README
/rk3399_rockchip-uboot/board/ti/omap5_uevm/README
/rk3399_rockchip-uboot/boards.cfg
cmd_mmc.c
spl/spl_mmc.c
/rk3399_rockchip-uboot/doc/README.ARC
/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/zynq_sdhci.c
/rk3399_rockchip-uboot/drivers/net/designware.c
/rk3399_rockchip-uboot/drivers/net/designware.h
/rk3399_rockchip-uboot/drivers/serial/Makefile
/rk3399_rockchip-uboot/drivers/serial/serial.c
/rk3399_rockchip-uboot/drivers/serial/serial_arc.c
/rk3399_rockchip-uboot/examples/standalone/stubs.c
/rk3399_rockchip-uboot/include/configs/arcangel4-be.h
/rk3399_rockchip-uboot/include/configs/arcangel4.h
/rk3399_rockchip-uboot/include/configs/axs101.h
/rk3399_rockchip-uboot/include/configs/bf609-ezkit.h
/rk3399_rockchip-uboot/include/configs/dra7xx_evm.h
/rk3399_rockchip-uboot/include/configs/omap5_uevm.h
/rk3399_rockchip-uboot/include/configs/spear-common.h
/rk3399_rockchip-uboot/include/configs/spear6xx_evb.h
/rk3399_rockchip-uboot/include/configs/x600.h
/rk3399_rockchip-uboot/include/dwmmc.h
/rk3399_rockchip-uboot/include/mmc.h
/rk3399_rockchip-uboot/include/netdev.h
/rk3399_rockchip-uboot/include/spl.h
/rk3399_rockchip-uboot/net/eth.c

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