Re: [U-Boot] [PATCH 07/11] blackfin: bf609: add board and headers files to support bf609

2013-02-08 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:26 PM, Wolfgang Denk w...@denx.de wrote: Dear Sonic Zhang, In message 1360223258-6945-8-git-send-email-sonic@gmail.com you wrote: From: Sonic Zhang sonic.zh...@analog.com Board and config header files for bf609-ezkit support. Checkpatch errors, please fix.

Re: [U-Boot] [PATCH 08/11] Blackfin: bf60x: add rsi/sdh support

2013-02-08 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:17 PM, Wolfgang Denk w...@denx.de wrote: Dear Sonic Zhang, In message 1360223258-6945-9-git-send-email-sonic@gmail.com you wrote: From: Sonic Zhang sonic.zh...@analog.com Add rsi/sdh support for bf60x. Checkpatch errors. Please fix. @@ -113,16 +131,19 @@

[U-Boot] [PATCH v2] MAKEALL: fix kill_children for BSD hosts

2013-02-08 Thread Andreas Bießmann
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Unfortunately there seems no solution to get the PIDs of children in a platfrom independent manner. Therefore detect the OS and decide upon that which way to go. This patch makes the

[U-Boot] [PATCH v3] env: Allow accessing non-mtd devices

2013-02-08 Thread Lubomir Rintel
In certain cases, memory device is present as flat file or block device (via mmc or mtdblock layer). Do not attempt MTD operations against it. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- Changes for v2: - Coding Style cleanup - Clarified an error message Changes for v3: - Used

[U-Boot] [PATCHv2 0/4] add SPL ONENAND support.

2013-02-08 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com Hi all, This is the second version to add ONENAND support to the SPL. Changes since v1: * Replace ONE_NAND defines for ONENAND (Tom and Kyungmin) * Remove unnused variables (Kyungmin) * Split patch 2 in two, things related to SPL

[U-Boot] [PATCHv2 1/4] SPL: ONENAND: Fix some ONENAND related defines.

2013-02-08 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com Some ONENAND related defines use the term ONE_NAND instead of ONENAND, as the technology name is ONENAND this patch replaces all these defines. Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- arch/arm/cpu/arm1136/mx35/generic.c

[U-Boot] [PATCHv2 4/4] OMAP3: Initialize gpmc if SPL_ONENAND_SUPPORT is enabled.

2013-02-08 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com In order to use SPL boot from OneNAND we should initialize the gpmc. Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- arch/arm/cpu/armv7/omap3/board.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCHv2 3/4] SPL: ONENAND: Support SPL to boot u-boot from OneNAND.

2013-02-08 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com This patch will allow use SPL to boot an u-boot from the OneNAND. Tested with IGEPv2 board with a OneNAND from Numonyx Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- common/spl/Makefile |1 + common/spl/spl.c

[U-Boot] [PATCHv2 2/4] SPL: ONENAND: Fix onenand_spl_load_image implementation.

2013-02-08 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com Tested with an IGEPv2 board seems that current onenand_spl_load_image implementation doesn't work. This patch fixes this function changing the read loop and reading the onenand blocks from page to page. Tested with various IGEP based boards

Re: [U-Boot] [PATCH v2 1/3] Tegra: I2C: Add T114 clock support to tegra_i2c driver

2013-02-08 Thread Laxman Dewangan
On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: T114 has a slightly different I2C clock, with a new divisor for standard/fast mode and HS mode. Tested on my Dalmore, and the I2C clock is 100KHz +/- 3% on my Saleae Logic analyzer. Signed-off-by: Tom Warren twar...@nvidia.com --- v2: new

[U-Boot] [PATCH 1/3] gpio: Build the da8xx_gpio code for the davinci644x device

2013-02-08 Thread Holger Hans Peter Freyther
The differences include the number of GPIOs and that one is not required to set the pinmux on request. Signed-off-by: Holger Hans Peter Freyther hol...@freyther.de --- arch/arm/include/asm/arch-davinci/gpio.h |8 +++- drivers/gpio/Makefile|1 +

[U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-02-08 Thread Holger Hans Peter Freyther
u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. Signed-off-by: Holger Hans Peter Freyther hol...@freyther.de --- common/cmd_led.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 3/3] mac: Fix the condition check for setting the MAC from the EEPROM

