[U-Boot] [PATCH 1/9] arm/km: add board type to boards.cfg

2012-05-25 Thread Holger Brunck
Some other kirkwood boards from keymile will follow. They will have some small differences, but we want to use the km_kirkwood.h for all to distinguish them. This patch a preparation for this. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla

[U-Boot] [PATCH 2/9] arm/km: add piggy mac adress offset for mgcoge3un

2012-05-25 Thread Holger Brunck
On mgcoge3un the piggy mac adress is at offset 3. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/mgcoge3un.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mgcoge3un.h b

[U-Boot] [PATCH 0/9] arm/km: bugfixes and small corrections

2012-05-25 Thread Holger Brunck
This patchseris extracts the bugfixes and minor adaptions of the already posted patchserie http://lists.denx.de/pipermail/u-boot/2012-May/124413.html as requested. There are now changes in the patches compared to the previous serie. cc: Prafulla Wadaskar cc: Holger Brunck cc: Valentin

[U-Boot] [PATCH 5/9] arm/km: fix wrong comment in SDRAM config for mgcoge3un

2012-05-25 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/kwbimage-memphis.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/kwbimage-memphis.cfg b/board/keymile/km_arm

[U-Boot] [PATCH 6/9] arm/km: change maintainer for mgcoge3un

2012-05-25 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp Acked-By: Heiko Schocher cc: Prafulla Wadaskar cc: Gerlando Falauto --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f796872..0445539 100644 --- a

[U-Boot] [PATCH 8/9] arm/km: enable mii cmd

2012-05-25 Thread Holger Brunck
From: Valentin Longchamp This is useful to debug the switch initialization Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH 4/9] arm/km: use ARRAY_SIZE macro

2012-05-25 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 9e9940c

[U-Boot] [PATCH 7/9] arm/km: remove CONFIG_RESET_PHY_R

2012-05-25 Thread Holger Brunck
This is already defined in the generic kirkwood header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/km

[U-Boot] [PATCH 3/9] arm/km: rename CONFIG option CONFIG_KM_DEF_ENV_UPDATE

2012-05-25 Thread Holger Brunck
This config option sounds like the it is responsible for the update of the environment, but it is the u-boot update handling. Therefore we adapt it to a more apropriate naming. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar

[U-Boot] [PATCH 9/9] km_arm: use filesize for erase in update command

2012-05-25 Thread Holger Brunck
: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 36eb765..eb60d29 100644 --- a/include/configs/km/km_arm.h +++ b

Re: [U-Boot] [PATCH] Kirkwood: Add support for Ka-Ro TK71

2012-06-04 Thread Holger Brunck
On 06/04/2012 05:46 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 04 June 2012 21:07 >> To: Marek Vasut >> Cc: Prafulla Wadaskar; u-boot@lists.denx.de; Holger Bru

Re: [U-Boot] [PATCH 10/20] arm/km: cleanup km_kirkwood boards

2012-06-12 Thread Holger Brunck
On 06/12/2012 06:39 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 07 June 2012 15:37 >> To: prafu...@mavell.com >> Cc: Holger Brunck; u-boot@lists.denx.de; Val

Re: [U-Boot] [PATCH 04/20] arm/km: add kmnusa board support

2012-06-12 Thread Holger Brunck
On 06/12/2012 06:39 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 07 June 2012 15:37 >> To: prafu...@mavell.com >> Cc: Holger Brunck; u-boot@lists.denx.de; Val

Re: [U-Boot] [PATCH 02/20] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-06-12 Thread Holger Brunck
; u- >> b...@lists.denx.de; Gerlando Falauto; Prafulla Wadaskar >> Subject: [PATCH 02/20] arm/km: use correct kw_gpio function for >> NAND/SPI switching >> >> This used to be done with registers direct access, which is not clear >> and optimal. >> >>

Re: [U-Boot] [PATCH 20/20] arm/km: remove calls to kw_gpio_* in board_early_init_f

