Re: [U-Boot] [PATCH 01/11] ext4: Split write support into its own file

2013-02-07 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Thu, Feb 7, 2013 at 3:35 AM, Lukasz Majewski > wrote: > > Hi Simon, > > > >> > >> > This code seems to be entirely othogonal, so remove the #ifdef > >> > and put the condition in the Makefile instead. > >> > >> I'm fully with you in respect of cleaning/refactoring t

Re: [U-Boot] [PATCH 01/11] ext4: Split write support into its own file

2013-02-07 Thread Simon Glass
Hi Lukasz, On Thu, Feb 7, 2013 at 3:35 AM, Lukasz Majewski wrote: > Hi Simon, > >> >> > This code seems to be entirely othogonal, so remove the #ifdef and >> > put the condition in the Makefile instead. >> >> I'm fully with you in respect of cleaning/refactoring the ext4 u-boot >> code. >> >> I w

Re: [U-Boot] [PATCH 09/11] Blackfin: spi: add bf6xx spi driver

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:23 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-10-git-send-email-sonic@gmail.com> you wrote: >> From: Scott Jiang >> >> Spi driver for bf60x is different from old one, so implement a new >> driver for it. > > Checkpatch issues, please

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

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:26 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-8-git-send-email-sonic@gmail.com> you wrote: >> From: Sonic Zhang >> >> Board and config header files for bf609-ezkit support. > > Checkpatch errors, please fix. > > +#define CONFIG_BFIN_

[U-Boot] [U-boot] usbslave command

2013-02-07 Thread TigerLiu
Hi,experts: I have a question about using usb port to download files to memory. Some ARM OEM vendors have released customed uboot with integrated usbslave command. Developers could download files to target board's dram through USB port. So, official uboot release version has plans to integrate thi

Re: [U-Boot] [PATCH] Clean up libfdt.h includes

2013-02-07 Thread Stefan Roese
On 02/08/2013 02:33 AM, Jerry Van Baren wrote: > The libfdt.h file is the definition file for libfdt. It is unnecessary > to include other fdt header files (the necessary ones are pulled in > by libfdt.h). > > Signed-off-by: Gerald Van Baren Acked-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH][v2]powerpc/usb: Fix usb device-tree fix-up

2013-02-07 Thread Wolfgang Denk
Dear Ramneek Mehresh, In message <1360296886-2444-1-git-send-email-ramneek.mehr...@freescale.com> you wrote: > > + printf("ERROR: wrong usb mode/phy" > + " defined!!\n"); 1) Please do not split the error message across lines. Quotin

Re: [U-Boot] [PATCH 04/11] Blackfin: bf60x: add dma support

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:11 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-5-git-send-email-sonic@gmail.com> you wrote: >> From: Bob Liu >> >> Add dma support for bf60x. >> >> Signed-off-by: Bob Liu >> Signed-off-by: Sonic Zhang >> --- >> arch/blackfin/include

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

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:17 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-9-git-send-email-sonic@gmail.com> you wrote: >> From: Sonic Zhang >> >> Add rsi/sdh support for bf60x. > > Checkpatch errors. Please fix. OK > >> @@ -113,16 +131,19 @@ static int sdh_se

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

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:26 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-8-git-send-email-sonic@gmail.com> you wrote: >> From: Sonic Zhang >> >> Board and config header files for bf609-ezkit support. > > Checkpatch errors, please fix. OK > > >> +#define ADI_C

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

2013-02-07 Thread Minkyu Kang
Dear Rajeshwari, On 07/02/13 21:00, Rajeshwari Shinde 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 > --- > Changes in V2: > - Ne

Re: [U-Boot] [PATCH 02/11] Blackfin: bf60x: Port blackfin core architecture code to boot on bf60x.

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:21 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-3-git-send-email-sonic@gmail.com> you wrote: >> From: Sonic Zhang >> >> Set up clocks, DDR controller, Nor flash controller, reboot, >> serial port. Add new SPI boot modes. > > Checkpatch

[U-Boot] [PATCH][v2]powerpc/usb: Fix usb device-tree fix-up