2013-02-08 Thread Holger Hans Peter Freyther
The issue got introduced in a cleanup by Manjunath Hadli in commit 826e99136e2bce61f3f6572e32d7aa724c116e6d. The eth_getenv_enetaddr_by_index method will validate the MAC addr and if none is set in the environment 0 will be returned. Set the MAC from the eeprom if no valid address is found in

[U-Boot] [PATCH 0/3] omap3: mvblx: small changes

2013-02-08 Thread Michael Jones
A few minor changes to mvblx Howard Gray (1): omap3: mvblx: change console to ttyO0 and make silent by default. Michael Jones (2): omap3: mvblx: select fpgafilename according to orientation omap3: mvblx: pass FPGA version to the kernel board/matrix_vision/mvblx/fpga.c | 14

[U-Boot] [PATCH 3/3] omap3: mvblx: pass FPGA version to the kernel

2013-02-08 Thread Michael Jones
Extract FPGA version from the .rbf and pass this info to the kernel. Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- board/matrix_vision/mvblx/fpga.c | 14 +- include/configs/omap3_mvblx.h|1 + 2 files changed, 14 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 2/3] omap3: mvblx: select fpgafilename according to orientation

2013-02-08 Thread Michael Jones
Rather than load the FPGA file from the FAT partition, look at entry in system EEPROM to decide which file to retrieve directly from the EXT3 partition. Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- board/matrix_vision/mvblx/sys_eeprom.c | 24

[U-Boot] [PATCH 1/3] omap3: mvblx: change console to ttyO0 and make silent by default.

2013-02-08 Thread Michael Jones
From: Howard Gray howard.g...@matrix-vision.de Also, change bootdelay to 0 but allow pressing 'S' to stop at U-Boot prompt. Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- include/configs/omap3_mvblx.h | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 0/8] mpc512x updates for current merge window

2013-02-08 Thread Anatolij Gustschin
Various cleanups, extensions and new support for ac14xx board Anatolij Gustschin (8): mpc512x: add common LAW and Chip Select configuration mpc512x: use common code for CSx configuration mpc512x: use common code for clock setting for all mpc512x boards mpc512x: optionally configure DIU,

[U-Boot] [PATCH 1/8] mpc512x: add common LAW and Chip Select configuration

2013-02-08 Thread Anatolij Gustschin
Currently each mpc512x board has its own LAW and CS config code, we should avoid this code duplication. Allow all boards to use common code by only defining LAW and CS config macros like CONFIG_SYS_CSx_START, CONFIG_SYS_CSx_SIZE and CONFIG_SYS_CSx_CFG. Also allow common configuration of

[U-Boot] [PATCH 2/8] mpc512x: use common code for CSx configuration

2013-02-08 Thread Anatolij Gustschin
Remove CSx configurations from board code and only define required CSx macros in the board config file to configure chip select windows and parameters. Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Reinhard Arlt reinhard.a...@esd-electronics.com Cc: Wolfgang Denk w...@denx.de ---

[U-Boot] [PATCH 5/8] mpc512x: allow configuring board specific IPS divider

2013-02-08 Thread Anatolij Gustschin
Boards may define own IPS divider in the config file if the default IPS divider doesn't fit their needs. Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/powerpc/include/asm/immap_512x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 3/8] mpc512x: use common code for clock setting for all mpc512x boards

2013-02-08 Thread Anatolij Gustschin
Only define enabled clocks in the config file and enable the clocks in common code. Signed-off-by: Anatolij Gustschin ag...@denx.de Cc: Reinhard Arlt reinhard.a...@esd-electronics.com Cc: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc512x/cpu_init.c |9

[U-Boot] [PATCH 4/8] mpc512x: optionally configure DIU, LPC and NFC deviders

2013-02-08 Thread Anatolij Gustschin
If a board config file defines DIU, LPC and NFC deviders, configure them in the SCFR1 register. Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/powerpc/cpu/mpc512x/cpu_init.c | 15 +++ arch/powerpc/include/asm/immap_512x.h |6 ++ 2 files changed, 21

[U-Boot] [PATCH 6/8] mpc512x: add ifm ac14xx board