2012-06-12 Thread Holger Brunck
the one for the SOFT (bitbang) I2C, >> and >> they have been replaced by a direct access to the GPIO dataout Control >> register to set the two GPIOs as output. >> >> Signed-off-by: Valentin Longchamp >> cc: Holger Brunck >> cc: Prafulla Wadaskar >>

Re: [U-Boot] [PATCH 02/20] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-06-12 Thread Holger Brunck
On 06/12/2012 11:32 AM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 12 June 2012 14:08 >> To: Prafulla Wadaskar >> Cc: Valentin Longchamp; prafu...@mavell.com; u-boot@lists.den

Re: [U-Boot] [PATCH 04/20] arm/km: add kmnusa board support

2012-06-12 Thread Holger Brunck
On 06/12/2012 11:40 AM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 12 June 2012 14:04 >> To: Prafulla Wadaskar >> Cc: Valentin Longchamp; prafu...@mavell.com; u-boot@lists.den

Re: [U-Boot] [PATCH 04/20] arm/km: add kmnusa board support

2012-06-12 Thread Holger Brunck
On 06/12/2012 11:57 AM, Prafulla Wadaskar wrote: board/keymile/km_arm/km_arm.c |9 +- boards.cfg|1 + include/configs/km/km_arm.h | 44 +- include/configs/km_kirkwood.h | 67 +++-- 6 files changed, 392 insertions(+)

Re: [U-Boot] [PATCH 04/20] arm/km: add kmnusa board support

2012-06-12 Thread Holger Brunck
On 06/12/2012 01:09 PM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 12 June 2012 16:07 >> To: Prafulla Wadaskar >> Cc: Valentin Longchamp; prafu...@mavell.com; u-boot@lists.den

Re: [U-Boot] [PATCH 04/20] arm/km: add kmnusa board support

2012-06-12 Thread Holger Brunck
On 06/12/2012 01:50 PM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 12 June 2012 17:13 >> To: Prafulla Wadaskar >> Cc: Valentin Longchamp; prafu...@mavell.com; u-boot@lists.den

Re: [U-Boot] [PATCH 02/20] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-06-13 Thread Holger Brunck
On 06/12/2012 12:29 PM, Holger Brunck wrote: > On 06/12/2012 11:32 AM, Prafulla Wadaskar wrote: >> >> >>> -Original Message- >>> From: Holger Brunck [mailto:holger.bru...@keymile.com] >>> Sent: 12 June 2012 14:08 >>> To: Prafulla Wadaskar

[U-Boot] [PATCH] arm/km: use spi claim bus to switch between SPI and NAND

2012-06-13 Thread Holger Brunck
command is removed from the u-boot update command in the u-boot environment. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- Hi Prafulla, this is now a standalone patch. This patch was already posted, but is now a rebase of the following three patches from http

[U-Boot] [PATCH] arm/kirkwood: protect the ENV_SPI #defines

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar --- Hi Prafulla, here is the only common kirkwood related change from our patch serie, as discussed on the ml. arch

[U-Boot] [PATCH v2 02/14] arm/km: add kmcoge5un board support

2012-06-13 Thread Holger Brunck
configuration for the mvgbe driver. The testpin was inverted compared to other km_kirkwood boards, this is the reason we need the change in post_hotkeys_pressed. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar Signed-off-by: Thomas Herzmann Signed-off-by

[U-Boot] [PATCH v2 07/14] arm/km: cleanup km_kirkwood boards

2012-06-13 Thread Holger Brunck
Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Pra

[U-Boot] [PATCH v2 00/14] updates for Keymile Marvell boards

2012-06-13 Thread Holger Brunck
/20] arm/km: fix testpin detection for kmcoge5un was squashed to kmcoge5un board support, which makes logically sense. cc: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar Holger Brunck (6): arm/km: add kmnusa board support arm/km: add kmcoge5un board support arm/km: conv

[U-Boot] [PATCH v2 01/14] arm/km: add kmnusa board support