2013-02-07 Thread Ramneek Mehresh
Fix USB device-tree fixup to properly handle device-tree fixup and print appropriate message when wrong/junk "dr_mode" or "phy_type" are mentioned in hwconfig string Signed-off-by: Ramneek Mehresh --- Changes for v2: - changed "WARNING" message to "ERROR" message arch/powerpc/cpu/mpc8xx

Re: [U-Boot] [PATCH] SPI: Winbond: Add W25Q32 to spi flash table

2013-02-07 Thread Simon Glass
On Thu, Feb 7, 2013 at 2:07 AM, Rajeshwari Shinde wrote: > Add W25Q32 to Winbond spi flash table as it is required for snow > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > drivers/mtd/spi/winbond.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --

Re: [U-Boot] [PATCH] Clean up libfdt.h includes

2013-02-07 Thread Simon Glass
On Thu, Feb 7, 2013 at 5:33 PM, Jerry Van Baren wrote: > The libfdt.h file is the definition file for libfdt. It is unnecessary > to include other fdt header files (the necessary ones are pulled in > by libfdt.h). > > Signed-off-by: Gerald Van Baren Acked-by: Simon Glass __

Re: [U-Boot] [PATCH 05/11] Blackfin: bf60x: support big cplb page

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:33 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-6-git-send-email-sonic@gmail.com> you wrote: >> From: Bob Liu >> >> Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for >> them. >> So that bf609-ezkit can use it's

Re: [U-Boot] [PATCH 03/11] Blackfin: bf60x: add serial support