2013-02-08 Thread Anatolij Gustschin
Add new mpc5121e based ac14xx board and a new pinmux config function for setting individual pinmux bit groups. This function is used in ac14xx board code. Signed-off-by: Anatolij Gustschin ag...@denx.de --- MAINTAINERS |1 + arch/powerpc/cpu/mpc512x/iopin.c |

[U-Boot] [PATCH 8/8] mpc512x: pdm360ng: drop not needed memory node fixup

2013-02-08 Thread Anatolij Gustschin
ft_cpu_setup() already does memory node fixup, no need to do it again. Signed-off-by: Anatolij Gustschin ag...@denx.de --- board/pdm360ng/pdm360ng.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c index

[U-Boot] [PATCH 7/8] mpc512x: Adjust the DRAM init sequence to the datasheet spec

2013-02-08 Thread Anatolij Gustschin
Do maintain a 200 usecs period of stable power and clock before asserting the CKE signal and sending commands, have at least 200 DRAM clock cycles pass after initialization before data access. Signed-off-by: Anatolij Gustschin ag...@denx.de --- arch/powerpc/cpu/mpc512x/fixed_sdram.c | 17

Re: [U-Boot] [PATCH 1/3] omap3: mvblx: change console to ttyO0 and make silent by default.

2013-02-08 Thread Stefan Roese
On 02/08/2013 10:53 AM, Michael Jones wrote: From: Howard Gray howard.g...@matrix-vision.de Also, change bootdelay to 0 but allow pressing 'S' to stop at U-Boot prompt. Signed-off-by: Michael Jones michael.jo...@matrix-vision.de Michael, you should to add a s-o-b from the original author

Re: [U-Boot] (no subject)

2013-02-08 Thread Marek Vasut
Dear Bhat Vijay-B43969, Please _always_ CC the U-Boot mailing list. Hi Marek, I was looking into your file mxs_init.h for iMX28 SPL framework. I have to write the similar file for iMX6Q architecture not getting how to start. I have done some configuration for iMX6Q and compiled code and able

Re: [U-Boot] [PATCH 2/3] led: The gpio_led.c code expects that LED state is from the enum

2013-02-08 Thread Otavio Salvador
On Fri, Feb 8, 2013 at 7:41 AM, Holger Hans Peter Freyther hol...@freyther.de wrote: u-boot is not consistent if state should be 0|1 or of the enum, the GPIO driver expects this to be one of the enum values. Update the caller. Signed-off-by: Holger Hans Peter Freyther hol...@freyther.de I

[U-Boot] [PATCH 2/2] am335x-evm: add support for BeagleBone Black DT name

2013-02-08 Thread Koen Kooi
Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 2190a7d..951422c 100644 --- a/include/configs/am335x_evm.h +++

[U-Boot] [PATCH 1/2] am335x-evm: enable ext4

2013-02-08 Thread Koen Kooi
The kernel is loaded from an ext4 partition, not ext2 on beaglebone boards. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 72459d8..2190a7d

[U-Boot] [PATCH 4/7] Add cros_ec_lpc.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler rspang...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Hung-ying Tyan ty...@chromium.org --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_lpc.c | 282 + 2 files changed, 283

[U-Boot] [PATCH 0/7] Add cros-ec protocol driver and enable it in smdk5250.

2013-02-08 Thread Hung-ying Tyan
The series depends on http://patchwork.ozlabs.org/patch/217347. Hung-ying Tyan (7): Add cros_ec driver. Add cros_ec_i2c. Add cros_ec_spi. Add cros_ec_lpc. Add cros_ec_keyb. Add cros-ec-keyb to exynos5250-snow.dts. Enable cros-ec for smdk5250. README

[U-Boot] [PATCH 5/7] Add cros_ec_keyb.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler rspang...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Vincent Palatin vpala...@chromium.org Signed-off-by: Hung-ying Tyan ty...@chromium.org --- README | 5 + drivers/input/Makefile | 1 +

[U-Boot] [PATCH 7/7] Enable cros-ec for smdk5250.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Bernie Thompson bhthomp...@chromium.org Signed-off-by: Chander Kashyap chander.kash...@linaro.org Signed-off-by: Che-Liang