2012-06-13 Thread Holger Brunck
switch and the kirkwood. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- changes for v2: - rename 128M16-1.cfg to kwbimage_128M16_1.cfg MAINTAINERS|1 + board/keymile/km_arm/km_arm.c |9 +- board

[U-Boot] [PATCH v2 10/14] arm/km: enable external switch configuration for kmnusa

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp The configuration EEPROM should be removed for P1B. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/km_arm/km_arm.c | 11 +-- board/keymile/km_arm/managed_switch.c |3

[U-Boot] [PATCH v2 11/14] arm/km: skip FPGA config when already configured

2012-06-13 Thread Holger Brunck
responsibility of the application to trigger a reconfiguration when needed. This is done by lowering the FPGA_INIT_B pin for delaying the configuration to u-boot @ next reboot, and then lower the FPGA_PROGRAM_B signal. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes

[U-Boot] [PATCH v2 12/14] arm/km: support the 2 PCIe fpga resets

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla

[U-Boot] [PATCH v2 08/14] arm/km: redefine piggy 4 reg names to avoid conflicts

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp Some very similar #defines for reg addresses are used in a later patch (managed_switch support for km_arm). Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/km_arm/km_arm.c | 22

[U-Boot] [PATCH v2 14/14] arm/km: remove calls to kw_gpio_* in board_early_init_f

2012-06-13 Thread Holger Brunck
could not be moved is the one for the SOFT (bitbang) I2C, and they have been replaced by a direct access to the GPIO dataout Control register to set the two GPIOs as output. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - fix comment syntax

[U-Boot] [PATCH v2 04/14] arm/km: remove portl2.h and use km_kirkwood instead

2012-06-13 Thread Holger Brunck
The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla

[U-Boot] [PATCH v2 09/14] arm/km: add support for external switch configuration

2012-06-13 Thread Holger Brunck
From: Valentin Longchamp This can be used if we do not want to use an EEPROM for the configuration. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/common/common.h |7 -- board/keymile/km_arm