2013-02-07 Thread Sonic Zhang
On Thu, Feb 7, 2013 at 6:15 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-4-git-send-email-sonic@gmail.com> you wrote: >> >> Add serial for bf60x. > > There is a large number of checkpatch issues. Please fix!! > OK. >> +/* >> + * All Blackfin system MMRs are p

Re: [U-Boot] [PATCH 2/4 V3] EXYNOS5: Add gpio pin numbering feature

2013-02-07 Thread Minkyu Kang
Dear Rajeshwari, On 07/02/13 21:00, Rajeshwari Shinde wrote: > This patch adds support for gpio pin numbering support on EXYNOS5 > pinmux. > > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - none. > Changes in V3: > - none. > a

[U-Boot] [PATCH] Clean up libfdt.h includes

2013-02-07 Thread Jerry Van Baren
The libfdt.h file is the definition file for libfdt. It is unnecessary to include other fdt header files (the necessary ones are pulled in by libfdt.h). Signed-off-by: Gerald Van Baren --- This comes from discussion on the Device Tree email list that is *the* user interface definition. FWIIW,

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

2013-02-07 Thread Harvey Chapman
[ I started this conversation off-list before I joined the list. ] The idea is to add .part as a valid command suffix to nand read/write so it would match nand erase.part. The code to implement it makes "nand read.part" act identically to "nand read". On Feb 7, 2013, at 4:59 PM, Scott Wood wro

[U-Boot] [PATCH] nand: fix nand read.option parsing

2013-02-07 Thread Harvey Chapman
"nand read.part addr off size" would be treated as "nand read.raw addr off 1" It now fails as intended stating "Unknown nand command suffix '.part'" Signed-off-by: Harvey Chapman --- common/cmd_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_nand.c b/comm

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

2013-02-07 Thread Scott Wood
On 02/07/2013 04:13:55 PM, Harvey Chapman wrote: [ I started this conversation off-list before I joined the list. ] The idea is to add .part as a valid command suffix to nand read/write so it would match nand erase.part. The code to implement it makes "nand read.part" act identically to "nan

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

2013-02-07 Thread Tom Warren
Stephen, On Thu, Feb 7, 2013 at 12:08 PM, Stephen Warren wrote: > On 02/07/2013 12:05 PM, Tom Warren wrote: >> Stephen, >> >> On Thu, Feb 7, 2013 at 11:20 AM, Stephen Warren >> wrote: >>> On 02/07/2013 11:14 AM, Tom Warren wrote: Stephen, On Thu, Feb 7, 2013 at 11:07 AM, Stephen

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

2013-02-07 Thread Tom Rini
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: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 8978f860a64eecfa0

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

2013-02-07 Thread Tom Rini
On Mon, Feb 04, 2013 at 03:13:42PM -0500, Tom Rini wrote: > Hello, > > The following changes since commit 1071e736ae1bfb4550dfac25ca865b06ef79c00e: > > Merge 'u-boot/master' (v2013.01.01) into 'u-boot-arm/master' (2013-02-03 > 15:30:20 +0100) > > are available in the git repository at: > >

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

2013-02-07 Thread Stephen Warren
On 02/07/2013 12:05 PM, Tom Warren wrote: > Stephen, > > On Thu, Feb 7, 2013 at 11:20 AM, Stephen Warren wrote: >> On 02/07/2013 11:14 AM, Tom Warren wrote: >>> Stephen, >>> >>> On Thu, Feb 7, 2013 at 11:07 AM, Stephen Warren >>> wrote: On 02/07/2013 09:17 AM, Tom Warren wrote: > Laxma

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

2013-02-07 Thread Tom Warren
Stephen, On Thu, Feb 7, 2013 at 11:20 AM, Stephen Warren wrote: > On 02/07/2013 11:14 AM, Tom Warren wrote: >> Stephen, >> >> On Thu, Feb 7, 2013 at 11:07 AM, Stephen Warren >> wrote: >>> On 02/07/2013 09:17 AM, Tom Warren wrote: Laxman, On Thu, Feb 7, 2013 at 7:57 AM, Laxman Dew

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

2013-02-07 Thread Stephen Warren
On 02/07/2013 11:14 AM, Tom Warren wrote: > Stephen, > > On Thu, Feb 7, 2013 at 11:07 AM, Stephen Warren wrote: >> On 02/07/2013 09:17 AM, Tom Warren wrote: >>> Laxman, >>> >>> On Thu, Feb 7, 2013 at 7:57 AM, Laxman Dewangan >>> wrote: On Thursday 07 February 2013 04:56 AM, Tom Warren wrot

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

2013-02-07 Thread Stephen Warren
On 02/07/2013 09:14 AM, Tom Warren wrote: > Stephen, > > On Wed, Feb 6, 2013 at 5:00 PM, Stephen Warren wrote: >> On 02/06/2013 04:26 PM, Tom Warren wrote: >>> Note that T114 does not have a separate/different DVC (power I2C) >>> controller like T20 - all 5 I2C controllers are identical, but >>>

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

2013-02-07 Thread Tom Warren
Stephen, On Thu, Feb 7, 2013 at 11:07 AM, Stephen Warren wrote: > On 02/07/2013 09:17 AM, Tom Warren wrote: >> Laxman, >> >> On Thu, Feb 7, 2013 at 7:57 AM, Laxman Dewangan wrote: >>> On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: Note that T114 does not have a separate/diffe

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

2013-02-07 Thread Stephen Warren
On 02/07/2013 09:17 AM, Tom Warren wrote: > Laxman, > > On Thu, Feb 7, 2013 at 7:57 AM, Laxman Dewangan wrote: >> On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: >>> >>> Note that T114 does not have a separate/different DVC (power I2C) >>> controller like T20 - all 5 I2C controllers are

Re: [U-Boot] changing bootcmd environment

2013-02-07 Thread Scott Wood
On 02/07/2013 12:08:19 AM, Ratheendran R wrote: Thanks Scott SD Card boot only to write firmware to NAND flash. *'And you should never use "nand scrub" in an automated way.' * what is better way of doing this, since I am using with an old uboot.. Just remove the scrub command and use normal e

[U-Boot] [PATCH v3 6/7] tegra: usb: move implementation into right directory

2013-02-07 Thread Lucas Stach
This moves the Tegra USB implementation into the drivers/usb/host directory. Note that this merges the old /arch/arm/cpu/armv7/tegra20/usb.c file into ehci-tegra.c. No code changes, just moving stuff around. v2: While at it also move some defines and the usb.h header file to make usb driver usable

[U-Boot] [PATCH v3 7/7] tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]

2013-02-07 Thread Lucas Stach
The ehci_hcd entry points were just calling into the Tegra USB functions. Now that they are in the same file we can just move over the implementation. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/include/asm/arch-tegra/usb.h | 19 -- drivers/usb/host/ehci-tegra.c |

[U-Boot] [PATCH v3 5/7] tegra: usb: various small cleanups

2013-02-07 Thread Lucas Stach
Remove unneeded headers, function prototype and stale comment, that doesn't match the actual codebase anymore. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c| 13 + arch/arm/include/asm/arch-tegra20/usb.h | 3 --- 2 files changed, 1 in

[U-Boot] [PATCH v3 3/7] tegra: usb: remove unneeded function parameter

2013-02-07 Thread Lucas Stach
Just a dead parameter, never actually used. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 07c1ade..2007483

[U-Boot] [PATCH v3 2/7] tegra: usb: make controller init functions more self contained

2013-02-07 Thread Lucas Stach
There is no need to pass around all those parameters. The init functions are able to easily extract all the needed setup info on their own. This allows to move out the controller init into ehci_hcd_init later on, without having to save away global state for later use and thus bloating the file gl

[U-Boot] [PATCH v3 1/7] tegra: usb: set USB_PORTS_MAX to correct value

2013-02-07 Thread Lucas Stach
Both Tegra20 and Tegra30 have a max of 3 USB controllers. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c index 1bccf2b..

[U-Boot] [PATCH v3 4/7] tegra: usb: move controller init into start_port

2013-02-07 Thread Lucas Stach
There is no need to init a USB controller before the upper layers indicate that they are actually going to use it. board_usb_init now only parses the device tree and sets up the common pll. Signed-off-by: Lucas Stach Acked-by: Simon Glass --- v2: - remember if port is already initialized and sk

[U-Boot] [PATCH v3 0/7] Move Tegra EHCI drive to correct place

2013-02-07 Thread Lucas Stach
This moves out the Tegra EHCI driver from a platform specific directory to the standard driver/usb/host dir. This is a preparation needed to share this driver between Tegra20 and Tegra30. No functional change in here, so Tegra30 is still not working. Patch 6 could be a lot smaller if it were gene

Re: [U-Boot] Fwd: Need a small help/info reg U-Boot.

2013-02-07 Thread Wolfgang Denk
Dear RajKumar R, In message you wrote: > > What does this fw_ really means? > > few friends told me, that, It MIGHT be *firmware*. But I am not sure about > this as I cant get any reference or any solid info about this., Indeed, it is supposed to mean firmware. > And I am also looking forward

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

2013-02-07 Thread Wolfgang Denk
Dear Lubomir, In message <1360244552.29426.9.camel@hobbes> you wrote: > > > You should define something like MTD_NO_FLASH or so, and use that. > > I found it a bit more abusive to use a MTD_* macro in mtd_type variable > for something what is not actually a type of a MTD device, specially > when

Re: [U-Boot] [PATCH v3] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Otavio Salvador
On Thu, Feb 7, 2013 at 2:45 PM, Fabio Estevam wrote: > On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted > and it is not able to reach the Linux prompt. > > Comparing the watchdog behaviour on a revB versus revC board: > > - On a mx6qsabresd revB: > > U-Boot > reset > re

[U-Boot] [PATCH v3] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Fabio Estevam
On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted and it is not able to reach the Linux prompt. Comparing the watchdog behaviour on a revB versus revC board: - On a mx6qsabresd revB: U-Boot > reset resetting ... U-Boot 2013.01-10524-g432a3aa-dirty (Feb 07 2013 - 13:3

[U-Boot] [PATCH v2] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Fabio Estevam
On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted and it is not able to reach the Linux prompt. Comparing the watchdog behaviour on a revB versus revC board: - On a mx6qsabresd revB: U-Boot > reset resetting ... U-Boot 2013.01-10524-g432a3aa-dirty (Feb 07 2013 - 13:3

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

2013-02-07 Thread Tom Warren
Laxman, On Thu, Feb 7, 2013 at 7:57 AM, Laxman Dewangan wrote: > On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: >> >> Note that T114 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 cont

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

2013-02-07 Thread Tom Warren
Stephen, On Wed, Feb 6, 2013 at 5:00 PM, Stephen Warren wrote: > On 02/06/2013 04:26 PM, Tom Warren wrote: >> Note that T114 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 fo

Re: [U-Boot] [PATCH] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Otavio Salvador
On Thu, Feb 7, 2013 at 2:07 PM, Fabio Estevam wrote: > On Thu, Feb 7, 2013 at 12:39 PM, Otavio Salvador > wrote: >> On Thu, Feb 7, 2013 at 12:28 PM, Fabio Estevam >> wrote: >>> On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets >>> resetted and it is not able >>> to reach the L

Re: [U-Boot] [PATCH] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Fabio Estevam
On Thu, Feb 7, 2013 at 12:39 PM, Otavio Salvador wrote: > On Thu, Feb 7, 2013 at 12:28 PM, Fabio Estevam > wrote: >> On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted >> and it is not able >> to reach the Linux prompt. >> >> Clearing the PDE - Power Down Enable bit fix

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

2013-02-07 Thread Laxman Dewangan
On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: Tested all 5 'buses', i2c probe enumerates device addresses on bus 1 and 2. Signed-off-by: Tom Warren --- v2: No change Looks good. Acked-by: Laxman Dewangan

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

2013-02-07 Thread Laxman Dewangan
On Thursday 07 February 2013 04:56 AM, Tom Warren wrote: Note that T114 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). Signed-off-by

[U-Boot] Fwd: Need a small help/info reg U-Boot.

2013-02-07 Thread RajKumar R
Hello Friends! Good Morning/Day. I am working in Samsung Research India, and I got a doubt regarding U-Boot. The below is that and please help me if you can refer some location where it is explained. What does the prefix "fw_" means? In Uboot, we have commands like fw_setenv, fw_printenv, and ev

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

2013-02-07 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 --- Changes looks good. Ack

[U-Boot] [PATCH] display_options:print_buffer: align ASCII print

2013-02-07 Thread Andreas Bießmann
This patch adds whitespace to the printed hex numbers to have an aligned ASCII printout at the end of the line. This changes for example the md output from: ---8<--- OMAP3 Tricorder # md.l $loadaddr 5 8200: 30200109 20a4028c 9001 08a0.. 0... 8210: 0101 ---

Re: [U-Boot] [PATCH] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Otavio Salvador
On Thu, Feb 7, 2013 at 12:28 PM, Fabio Estevam wrote: > On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted > and it is not able > to reach the Linux prompt. > > Clearing the PDE - Power Down Enable bit fixes the problem. > > Signed-off-by: Fabio Estevam What is not cle

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

2013-02-07 Thread Lubomir Rintel
On Thu, 2013-02-07 at 00:21 +0100, Wolfgang Denk wrote: > Dear Lubomir Rintel, > > In message <1360191866.3594.10.camel@unicorn> you wrote: > > > > > > - if (mtd_type != MTD_DATAFLASH) > > > > + if (mtd_type && mtd_type != MTD_DATAFLASH) > > > > > > This change appears

[U-Boot] [PATCH] mx6: Disable Power Down Bit of watchdog

2013-02-07 Thread Fabio Estevam
On a mx6qsabresd revision C board with rev1.2 mx6q, the system gets resetted and it is not able to reach the Linux prompt. Clearing the PDE - Power Down Enable bit fixes the problem. Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/soc.c | 17 - arch/arm/in

Re: [U-Boot] [PATCH 2/2] SPL: ONENAND: Support SPL to boot u-boot from OneNAND.

2013-02-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/07/2013 05:43 AM, Enric Balletbo Serra wrote: [snip] >> arch/arm/include/asm/arch-omap3/spl.h:29:#define >> BOOT_DEVICE_ONE_NAND 3 >> arch/arm/include/asm/arch-omap5/spl.h:30:#define >> BOOT_DEVICE_ONE_NAND4 >> arch/arm/include/asm/arc

Re: [U-Boot] [PATCH 00/11] Add BF60x processor support to Blackfin architecture.

2013-02-07 Thread Albert ARIBAUD
Hi Sonic, On Thu, 07 Feb 2013 11:04:23 +0100, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-1-git-send-email-sonic@gmail.com> you wrote: > > > > ADSP-BF60x is the new generation Blackfin® dual-core processor announced by > > Analog Devices in late March, 2012. Th

[U-Boot] [PATCH] mpc5200: a4m2k: Implement custom "dynamic" watchdog support

2013-02-07 Thread Stefan Roese
This patch adds a custom U-Boot command "wdogtoggle" which enables the external hardware watchdog toggling via an GPIO pin on the a4m2k board. After issuing this commands, the watchdog will be serviced by U-Boot so that the user can use all U-Boot commands from the prompt. Signed-off-by: Stefan Ro

[U-Boot] [v3 PATCH] mpc5200: Add a4m2k board port

2013-02-07 Thread Stefan Roese
This patch adds the a4m2k MPC5200B board port. Its a derivate of the a3m071 board with only minor changes. Additionally this patch includes some clean-up changes: - Remove I2C support from a3m071 as its unused - Fix/enhance default env variables - Fix some comments - Add newly introduced CONFIG_SP

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

2013-02-07 Thread Rajeshwari Shinde
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 --- Changes in V2: - New patch Changes in V3: - Created a table to know the base address of inp

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

2013-02-07 Thread Rajeshwari Shinde
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 during compilation. Build tested for s5p_goni, origen, smdk5250, s5pc210_universal, trats, smdkc100, sm

[U-Boot] [PATCH 2/4 V3] EXYNOS5: Add gpio pin numbering feature

2013-02-07 Thread Rajeshwari Shinde
This patch adds support for gpio pin numbering support on EXYNOS5 pinmux. Signed-off-by: Leela Krishna Amudala Signed-off-by: Rajeshwari Shinde --- Changes in V2: - none. Changes in V3: - none. arch/arm/cpu/armv7/exynos/pinmux.c | 148 + arch/arm/include/asm/ar

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

2013-02-07 Thread Rajeshwari Shinde
This patch adds API's to set config, drive and pull factor in gpio pin numbering feature. Signed-off-by: Rajeshawari Shinde Acked-by: Simon Glass --- Changes in V2: - none. Changes in V3: - none. drivers/gpio/s5p_gpio.c | 18 ++ 1 files changed, 18 insertions(+

[U-Boot] [PATCH 0/4 V3] EXYNOS5: Add GPIO numbering feature

2013-02-07 Thread Rajeshwari Shinde
This patchset adds GPIO numbering feature where pinmux setting can be done just by sending the pin number which is defined as a enum in asm/gpio.h. Changes in V2: - Enabled CMD_GPIO as suggested by Simon Glass and supported same for EXYNOS5 Changes in V3: - New patch added

Re: [U-Boot] [PATCHv2 0/3] new IGEP board support

2013-02-07 Thread Javier Martinez Canillas
On Thu, Feb 7, 2013 at 11:40 AM, [Enric Balletbo i Serra wrote: > From: Enric Balletbo i Serra > > Hi all, > > This is the second version to add support to the IGEP COM PROTON board in > current mainline. > > These patches applies on top of u-boot-ti repository as the following patch is > require

Re: [U-Boot] [PATCH 01/11] ext4: Split write support into its own file

2013-02-07 Thread Lukasz Majewski
Hi Simon, > > > This code seems to be entirely othogonal, so remove the #ifdef and > > put the condition in the Makefile instead. > > I'm fully with you in respect of cleaning/refactoring the ext4 u-boot > code. > > I will test this change when I only find some time ... > Are you doing any wo

[U-Boot] [PATCHv2 1/3] OMAP3: igep00x0: use official board names.

2013-02-07 Thread [Enric Balletbo i Serra
From: Enric Balletbo i Serra This trivial patch only changes current boards names for the official names. Signed-off-by: Enric Balletbo i Serra --- board/isee/igep00x0/igep00x0.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/isee/igep00x0/igep00x0.h b/board/i

[U-Boot] [PATCHv2 0/3] new IGEP board support

2013-02-07 Thread [Enric Balletbo i Serra
From: Enric Balletbo i Serra Hi all, This is the second version to add support to the IGEP COM PROTON board in current mainline. These patches applies on top of u-boot-ti repository as the following patch is required. OMAP3: use a single board file for IGEP devices commit 076be4528851126b5

[U-Boot] [U-boot][PATCHv2 2/3] OMAP3: igep00x0: add missing include mach-types.h

2013-02-07 Thread [Enric Balletbo i Serra
From: Enric Balletbo i Serra Current '#if' directives (used in igep00x0.h config file) comparing MACH_TYPE values in igep00x0.h doesn't work as expected. The comparision between CONFIG_MACH_TYPE and MACH_TYPE_IGEP0020 is always true independent of the IGEP machine configured. For example, follow

[U-Boot] [PATCHv2 3/3] OMAP3: igep00x0: Add new IGEP COM PROTON.

2013-02-07 Thread [Enric Balletbo i Serra
From: Enric Balletbo i Serra The IGEP COM PROTON is a new ultra compact module design with an on-board ethernet controller. Signed-off-by: Enric Balletbo i Serra --- MAINTAINERS|1 + board/isee/igep00x0/igep00x0.h |3 +++ boards.cfg |1 + inc

Re: [U-Boot] [PATCH 2/2] SPL: ONENAND: Support SPL to boot u-boot from OneNAND.

2013-02-07 Thread Enric Balletbo Serra
Hi, 2013/2/5 Enric Balletbo Serra : > Hi Kyungmin, > > Thanks for revisit the patch. > > 2013/2/5 Kyungmin Park : >> Hi, >> >> On Tue, Feb 5, 2013 at 6:23 PM, Enric Balletbo i Serra >> wrote: >>> From: Enric Balletbo i Serra >>> >>> This patch will allow use SPL to boot an u-boot from the OneNAN

Re: [U-Boot] [PATCH] ppc: Remove PCIPPC2 and PCIPPC6 boards

2013-02-07 Thread Wolfgang Denk
Dear Stefan Roese, In message <1360232218-6588-1-git-send-email...@denx.de> you wrote: > These boards seem to be unmaintained for quite some time. So lets > remove support for them completely. This also cleans up some > common drivers/files. > > Signed-off-by: Stefan Roese > Cc: Guillaume Alexan

Re: [U-Boot] [PATCH 05/11] Blackfin: bf60x: support big cplb page

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-6-git-send-email-sonic@gmail.com> you wrote: > From: Bob Liu > > Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for > them. > So that bf609-ezkit can use it's 128M memory. Checkpatch issues, please fix. > -#define CPLB

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

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-8-git-send-email-sonic@gmail.com> you wrote: > From: Sonic Zhang > > Board and config header files for bf609-ezkit support. Checkpatch errors, please fix. > +#define ADI_CMDS_NETWORK 1 > +#define CONFIG_NETCONSOLE1 > +#define CONFIG_NE

Re: [U-Boot] [PATCH 09/11] Blackfin: spi: add bf6xx spi driver

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-10-git-send-email-sonic@gmail.com> you wrote: > From: Scott Jiang > > Spi driver for bf60x is different from old one, so implement a new > driver for it. Checkpatch issues, please fix. Best regards, Wolfgang Denk -- DENX Software Engineering

Re: [U-Boot] [PATCH 11/11] Blackfin: bf60x: add resume from hibernate

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-12-git-send-email-sonic@gmail.com> you wrote: > From: Steven Miao > > Add Bf60x resume from hibernate support > > Signed-off-by: Steven Miao > Signed-off-by: Sonic Zhang > Signed-off-by: Bob Liu Checkpatch issues, please fix. Best regards,

Re: [U-Boot] [PATCH 02/11] Blackfin: bf60x: Port blackfin core architecture code to boot on bf60x.

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-3-git-send-email-sonic@gmail.com> you wrote: > From: Sonic Zhang > > Set up clocks, DDR controller, Nor flash controller, reboot, > serial port. Add new SPI boot modes. Checkpatch issues, please fix. > +#ifndef __ADSPBF60x__ > +#include > +#e

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

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-9-git-send-email-sonic@gmail.com> you wrote: > From: Sonic Zhang > > Add rsi/sdh support for bf60x. Checkpatch errors. Please fix. > @@ -113,16 +131,19 @@ static int sdh_setup_data(struct mmc *mmc, struct > mmc_data *data) ... > - int ret

Re: [U-Boot] [PATCH 03/11] Blackfin: bf60x: add serial support

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-4-git-send-email-sonic@gmail.com> you wrote: > > Add serial for bf60x. There is a large number of checkpatch issues. Please fix!! > +/* > + * All Blackfin system MMRs are padded to 32bits even if the register > + * itself is only 16bits. So us

Re: [U-Boot] [PATCH 04/11] Blackfin: bf60x: add dma support

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-5-git-send-email-sonic@gmail.com> you wrote: > From: Bob Liu > > Add dma support for bf60x. > > Signed-off-by: Bob Liu > Signed-off-by: Sonic Zhang > --- > arch/blackfin/include/asm/dma.h | 113 > -- > a

Re: [U-Boot] [PATCH 00/11] Add BF60x processor support to Blackfin architecture.

2013-02-07 Thread Wolfgang Denk
Dear Sonic Zhang, In message <1360223258-6945-1-git-send-email-sonic@gmail.com> you wrote: > > ADSP-BF60x is the new generation Blackfin® dual-core processor announced by > Analog Devices in late March, 2012. This patch set adds BF60x processor > support > to Das U-Boot Blackfin architecture

[U-Boot] [PATCH] SPI: Winbond: Add W25Q32 to spi flash table

2013-02-07 Thread Rajeshwari Shinde
Add W25Q32 to Winbond spi flash table as it is required for snow Signed-off-by: Rajeshwari Shinde --- drivers/mtd/spi/winbond.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index f6aab3d..f47634e 100644 --- a/d

Re: [U-Boot] am33xx config_ddr api change needed to support mDDR

2013-02-07 Thread Markus Brunner
Hi Tom, I'm not using an eeprom, but I can't see how this would change anything. The problem is, that the generic config_ddr from am3xx/emif4.c isn't capable of configuring mDDR and all that's needed is setting an additional register. I will post a patch. Regards, Markus On Wed, Feb 6, 2013 at 5:

Re: [U-Boot] PPC405 with XMD boot

2013-02-07 Thread Rommel Custodio
Stefan Roese denx.de> writes: > > On 02/07/2013 04:20 AM, Frank Lombardo wrote: > > Thanks for the responses guys. I got to work. What I found was that > > the address being passed to the driver code was 0x8400. This is the > > base address of the UART. However, the registers of the XPS

Re: [U-Boot] [U-boot]-gdwarf option

2013-02-07 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I have a JTAG debugger. Congrats. > Its manual suggested user should add "-gdwarf-2" option in the arm gcc > compiler. > Because it could produce debugging information. Ah, so it is not a BDI3000... Well, good luck. > But I searched the

Re: [U-Boot] [PATCH] arm: fix bug on relocation address

2013-02-07 Thread Luca Ellero
Hi all, On 01/02/2013 10.49, Luca Ellero wrote: Hi, On 01/02/2013 11.07, Heiko Schocher wrote: Hello Luce, Am 01.02.2013 09:50, schrieb Luca Ellero: Hi Jeroen, Hi Heiko, On 31/01/2013 20.08, Jeroen Hofstee wrote: Hello Luca, On 01/31/2013 03:29 PM, Luca Ellero wrote: If (N. SDRAM banks >

[U-Boot] Pull request for ARM zynq

2013-02-07 Thread Michal Simek
Hi Albert, please pull these three patches to your arm custodian tree. All of them are related to xilinx zynq. Also after my discussion with Wolfgang Denk I have enabled DCC for zynq because we are using it in one configuration and this driver is not compiled by any platform. Thanks, Michal Th

[U-Boot] [PATCH 05/11] Blackfin: bf60x: support big cplb page

2013-02-07 Thread Sonic Zhang
From: Bob Liu Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for them. So that bf609-ezkit can use it's 128M memory. Signed-off-by: Bob Liu Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/cplb.h | 17 +++-- arch/blackfin/lib/board.c| 27

[U-Boot] [U-boot]-gdwarf option

2013-02-07 Thread TigerLiu
Hi, experts: I have a JTAG debugger. Its manual suggested user should add "-gdwarf-2" option in the arm gcc compiler. Because it could produce debugging information. But I searched the whole uboot source package, could not find "-gdwarf-2" option in config.mk or other files. Why? Best wishes, _