[U-Boot] [PATCH 3/7] Add cros_ec_spi.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Hung-ying Tyan ty...@chromium.org Signed-off-by: Randall Spangler rspang...@chromium.org Signed-off-by: Simon Glass s...@chromium.org --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_spi.c | 165 + drivers/spi/exynos_spi.c |

[U-Boot] [PATCH 2/7] Add cros_ec_i2c.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Randall Spangler rspang...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Hung-ying Tyan ty...@chromium.org --- drivers/misc/Makefile | 1 + drivers/misc/cros_ec_i2c.c | 198 + 2 files changed, 199

[U-Boot] [PATCH 6/7] Add cros-ec-keyb to exynos5250-snow.dts.

2013-02-08 Thread Hung-ying Tyan
Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Bernie Thompson bhthomp...@chromium.org Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Gabe Black gabebl...@chromium.org Signed-off-by: Hatim Ali hatim...@samsung.com Signed-off-by: Sean Paul seanp...@chromium.org

[U-Boot] [PATCH v5 01/23] ppc: Add initial memory barrier macros

2013-02-08 Thread Simon Glass
These are available on other architectures, so add them on ppc. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/include/asm/io.h | 8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH v5 05/23] arm: Use sections header to obtain link symbols

2013-02-08 Thread Simon Glass
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Remove avr32 changes from what should be an arm patch Changes in v4: - Use asm/sections.h instead of asm-generic/sections.h Changes in v3: None

[U-Boot] [PATCH v5 06/23] x86: nds32: Change stub example to use asm-generic/sections.h

2013-02-08 Thread Simon Glass
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Adjust u-boot-nds32.h link symbols to keep U-Boot building Changes in v4: - Use asm/sections.h instead of

[U-Boot] [PATCH v5 02/23] Introduce generic u-boot.h file

2013-02-08 Thread Simon Glass
This file holds the board info structure. We need this to be generic for the unified board series, so create a structure which contains the basic fields required by the main architectures. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Use unsigned int for baud_rate - Remove

[U-Boot] [PATCH v5 19/23] x86: Adjust board_f.c for x86

2013-02-08 Thread Simon Glass
For x86, things have adjusted somewhat since this series was originally written. It has its own way of running through initcalls which is actually nicer than others archs. Unfortunately this does introduce exceptions. We will soon require use of generic board on x86, but until then we need to fit

[U-Boot] [PATCH v5 12/23] Add spl load feature

2013-02-08 Thread Simon Glass
This adds secondary program loader support to the generic board. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/board_f.c | 20 1 file changed, 20 insertions(+) diff --git