[U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-06-13 Thread Holger Brunck
Use the generic header km_kirkwood.h and get rid of the board specific header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- changes for v2: - rebased because of changes in other patches board/keymile/km_arm/km_arm.c |9 ++-- boards.cfg

[U-Boot] [PATCH v2 13/14] arm/km: add implementation for read_dip_switch

2012-06-13 Thread Holger Brunck
From: Thomas Herzmann Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- changes for v2: - nothing board

[U-Boot] [PATCH v2 05/14] arm/km: correct init of 88e6352 switch in the reset_phy function

2012-06-13 Thread Holger Brunck
address. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/common/common.h |6 + board/keymile/km_arm/Makefile |4 + board/keymile/km_arm/km_arm.c | 26

[U-Boot] [PATCH v2 06/14] arm/km: enable BOCO2 FPGA download support

2012-06-13 Thread Holger Brunck
still are supported. The config option name is CONFIG_KM_FPGA_CONFIG Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Prafulla Wadaskar --- changes for v2: - nothing board/keymile/common/common.h |6 + board/keymile/km_arm/Makefile |4 + board/keymile/km_arm

Re: [U-Boot] [PATCH 1/6] powerpc/83xx/km: use tuxx1.h for kmsupx5 target

2012-06-14 Thread Holger Brunck
Hi Kim, On 03/21/2012 01:42 PM, Holger Brunck wrote: > This additional header is unneeded, we can use the tuxx1.h for this > target. > > Signed-off-by: Holger Brunck > cc: Kim Phillips > cc: Valentin Longchamp > cc: Gerlando Falauto > cc: Heiko Schocher > --- w

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Holger Brunck
Hi Albert, On 02/13/2014 01:06 PM, Albert ARIBAUD wrote: > For the whole series: shouldn't the keymile boards maintainer be CC:ed? > > On Mon, 27 Jan 2014 16:58:22 +0100, Holger Brunck > wrote: > >> CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series.

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Holger Brunck
Hi Albert, On 02/13/2014 01:14 PM, Albert ARIBAUD wrote: > On Thu, 13 Feb 2014 13:10:51 +0100, Holger Brunck >>> >>> What if a new board/config does not want to use a bootcount limit? >>> >> >> all keymile boards use this and I don't see a usecase

[U-Boot] [PATCH 8/8 v2] arm/km: introduce kmsugp1 target

2014-02-13 Thread Holger Brunck
automatically, but this turned out not to be the case. So simply configure this PIN as a GPIO and issue a pulse manually. Signed-off-by: Gerlando Falauto Cc: Karlheinz Jerg Cc: Valentin Longchamp Cc: Holger Brunck --- Changes for v2: - solve merge conflict for latest arm/master branch board

[U-Boot] [PATCH 2/2] arm/km: disable subpage write for km_kirkwood_pci and kmsuv31 target

2014-08-15 Thread Holger Brunck
dline. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km_kirkwood.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h index 9eb1ad3..dc26155 100644 --- a/include/co

[U-Boot] [PATCH 1/2] arm/kirkwood/nand: allow forced disabling for subpage writes

2014-08-15 Thread Holger Brunck
Make it configurable to disable subpage writes like the DaVinci NAND driver already does. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar cc: Scott Wood --- drivers/mtd/nand/kirkwood_nand.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand

Re: [U-Boot] [PATCH] Revert "common, env: Fix support for environment in i2c eeprom"

2014-10-14 Thread Holger Brunck
On 10/14/2014 02:32 PM, Matthias Fuchs wrote: > Hi Valentin, > > my patch fixed environment from i2c eeprom. I am not sure on which board > I ran into that trouble. Probably PMC440. So reverting my former patch > will break environment in i2c eeprom again on many boards. > > But perhaps there's a

Re: [U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-05 Thread Holger Brunck
Hi Scott, On 01/04/2012 06:44 PM, Scott Wood wrote: > On 01/04/2012 09:32 AM, Holger Brunck wrote: >> >> Initial implementation for unsafe feature for biterror insertion on >> NAND-Flash devices. The code flips single bits in the data block of the >> flash to simulate s

Re: [U-Boot] Bug#655102: v2011.12 and later do not boot on dreamplug.

2012-01-09 Thread Holger Brunck
debug("data = 0x%08x \n", data); > > writel(KWSPI_SMEMRDIRQ, &spireg->irq_cause); > - writel(KWSPI_IRQMASK, spireg->irq_mask); > + writel(KWSPI_IRQMASK, &spireg->irq_mask); > > /* program mpp registers to select SPI_CSn */ > if (cs) { we had also SPI problems on our km_kirkwood boards with u-boot v2011.12. This patch fixes it. Thanks! So: Tested-By: Holger Brunck Regards Holger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] arm/km: speed up i2c access for keymile boards

2012-02-08 Thread Holger Brunck
Hi Prafulla, On 12/14/2011 04:31 PM, Holger Brunck wrote: > We don't need 3us delay for our i2c bus. Decrease it to 1us. > It would also be possible to use 100ns in the future, but > currently kirkwood has no ndelay implementation. > > Signed-off-by: Holger Brunck > Cc: V

[U-Boot] [PATCH] post: fix compile issue for post tests on kirkwood

2011-11-24 Thread Holger Brunck
commit f31a911fe (arm, post: add missing post_time_ms for arm) enables get_ticks and get_tbclk for all arm based boards, but kirkwood has currently no implementation for this. So undefine this for kirkwood boards. Signed-off-by: Holger Brunck cc: Heiko Schocher cc: Prafulla Wadaskar cc

Re: [U-Boot] [PATCH] post: fix compile issue for post tests on kirkwood

2011-11-28 Thread Holger Brunck
Hi, On 11/27/2011 08:07 AM, Marek Vasut wrote: >>> commit f31a911fe (arm, post: add missing post_time_ms for arm) enables get_ticks and get_tbclk for all arm based boards, but kirkwood has currently no implementation for this. So undefine this for kirkwood b

Re: [U-Boot] [ARM] Pending patches for december release?

2011-12-06 Thread Holger Brunck
Hi Albert, On 12/05/2011 07:05 PM, Albert ARIBAUD wrote: > > As I don't have much time and the december release is coming soon, I would > appreciate that anyone with a patch that they think should go to ARM master > now > please send me an e-mail with the link to the patchwork patch page so that

[U-Boot] [PATCH 1/4] powerpc/83xx/km: update SDRAM parameters for km8321 boards

2011-12-14 Thread Holger Brunck
From: Marco Schmid Measurements during HW basic test showed, that the SDRAM timing has to be optimized. This patch adapted these timings accordingly. Signed-off-by: Marco Schmid Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp --- include/configs/km/km8321-common.h

[U-Boot] [PATCH 2/4] powerpc/83xx/km: remove obsolete defines for tuda1

2011-12-14 Thread Holger Brunck
CONFIG_SYS_LCRR is unused and CONFIG_SYS_LBC_LBCR is already defined in the common header file, so remove them. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp --- include/configs/tuda1.h |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a

[U-Boot] [PATCH 3/4] powerpc/83xx/km: merge tuxa and tuda1 boards to tuxx1

2011-12-14 Thread Holger Brunck
These boards are from a u-boot point of view identical. So collect the two headerfiles to one, to decrease maintenance. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Heiko Schocher --- MAINTAINERS |5 +- boards.cfg

[U-Boot] [PATCH 4/4] powerpc/83xx/km: add support for 8321 based tuge1 board

2011-12-14 Thread Holger Brunck
This board is similar to our tuxx1 target. But on this board there is only one application specific chip select configured. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Heiko Schocher --- MAINTAINERS |1 + boards.cfg |1 + include

[U-Boot] [PATCH 1/2] arm/km: speed up i2c access for keymile boards

2011-12-14 Thread Holger Brunck
We don't need 3us delay for our i2c bus. Decrease it to 1us. It would also be possible to use 100ns in the future, but currently kirkwood has no ndelay implementation. Signed-off-by: Holger Brunck Cc: Valentin Longchamp Cc: Prafulla Wadaskar Cc: Heiko Schocher --- include/configs/km/km_

[U-Boot] [PATCH 2/2] arm/km: checkpatch cleanup

2011-12-14 Thread Holger Brunck
Signed-off-by: Holger Brunck Cc: Valentin Longchamp Cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 23 +++ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index ca33aae..9e9940c

[U-Boot] [PATCH] km/common: add toolchain variable

2011-12-14 Thread Holger Brunck
Add a variable "toolchain" and configure the rootpath for the nfsargs with this variable. Signed-off-by: Holger Brunck cc: Wolfgang Denk --- board/keymile/scripts/README |2 +- board/keymile/scripts/develop-common.txt |3 ++- 2 files changed, 3 insertions(+), 2

Re: [U-Boot] [PATCH] km/common: add toolchain variable

2011-12-19 Thread Holger Brunck
Hi Wolfgang, On 12/17/2011 09:49 PM, Wolfgang Denk wrote: > In message <1323879110-8404-1-git-send-email-holger.bru...@keymile.com> you > wrote: >> Add a variable "toolchain" and configure the rootpath >> for the nfsargs with this variable. >> >>

Re: [U-Boot] [PATCH] km/common: add toolchain variable

2011-12-19 Thread Holger Brunck
Hi Wolfgang, On 12/19/2011 09:57 AM, Wolfgang Denk wrote: > In message <4eeef0d3.5040...@keymile.com> you wrote: >> +Last change: 24.11.2011 >>> >>> Does this really make any sense? Which date are you recording here/ >>> When you (think) you last edited the file? When you applied the patch >

Re: [U-Boot] [PATCH] km/common: add toolchain variable

2011-12-19 Thread Holger Brunck
Hi Wolfgang, On 12/19/2011 12:33 PM, Wolfgang Denk wrote: > In message <4eef13d4.5020...@keymile.com> you wrote: >> >>> You can insert such information when you export the files from git, >>> say by adding a line like: >>> >>> Last commit date: $Format:%H %cD$ > ... >> After reading the doc I

[U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-04 Thread Holger Brunck
: Stefan Bigler Cc: Holger Brunck Cc: Valentin Longchamp Cc: Scott Wood --- common/cmd_nand.c | 131 +++- 1 files changed, 128 insertions(+), 3 deletions(-) diff --git a/common/cmd_nand.c b/common/cmd_nand.c index 3e2edb8..3873d6f 100644 --- a

[U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-06-28 Thread Holger Brunck
If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck cc: Heiko Schocher cc: Valentin Longchamp --- common/cmd_i2c.c |1 + 1 files changed, 1 insertions(+), 0 deletions

Re: [U-Boot] [PATCH v2 02/14] arm/km: add kmcoge5un board support

2012-07-03 Thread Holger Brunck
On 07/03/2012 10:04 AM, Prafulla Wadaskar wrote: > Dear Holger > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 13 June 2012 19:03 >> To: u-boot@lists.denx.de >> Cc: Holger Brunck; Valentin Longchamp; P

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
Hi Prafulla, On 07/03/2012 10:05 AM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 13 June 2012 19:03 >> To: u-boot@lists.denx.de >> Cc: Holger Brunck; Valentin Longchamp; Praful

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 01:19 PM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 03 July 2012 16:08 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Valentin Longchamp >> Sub

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 02:38 PM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 03 July 2012 18:02 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Valentin Longchamp; >> albert

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 03:07 PM, Prafulla Wadaskar wrote: >>> >>> This patch makes sense to me since it since it shrinks overall code. >>> Doe not have dependency in patch series, can be accepted if outside >> the series. >>> >> >> again, but there are a lot of dependen

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-04 Thread Holger Brunck
Hi Prafulla, On 07/03/2012 04:39 PM, Prafulla Wadaskar wrote: >> On 07/03/2012 03:07 PM, Prafulla Wadaskar wrote: > But 01-08 are not only bugfixes there are also two new boards in >> these patches. So will you pull these eight patches in if I post them again >> without >>>

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-04 Thread Holger Brunck
On 07/04/2012 11:21 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Wolfgang Denk [mailto:w...@denx.de] >> Sent: 03 July 2012 23:31 >> To: Prafulla Wadaskar >> Cc: Holger Brunck; u-boot@lists.denx.de; Valentin Longchamp >> Sub

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 08:04 AM, Prafulla Wadaskar wrote: > > >> -Original Message----- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 05 July 2012 11:24 >> To: Prafulla Wadaskar >> Cc: Wolfgang Denk; u-boot@lists.denx.de; Valentin Longchamp &

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 02:09 PM, Prafulla Wadaskar wrote: >>> >>> To avoid any further confusion let's keep aside all the past. >>> 1. Pls post the new patch series that is just targeted for bugfixes >> and updates (no addition of new boards or drivers) >> >> Ok so there are again no inputs to specific patc

[U-Boot] [PATCH v3 07/11] arm/km: redefine piggy 4 reg names to avoid conflicts

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp Some very similar #defines for reg addresses are used in a later patch (managed_switch support for km_arm). Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v2 and v3: simply rebased board/keymile/km_arm/km_arm.c | 22

[U-Boot] [PATCH v3 03/11] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
Use the generic header km_kirkwood.h and get rid of the board specific header. changes for v2: rebased because of changes in other patches Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v2 and v3: rebased because of

[U-Boot] [PATCH v3 04/11] arm/km: remove portl2.h and use km_kirkwood instead

2012-07-05 Thread Holger Brunck
The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando

[U-Boot] [PATCH v3 10/11] arm/km: add implementation for read_dip_switch

2012-07-05 Thread Holger Brunck
From: Thomas Herzmann Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck --- changes for v2 and v3: rebased board/keymile/km_arm/km_arm.c | 14

[U-Boot] [PATCH v3 05/11] arm/km: enable BOCO2 FPGA download support

2012-07-05 Thread Holger Brunck
still are supported. The config option name is CONFIG_KM_FPGA_CONFIG Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v2 and v3: simply rebased board/keymile/common/common.h |5 + board/keymile/km_arm/Makefile

[U-Boot] [PATCH v3 06/11] arm/km: cleanup km_kirkwood boards

2012-07-05 Thread Holger Brunck
Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Ger

[U-Boot] [PATCH v3 09/11] arm/km: support the 2 PCIe fpga resets

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp --- changes for v2 and v3: simply rebase

[U-Boot] [PATCH v3 01/11] arm/km: add kmnusa board support

2012-07-05 Thread Holger Brunck
switch and the kirkwood. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v3: - rebase to current master - use reset_phy funtion as on mgcoge3un changes for v2: - rename 128M16-1.cfg to kwbimage_128M16_1.cfg

[U-Boot] [PATCH v3 00/11] updates for Keymile Marvell boards

2012-07-05 Thread Holger Brunck
Changes for v3 in general: - remove the managed switch driver as requested on the ML cc: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar Holger Brunck (6): arm/km: add kmnusa board support arm/km: add kmcoge5un board support arm/km: convert mgcoge3un target to km_kirkwood

[U-Boot] [PATCH v3 02/11] arm/km: add kmcoge5un board support

2012-07-05 Thread Holger Brunck
configuration for the mvgbe driver. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v3: - rebase to current master - fix typo for define in post_hotkeys_pressed introduced due to rebasing for v2 changes for v2

[U-Boot] [PATCH v3 08/11] arm/km: skip FPGA config when already configured

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp In order to be able to perform board resets without interrupting the traffic, the configuration of an already properly configured FPGA is skipped. This is because some PCIe FPGAs embed some other function that must continue to work over reset. It is then the responsibil

[U-Boot] [PATCH v3 11/11] arm/km: remove calls to kw_gpio_* in board_early_init_f

2012-07-05 Thread Holger Brunck
could not be moved is the one for the SOFT (bitbang) I2C, and they have been replaced by a direct access to the GPIO dataout Control register to set the two GPIOs as output. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- changes for v3: - nothing changes for v2

[U-Boot] [PATCH v4] arm/km: add kmnusa board support

2012-07-05 Thread Holger Brunck
switch and the kirkwood. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- changes for v4: - the wrong kwbimage_128M16_1.cfg file was picked up this was already present in v2 due to the renaming issue now fixed changes for

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 03:48 PM, Prafulla Wadaskar wrote: >> >> And if I resend the remaining eleven patches in the same order as >> beneath >> these are: >> [U-Boot,v2,01/14] arm/km: add kmnusa board support >> [U-Boot,v2,02/14] arm/km: add kmcoge5un board support >> [U-Boot,v2,03/14] arm/km: convert mgcog

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi, On 07/04/2012 11:20 AM, Prafulla Wadaskar wrote: >>> Sure it would be great if we had the time and resources to >> contribute a generic >>> driver for these switches. Unfortunately it is not the case and we >> have only >>> developed a simple driver with limited features that suits our >> curr

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi Detlev, On 07/09/2012 03:06 PM, Detlev Zundel wrote: >> If we place the driver in your board diretory, the chances are huge it >> will simply sit there and rot, and the next one who needs something >> similar will reinvent the wheel because he did not find your copy. >> >> I agree that even ver

Re: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-07-10 Thread Holger Brunck
Hi Heiko, On 06/28/2012 04:30 PM, Holger Brunck wrote: > If we switch to a different i2c bus in changing the mux config for the > i2c mux, we have to be sure to deblock the bus also before realocation. > > Signed-off-by: Holger Brunck > cc: Heiko Schocher > cc:

Re: [U-Boot] [PATCH v2 1/2] kirkwood: implement kw_sdram_bs_set()

2012-07-20 Thread Holger Brunck
Hi Marek, hi Prafulla, On 07/20/2012 01:40 PM, Marek Vasut wrote: > Dear Prafulla Wadaskar, > > [...] > >>> diff --git a/arch/arm/cpu/arm926ejs/kirkwood/dram.c >>> b/arch/arm/cpu/arm926ejs/kirkwood/dram.c >>> index 181b3e7..d938578 100644 >>> --- a/arch/arm/cpu/arm926ejs/kirkwood/dram.c >>> +++

[U-Boot] [PATCH v3 1/4] kirkwood: use c-struct for access to SDRAM addr decode registers

2012-07-20 Thread Holger Brunck
Remove the defines and do this with a C-struct. Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Gerlando Falauto cc: Marek Vasut --- changes for v3: - new patch as requested on the ML arch/arm/cpu/arm926ejs/kirkwood/dram.c | 23 +-- 1

[U-Boot] [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust

2012-07-20 Thread Holger Brunck
From: Gerlando Falauto Size of the SDRAM chips might differ between any two (otherwise identical) instances of the same board. So add a function which reads out the current ram size and set them in the SDRAM size register of kirkwood. Signed-off-by: Gerlando Falauto Signed-off-by: Holger

[U-Boot] [PATCH v3 4/4] arm/km: use kw_sdram_size_adjust to adjust SDRAM size

2012-07-20 Thread Holger Brunck
Some boards may differ only in the SDRAM size. This function allows to fix the size accordingly and we can use the same u-boot binary for both boards. Signed-off-by: Holger Brunck Signed-off-by: Gerlando Falauto cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Marek Vasut --- chages for v3

[U-Boot] [PATCH v3 2/4] kirkwood: implement kw_sdram_bs_set()

2012-07-20 Thread Holger Brunck
. Therefore, implement kw_sdram_bs_set(). Signed-off-by: Gerlando Falauto Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Marek Vasut --- changes for v3: - remove reviewed by, because there are some chages in - use c-struct instead of defines - make

[U-Boot] [PATCH] MAINTAINERS: cleanup for km ppc boards

2012-08-06 Thread Holger Brunck
Signed-off-by: Holger Brunck cc: Heiko Schocher cc: Valentin Longchamp cc: Gerlando Falauto --- MAINTAINERS |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 84413de..c8d66b8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -72,6 +72,9

Re: [U-Boot] [STATUS] v2013.04-rc2 released

2013-04-11 Thread Holger Brunck
Hi Albert, Tom, On 04/04/2013 10:20 AM, Albert ARIBAUD wrote: > > Mainly I am waiting for Vincent's V10 to be tested a bit, and also I > am going to post the fix for the __bss_end mixup. Anything else for > 2013.04 ARM still missing, people please yell at me. > I only want to drop a note that t

[U-Boot] [PATCH] kw_gpio: fix error in kw_gpio_direction_input

2011-08-22 Thread Holger Brunck
The function kw_gpio_is_valid returns zero on success, so adapt the error check accordingly. Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Dieter Kiermaier --- drivers/gpio/kw_gpio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/kw_gpio.c b

[U-Boot] UBI problems on current u-bo

2011-09-02 Thread Holger Brunck
Hi Stefan, I address this question to you because one of your commits is connected to this problem, but other hints from other readers are also welcome ;-) . We have a kirkwood based board with a micron NAND flash. We have one ubi device created on the NAND flash and inside the device we have one

Re: [U-Boot] UBI problems on current u-bo

2011-09-05 Thread Holger Brunck
Hi Stefan, On 09/05/2011 04:37 PM, Stefan Roese wrote: >> I address this question to you because one of your commits is connected to >> this problem, but other hints from other readers are also welcome ;-) . > > I'll try to look into this later this week. > > BTW: Is this problem reproducible on

Re: [U-Boot] UBI problems on current u-boot

2011-09-05 Thread Holger Brunck
Hi Stefan, sorry for the previous mail, but I hit the send button too fast ;-) On 09/05/2011 04:37 PM, Stefan Roese wrote: > > On Friday 02 September 2011 15:32:40 Holger Brunck wrote: >> I address this question to you because one of your commits is connected to >> this proble

<    1   2   3   4   5   6   >