[U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Simon Glass
Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: - Rebase to master - Drop sc520_timer.c patch (warning already fixed by previous patch) Changes in v3: - Rebase to master - Rebase on top of x86/master (which

[U-Boot] [PATCH v5 04/23] Introduce generic link section.h symbol files

2013-02-08 Thread Simon Glass
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us. Each

[U-Boot] [PATCH v5 07/23] Introduce a basic initcall implementation

2013-02-08 Thread Simon Glass
This library supports calling a list of functions one after the other. It is intended that we move to a more powerful initcall implementation as proposed by Graeme Russ graeme.r...@gmail.com. For now, this allows us to do the basics. Signed-off-by: Simon Glass s...@chromium.org --- Changes in

[U-Boot] [PATCH v5 09/23] Declare watchdog functions in watchdog.h

2013-02-08 Thread Simon Glass
These functions are only available for powerpc and are not declared in a header file. We want to use the rest function in two places (board_f and board_r), so declare the functions in watchdog.h. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Avoid using static declaration for

[U-Boot] [PATCH v5 14/23] arm: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk| 3 --- arch/arm/include/asm/u-boot.h | 9

[U-Boot] [PATCH v5 13/23] arm: Remove use of board_early_init_r/last_stage_init()

2013-02-08 Thread Simon Glass
These boards define CONFIG_LAST_STAGE_INIT and CONFIG_BOARD_EARLY_INIT_R but these options are not available on ARM. Move them into the powerpc common file instead. This change affects: km_kirkwood_pci, mgcoge3un, kmnusa, kmcoge5un, km_kirkwood and portl2. Signed-off-by: Simon Glass

[U-Boot] [PATCH v5 11/23] Introduce generic post-relocation board_r.c

2013-02-08 Thread Simon Glass
This file handles common post-relocation init for boards which use the generic framework. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add code from arch/arm/lib/board.c to control loading of environment - Put watchdog init function definitions in watchdog.h - Adjust ppc to

[U-Boot] [PATCH v5 08/23] Define CONFIG_SYS_LEGACY_BOARD everywhere

2013-02-08 Thread Simon Glass
We are introducing a new unified board setup and we want this to be the default. So we need to opt all architectures out first. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None README| 11

[U-Boot] [PATCH v5 21/23] x86: Use sections header to obtain link symbols

2013-02-08 Thread Simon Glass
These are defined in asm-generic/sections.h, so remove them from architecture-specific files. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Include asm/sections.h in x86 sdram code - Define _end instead of __end for x86 Changes in v4: - Use asm/sections.h instead of

[U-Boot] [PATCH v5 18/23] ppc: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that ppc boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/powerpc/config.mk| 3 ---

[U-Boot] [PATCH v5 15/23] Add CONFIG_SYS_SYM_OFFSETS to support offset symbols

2013-02-08 Thread Simon Glass
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both. As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to

[U-Boot] [PATCH v5 10/23] Introduce generic pre-relocation board_f.c

2013-02-08 Thread Simon Glass
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add fdtdec header file to board_f.c - Remove

[U-Boot] [PATCH v5 16/23] Adjust board_f.c for ppc

2013-02-08 Thread Simon Glass
This adds ppc features to the generic pre-relocation board init. This is a separate commit so that these features are clearly shown. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Use watchdog.h for watchdog functions - Add define to work around __bss_end / __bss_end__

[U-Boot] [PATCH v5 17/23] Adjust board_r.c for ppc

2013-02-08 Thread Simon Glass
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add prototype for update_flash_size() to include/common.h - Updates in board_r.c to make ppc build correctly - Add prototype for board_start_ide() to include/ide.h -

[U-Boot] [PATCH v5 20/23] x86: Adjust board_r.c for x86

2013-02-08 Thread Simon Glass
For x86 the global_data is managed entirely by the start.S code so we do not need to touch it. However, we do have some more initcalls to add. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add new patch to adjust board_r.c for x86 Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v5 22/23] x86: Enable generic board support

2013-02-08 Thread Simon Glass
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Avoid setting up gd on x86 as it is already done Changes in v4: None Changes in v3: None Changes in v2: None arch/x86/config.mk

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
On Feb 7, 2013, at 5:22 PM, Scott Wood scottw...@freescale.com wrote: It's fine until you get a bad block in the partition, and you end up accessing the first block of the next partition (or getting Attempt to read/write outside the flash area if it's the last partition). Of course,

Re: [U-Boot] [PATCH 3/4 V3] S5P: Rename GPIO definitions

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch rename GPIO definitions from GPIO_... to S5P_GPIO_... This changes was done to enable cmd_gpio for EXYNOS and cmd_gpio has GPIO_INPUT same as s5p_gpio driver and hence getting a error

Re: [U-Boot] [PATCH 4/4 V3] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch enables GPIO Command for EXYNOS5. Function has been added to asm/gpio.h to decode the input gpio name to gpio number. example: gpio set gpa00 Signed-off-by: Rajeshwari Shinde

Re: [U-Boot] [PATCH 1/4 V3] S5P: GPIO: Add generic pin numbering API's

2013-02-08 Thread Simon Glass
Hi Rajeshwari, On Thu, Feb 7, 2013 at 4:00 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds API's to set config, drive and pull factor in gpio pin numbering feature. Signed-off-by: Rajeshawari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v2 1/3] Tegra: I2C: Add T114 clock support to tegra_i2c driver

2013-02-08 Thread Tom Warren
Laxman, On Fri, Feb 8, 2013 at 2:15 AM, Laxman Dewangan ldewan...@nvidia.com wrote: On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: T114 has a slightly different I2C clock, with a new divisor for standard/fast mode and HS mode. Tested on my Dalmore, and the I2C clock is 100KHz +/-

[U-Boot] [PATCH 0/4] Remove old unused x86 boards and code

2013-02-08 Thread Simon Glass
As suggested by Graeme Russ this series attempts to remove old unused boards and code from x86 U-Boot. This includes: - Dumping the eNET boards - Dumping the SC520 CPU - Dumping 16-bit 'Real Mode' support (other than what is needed for the reset vector and protected mode switch) No

[U-Boot] [PATCH 4/4] x86: Remove 16-bit reset code

2013-02-08 Thread Simon Glass
This code is not needed now, since we boot U-Boot from Coreboot on x86. Signed-off-by: Simon Glass s...@chromium.org --- Makefile | 4 -- README | 4 -- arch/x86/cpu/Makefile | 1 - arch/x86/cpu/resetvec.S| 38

Re: [U-Boot] U-boot nand bug, read.part should fail

2013-02-08 Thread Harvey Chapman
Eh, I shouldn't post code that quickly… Try this: diff --git a/common/cmd_nand.c b/common/cmd_nand.c --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -621,60 +621,80 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, nand = nand_info[dev]; s = strchr(cmd, '.');

Re: [U-Boot] [PATCH v2] mmc: Split device init to decouple OCR-polling delay

2013-02-08 Thread Simon Glass
Hi, On Sun, Dec 16, 2012 at 7:44 PM, Simon Glass s...@chromium.org wrote: Hi, On Sun, Dec 16, 2012 at 6:12 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 12/16/2012 02:18 AM, Simon Glass wrote: Hi, On Fri, Nov 30, 2012 at 3:13 PM, Simon Glass s...@chromium.org wrote: Hi Jaehoon, On

Re: [U-Boot] [PATCH V5 02/10] EXYNOS5: FDT: Add DWMMC device node data

2013-02-08 Thread Simon Glass
Hi Amarendra, On Mon, Jan 28, 2013 at 1:20 AM, Amarendra Reddy amar.lavan...@gmail.com wrote: Hi Simon, You mean to add removable flag in device node ? Yes Are you referring to the overhead involved during MMC boot, and a SD card is not present on the board ? Can you please elaborate on

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Stephen Warren
On 02/08/2013 08:12 AM, Simon Glass wrote: Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Shouldn't this be enabled for Tegra generically, rather than for just one Tegra board? I haven't looked at the rest of the series yet, but it sure seems better if all Tegra boards always work the

[U-Boot] [PATCH v3 0/3] Add I2C driver for T114 Dalmore

2013-02-08 Thread Tom Warren
Update DT tables and enable I2C driver support for the Tegra114 Dalmore board. This uses the standard Tegra I2C driver. 5 controllers are supported, although all may not have devices behind them on every board. Changes in V2: - use new calculation for T114 I2C clocks - incorporate review comments

[U-Boot] [PATCH v3 1/3] Tegra: I2C: Add T114 clock support to tegra_i2c driver

2013-02-08 Thread Tom Warren
T114 has a slightly different I2C clock, with a new (extra) divisor in standard/fast mode and HS mode. Tested on my Dalmore, and the I2C clock is 100KHz +/- 3Hz on my Saleae Logic analyzer. Added a new entry in compat_names for T114 I2C since it differs from the previous Tegra SoCs. A flag is set

[U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-08 Thread Tom Warren
T114, like T30, does not have a separate/different DVC (power I2C) controller like T20 - all 5 I2C controllers are identical, but I2C5 is used to designate the controller intended for power control (PWR_I2C in the schematics). PWR_I2C is set to 400KHz. Signed-off-by: Tom Warren twar...@nvidia.com

[U-Boot] [PATCH v3 3/3] Tegra114: I2C: Enable I2C driver on Dalmore E1611 eval board

2013-02-08 Thread Tom Warren
Tested all 5 'buses', i2c probe enumerates device addresses on bus 1 and 2. Signed-off-by: Tom Warren twar...@nvidia.com Acked-by: Laxman Dewangan ldewan...@nvidia.com --- v2: No change v3: No change include/configs/dalmore.h |9 + include/configs/tegra114-common.h |3

[U-Boot] Hello-World Standalone Crash on Exit

2013-02-08 Thread Darcy Watkins
Hello, I test drove the standalone program for hello world and found it causes a crash/reset when you hit the key to exit the program. The u-boot I am using is actually based on a git d69dba367aed051663d0ee1ece013c8232bfa9f5 snapshot from the u-boot-mpc85xx branch. It appears like the

Re: [U-Boot] [PATCH v3 2/3] Tegra114: fdt: Update DT files with I2C info for T114/Dalmore

2013-02-08 Thread Stephen Warren
On 02/08/2013 10:25 AM, Tom Warren wrote: T114, like T30, does not have a separate/different DVC (power I2C) controller like T20 - all 5 I2C controllers are identical, but I2C5 is used to designate the controller intended for power control (PWR_I2C in the schematics). PWR_I2C is set to 400KHz.

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Simon Glass
Hi Stephen On Fri, Feb 8, 2013 at 9:23 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/08/2013 08:12 AM, Simon Glass wrote: Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Shouldn't this be enabled for Tegra generically, rather than for just one Tegra board? I haven't looked at

[U-Boot] [PATCH v5 0/23] Create generic board init for ARM, x86, PPC

2013-02-08 Thread Simon Glass
This series creates a generic board init implementation which contains the essential functions of the major arch/xxx/lib/board.c files. It is split into two parts: board_f.c for pre-relocation and board_r.c for post-relocation. What is the motivation for this change? 1. There is a lot of

Re: [U-Boot] Please pull u-boot-ti/master

2013-02-08 Thread Albert ARIBAUD
Hi Tom, On Thu, 7 Feb 2013 14:19:44 -0500, Tom Rini tr...@ti.com wrote: Hello, The following changes since commit 5bedf884a8508f1b2f5b8f74e67d987a81ff05ed: ARM: highbank: use wfi macro instead of inline asm (2013-02-03 14:44:02 +0100) are available in the git repository at:

Re: [U-Boot] Hello-World Standalone Crash on Exit

2013-02-08 Thread Darcy Watkins
Hello, Earlier I wrote that which included the following... = tftp 4 uboot/hello_world.bin Speed: 1000, full duplex Using eTSEC1 device TFTP from server 192.168.12.12; our IP address is 192.168.12.121 Filename 'uboot/hello_world.bin'. Load address: 0x4 Loading: # done Bytes transferred

Re: [U-Boot] [PATCH v5 23/23] tegra: Enable generic board for Seaboard.

2013-02-08 Thread Stephen Warren
On 02/08/2013 11:10 AM, Simon Glass wrote: Hi Stephen On Fri, Feb 8, 2013 at 9:23 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 02/08/2013 08:12 AM, Simon Glass wrote: Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Shouldn't this be enabled for Tegra generically, rather than

[U-Boot] [PATCH 0/5] Add support for using an UBI volume for environment

2013-02-08 Thread Joe Hershberger
NAND is not good at handling absolute addresses to sectors for storing particular data. The current implementation of the NAND env support works around this in several ways such as storing a pointer to the sector in the OOB of the first sector (interferes with some CRC) or supporting a range of

[U-Boot] [PATCH 5/5] env: Add redundant env support to UBI env

2013-02-08 Thread Joe Hershberger
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README| 6 +++ common/env_ubi.c | 115 ++ include/environment.h | 3 ++ tools/env/fw_env.c|

[U-Boot] [PATCH 3/5] mtd: Make mtdparts work with pre-reloc env

2013-02-08 Thread Joe Hershberger
The env in UBI needs to look up the mtd partition as part of relocation, which happens before relocation. Make the mtdparts code capable of working on the default env to start with. The code tries to set values in the env as well, but again, the env isn't there yet, so add a check to setenv to

[U-Boot] [PATCH 1/5] ubi: Expose a few simple functions from the cmd_ubi

2013-02-08 Thread Joe Hershberger
Part, Read, and Write functionality that will be used by env_ubi. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_ubi.c| 146 include/ubi_uboot.h | 3 ++ 2 files changed, 83 insertions(+), 66 deletions(-) diff --git

[U-Boot] [PATCH 4/5] env: Add support for UBI environment

2013-02-08 Thread Joe Hershberger
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- README| 15 common/Makefile | 1

[U-Boot] [PATCH 2/5] ubi: ubifs: Turn off verbose prints

2013-02-08 Thread Joe Hershberger
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_ubi.c | 3 +++ drivers/mtd/mtdpart.c | 14 -- drivers/mtd/ubi/ubi.h | 3 ++- fs/ubifs/ubifs.h | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff

[U-Boot] [PATCH] env: Avoid clobbering an edited variable on ctrl-c

2013-02-08 Thread Joe Hershberger
If readline says there was an error, don't write to the variable! Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 7633f0c..063536b 100644 ---

[U-Boot] [PATCH] Allow u-boot to be silent without forcing Linux to be

2013-02-08 Thread Joe Hershberger
That's a bit presumptuous of you, u-boot! Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 7ae5d5b..435c980 100644 --- a/common/cmd_bootm.c +++

[U-Boot] [PATCH] net: Correct check for link-local target IP conflict

2013-02-08 Thread Joe Hershberger
Make the link-local code conform more completely with the RFC. This will prevent ARP queries for the target (such as while it is rebooting) from causing the device to choose a different link-local address, thinking that its address is in use by another machine. Signed-off-by: Joe Hershberger

[U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-08 Thread Joe Hershberger
Because the code that handles bootdelay is compiled in conditionally based on the default value, you are restricted in the default, regardless of what you want the runtime options to be. Change the source to always check if any default is given so that other values can be selected and used at

Re: [U-Boot] [PATCH v2] MAKEALL: fix kill_children for BSD hosts

2013-02-08 Thread Joe Hershberger
On Fri, Feb 8, 2013 at 2:35 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Unfortunately there seems no solution to get the PIDs of children in a platfrom independent

[U-Boot] [PATCH 0/5] am335x_evm: Misc environment enhancements

2013-02-08 Thread Tom Rini
Hey all, The bulk of this series adds environemnt variables to better support working with NAND, SPI or ethernet. In the case of SPI we also add a spiboot target which will change environment to be looked for on SPI rather than NAND. This also documents how to use the network SPL options. --

[U-Boot] [PATCH 1/5] am335x_evm: Add NAND environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin chase.mau...@ti.com * Added support to the default environment variables for NAND boot. * Add nandboot to the default bootcmd. Signed-off-by: Chase Maupin chase.mau...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h | 14 ++ 1 file

[U-Boot] [PATCH 2/5] am335x_evm: Add SPI environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin chase.mau...@ti.com * Added variables to support SPI booting * Note that the first 512KiB are reserved for 4 copies of SPL. Signed-off-by: Chase Maupin chase.mau...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h | 14 ++ 1 file

[U-Boot] [PATCH 3/5] am335x_evm: Add NET environment variables

2013-02-08 Thread Tom Rini
From: Chase Maupin chase.mau...@ti.com * Add environment variables to support network booting Signed-off-by: Chase Maupin chase.mau...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h | 15 +++ 1 file changed, 15 insertions(+) diff --git

[U-Boot] [PATCH 4/5] doc/SPL/README.am335x-network: Document using ethernet (and USB) SPL

2013-02-08 Thread Tom Rini
From: Ilya Yanok ilya.ya...@cogentembedded.com Added README file with the description of required options and host configuration to use network SPL with am335x targets. Briefly discuss how to use this configuration to program empty boards. Signed-off-by: Ilya Yanok ilya.ya...@cogentembedded.com

[U-Boot] [PATCH 5/5] am335x evm: Add am335x_evm_spiboot target

2013-02-08 Thread Tom Rini
This target will move the environment into SPI flash and documents the expected layout. We correct the SPL define for where U-Boot is and remove an unused define. Signed-off-by: Tom Rini tr...@ti.com --- boards.cfg |1 + include/configs/am335x_evm.h | 25

[U-Boot] [PATCH] mtd: nand: Check if NAND is locked tight before lock cmds

2013-02-08 Thread Joe Hershberger
If the NAND is locked tight, commands such as lock and unlock will not work, but the NAND chip may not report an error. Check the lock tight status before attempting such operations so that an error status can be reported if we know the operation will not succeed. Signed-off-by: Joe Hershberger

  1   2   >