Re: [U-Boot] [PATCH] arm,davinci: update for enbw_cmc board

2012-05-15 Thread Heiko Schocher
Hello Tom, Tom Rini wrote: On Mon, May 14, 2012 at 09:45:58AM -0700, Tom Rini wrote: On Sat, May 05, 2012 at 08:32:50AM +0200, Heiko Schocher wrote: - change gpio pin settings: - gpio pin 6[13] (PLC reset) default value low - gpio pin 6[0] (TPM reset) default value low - 4 new GPIO

[U-Boot] [PATCH v2] arm,davinci: update for enbw_cmc board

2012-05-15 Thread Heiko Schocher
- change gpio pin settings: - gpio pin 6[13] (PLC reset) default value low - gpio pin 6[0] (TPM reset) default value low - 4 new GPIO pins pin i/o name - 3[9] input Board Type - 2[7] input HW-ID0 - 2[6] input HW-ID1 - 2[3] input HW-ID2 - read board type and hw id

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-05-15 Thread Albert ARIBAUD
Hi Stefano, Le 09/05/2012 18:38, Stefano Babic a écrit : Hi Albert, please pull from u-boot-imx: The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4: EXYNOS: Change bits per pixel value proper for u-boot. (2012-04-25 16:23:26 +0900) are available in the git

Re: [U-Boot] pull request for u-boot-tegra/master into ARM master

2012-05-15 Thread Albert ARIBAUD
Le 14/05/2012 19:57, Tom Warren a écrit : Albert, Please pull u-boot-tegra/master into ARM master. Thanks! (NOTE: './MAKEALL -c armv7' passes w/no new errors/warnings) The following changes since commit 026251a5e825d61d3bcdf6dffcc27d15afd574f4: Donghwa Lee (1): EXYNOS: Change bits

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

2012-05-15 Thread Albert ARIBAUD
Hi Tom, Le 14/05/2012 23:26, Tom Rini a écrit : Hello, This replaces my previous pull request and has been build-tested on both ELDK5.2 and 4.1 and the only failures are the expected ones of ELDK4.1+omap4/5 (too old to generate working thumb in this case). omap3_beagle and omap4_panda are

[U-Boot] Pull request: u-boot-arm/master

2012-05-15 Thread Albert ARIBAUD
Hi Wolfgang, The following changes since commit 0a6deb3251a68b5be640ab1b848ca67e906b75ce: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2012-04-30 18:19:28 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Albert ARIBAUD
Le 15/05/2012 07:12, Mike Frysinger a écrit : On Monday 14 May 2012 17:01:30 Charles Manning wrote: On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: Seems odd that this hasn't been done yet. Shaves 5k off an omap overo build. my

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Matevz Langus
Hi, sorry for top-posting. It is Freescale eLB NAND controller. We need to investigate a bit more why it does not work with 512B sub-pages in u-boot. It does in Linux. In my case, I do not want to update boot-loader in the future. If any bugs in UBI are found, we can cope with this in Linux.

[U-Boot] ATA/CF support on u-boot

2012-05-15 Thread Altunbas Sabri (DC-IA/EAH2)
Hi All, I want to load linux-kernel from ATA/CF How can i do this ? My u-boot Version: uboot-2011.06 Thanx for any hints Best regards ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ATA/CF support on u-boot

2012-05-15 Thread Bo Shen
? 2012/5/15 19:07, Altunbas Sabri (DC-IA/EAH2) ??: Hi All, I want to load linux-kernel from ATA/CF Please check whether ide command meet your requirement. Source code: common/cmd_ide.c How can i do this ? My u-boot Version: uboot-2011.06 Thanx for any hints Best regards

Re: [U-Boot] [PATCH 2/9] NET: fec_mxc.c: Add support for MII for MX5 SOCs

2012-05-15 Thread Dirk Behme
On 22.02.2012 11:24, Stefano Babic wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- drivers/net/fec_mxc.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index

Re: [U-Boot] [PATCH] i.mx: i.mx6x: NO_MUX_I/NO_PAD_I not set correctly

2012-05-15 Thread Dirk Behme
On 11.04.2012 13:58, Stefano Babic wrote: On 11/04/2012 13:18, Jason Liu wrote: If one PAD does not have mux or pad config register, we need set the NO_MUX_I/NO_PAD_I to 0, the old value is not correct Signed-off-by: Jason Liu jason@linaro.org CC: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH] Add doc/README.kbd

2012-05-15 Thread Dirk Behme
On 16.04.2012 18:18, Eric Nelson wrote: On 04/16/2012 08:48 AM, Eric Nelson wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com --- doc/README.kbd | 84 1 files changed, 84 insertions(+), 0 deletions(-) create mode

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Dirk Behme
On 09.05.2012 07:45, Stefano Babic wrote: On 09/05/2012 01:31, Eric Nelson wrote: Thanks Andy, On 05/08/2012 03:59 PM, Andy Fleming wrote: --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -190,6 +190,10 @@ static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Anatolij Gustschin
Hi Dirk, On Tue, 15 May 2012 14:58:54 +0200 Dirk Behme dirk.be...@de.bosch.com wrote: On 09.05.2012 07:45, Stefano Babic wrote: ... The problem with an #ifdef is that it is not very generic - we should add some #if (defined(CONFIG_MX51) || defined(CONFIG_MX53) || ... and update the driver

[U-Boot] [PATCH v4 00/27] updates for Keymile ARM boards

2012-05-15 Thread Valentin Longchamp
This patch series updates keymile boards with Kirkwood CPU and adds two new boards. This new boards are kmnusa and kmcoge5un. Also the existing boards with own config files were migrated to the common header km_kirkwood.h. Some small adaption in generic kirkwood code was needed due to two new

[U-Boot] [PATCH v4 21/27] arm/km: skip FPGA config when already configured

2012-05-15 Thread 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 responsibility of the application to

[U-Boot] [PATCH v4 08/27] arm/km: enable mii cmd

2012-05-15 Thread Valentin Longchamp
This is useful to debug the switch initialization Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- include/configs/km/km_arm.h |

[U-Boot] [PATCH v4 20/27] arm/km: enable external switch configuration for kmnusa

2012-05-15 Thread Valentin Longchamp
The configuration EEPROM should be removed for P1B. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/km_arm/km_arm.c | 11 +-- board/keymile/km_arm/managed_switch.c |3 ++- board/keymile/km_arm/managed_switch.h |7 +++ 3 files

[U-Boot] [PATCH v4 22/27] arm/km: support the 2 PCIe fpga resets

2012-05-15 Thread 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 valentin.longch...@keymile.com ---

[U-Boot] [PATCH v4 24/27] arm/km: fix testpin detection for kmcoge5un

2012-05-15 Thread Valentin Longchamp
From: Thomas Herzmann thomas.herzm...@keymile.com On kmcoge5un unfortunately the HW wiring is differently to other km arm boards. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v4 18/27] km_arm: redefine piggy 4 reg names to avoid conflicts

2012-05-15 Thread 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 valentin.longch...@keymile.com --- board/keymile/km_arm/km_arm.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff

[U-Boot] [PATCH v4 19/27] arm/km: add support for external switch configuration

2012-05-15 Thread Valentin Longchamp
This can be used if we do not want to use an EEPROM for the configuration. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/common/common.h |7 -- board/keymile/km_arm/managed_switch.c | 169 +++--

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

2012-05-15 Thread Valentin Longchamp
So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com ---

[U-Boot] [PATCH v4 23/27] arm/km: add implementation for read_dip_switch

2012-05-15 Thread Valentin Longchamp
From: Thomas Herzmann thomas.herzm...@keymile.com 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 thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH v4 09/27] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-05-15 Thread Valentin Longchamp
This used to be done with registers direct access, which is not clear and optimal. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com

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

2012-05-15 Thread Valentin Longchamp
We used to have an arbitrary value, which can be a problem if we have a u-boot image that is bigger than this value. This patch is dependant on the whole km/arm series and will be included in the v3 of the series if there is one. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com

[U-Boot] [PATCH v4 03/27] arm/km: rename CONFIG option CONFIG_KM_DEF_ENV_UPDATE

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com 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 holger.bru...@keymile.com Signed-off-by:

[U-Boot] [PATCH v4 07/27] arm/km: remove CONFIG_RESET_PHY_R

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com This is already defined in the generic kirkwood header. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar

[U-Boot] [PATCH v4 13/27] arm/km: convert mgcoge3un target to km_kirkwood

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Use the generic header km_kirkwood.h and get rid of the board specific header. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com

[U-Boot] [PATCH v4 17/27] arm/km: cleanup km_kirkwood boards

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com 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

[U-Boot] [PATCH v4 16/27] arm/km: enable BOCO2 FPGA download support

2012-05-15 Thread Valentin Longchamp
This adds a first support of the FPGA download for a PCIe FPGA based on the BOCO2 CPLD. This takes place in 3 steps, all done accessing the SPICTRL reg of the BOCO2: 1) start the FPGA config with an access to the FPGA_PROG bit 2) later in the boot sequence, wait for the FPGA_DONE bit to toggle to

[U-Boot] [PATCH v4 02/27] arm/km: add piggy mac adress offset for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com On mgcoge3un the piggy mac adress is at offset 3. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar

[U-Boot] [PATCH v4 12/27] arm/km: add kmcoge5un board support

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com For u-boot this board is similar to mgcoge3un. But some differences are present. We have a different SDRAM on it and therefore a new SDRAM config file. Additionaly this board has a direct MAC/MAC connection from the kirkwood to a marvell simple switch

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

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com 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

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

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com This board is similar to portl2, but it has the u-boot environment in a SPI NOR flash and not in an i2c eeprom like portl2 have. Some other details: - IVM EEPROM is at adress: pca9547:70:9 - PCI is enabled - PIGGY4 is connected via MV88E6352

[U-Boot] [PATCH v4 15/27] arm/km: correct init of 88e6352 switch in the reset_phy function

2012-05-15 Thread Valentin Longchamp
This is achieved thanks to the support read/write regs for the external 88e6352 switch. The functions for this are added into an own file managed_switch.c. This is compiled if the define CONFIG_KM_MANAGED_SW_ADDR was set in the board setup. This define specifies the phy address. Signed-off-by:

[U-Boot] [PATCH v4 25/27] arm/km: implement weak function board_spi_clam_bus/release

2012-05-15 Thread Valentin Longchamp
They are needed on all km_arm boards where we have the environement variables in the NOR Flash. First boards using this feature are kmcoge5un and kmnusa. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Gerlando Falauto

[U-Boot] [PATCH v4 26/27] km/arm: remove spi toggle command

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Now we toggle between SPI and NAND flash automatically if we claim the SPI bus. So we can get rid of this command. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando

[U-Boot] [PATCH v4 01/27] arm/km: add board type to boards.cfg

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com 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 holger.bru...@keymile.com

[U-Boot] [PATCH v4 04/27] arm/km: use ARRAY_SIZE macro

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- board/keymile/km_arm/km_arm.c |

[U-Boot] [PATCH v4 05/27] arm/km: fix wrong comment in SDRAM config for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com ---

[U-Boot] [PATCH v4 06/27] arm/km: change maintainer for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Heiko Schocher h...@denx.de cc: Prafulla Wadaskar prafu...@marvell.com cc: Gerlando Falauto gerlando.fala...@keymile.com ---

Re: [U-Boot] [PATCH 1/2] tegra: add alternate UART1 funcmux entry

2012-05-15 Thread Lucas Stach
Hello Stephen, this patch looks reasonable. I also need to change the pingroup config for UARTA on the Colibri T20 board and came up with a similar approach, but I will rebase my work on top of this. As I'm not in the position to give anything more official, I just wanted to give this patch a

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Marek Vasut
Dear Matevz Langus, Hi, sorry for top-posting. It is Freescale eLB NAND controller. We need to investigate a bit more why it does not work with 512B sub-pages in u-boot. It does in Linux. And are you sure it does use 512b subpages in linux? Because I think there's still a bug in linux

[U-Boot] [PATCH V2] tegra: Whistler board support

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Whistler is a highly configurable Tegra evaluation and development board. This change adds support for the following specific configuration: E1120 motherboard E1108 CPU board E1116 PMU board The motherboard configuration switches are set as follows: SW1=0

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Scott Wood
On 05/15/2012 11:33 AM, Marek Vasut wrote: Dear Matevz Langus, Hi, sorry for top-posting. It is Freescale eLB NAND controller. We need to investigate a bit more why it does not work with 512B sub-pages in u-boot. It does in Linux. And are you sure it does use 512b subpages in linux?

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Matevz Langus
Hi Scott, yes, I have also seen that. That makes me think using 2k alignment for all UBI structure is the safest/only way to go with eLBC NAND. But really confused I was, when I saw it working in Linux. Maybe Linux driver does not use HW ECC. Will report the findings when I finish other

[U-Boot] [PATCH v2 1/3] mx53: Allow IPUv3 driver to also work on mx53

2012-05-15 Thread Fabio Estevam
Adjust the IPU base registers so that ipuv3 driver can work on both mx51 and mx53 SoCs. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Properly implement the IPU offset scheme. arch/arm/include/asm/arch-mx5/imx-regs.h |8 - drivers/video/ipu_regs.h

[U-Boot] [PATCH v3 10/10] net: cosmetic: netconsole.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Requires: --ignore CONSIDER_KSTRTO Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: drivers/net/netconsole.c | 122 +++-- 1 files

[U-Boot] [PATCH v3 09/10] net: cosmetic: tftp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: include/net.h |4 net/tftp.c| 30 ++ net/tftp.h|2 +- 3 files changed, 19

[U-Boot] [PATCH v3 03/10] net: cosmetic: bootp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Fixed commit summary net.c - bootp.* net/bootp.c | 340 ++-

[U-Boot] [PATCH v3 05/10] net: cosmetic: net.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: common/main.c|1 - include/common.h |4 include/net.h|5 + net/net.c| 22

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-05-15 Thread Albert ARIBAUD
Hi Luka, Le 14/05/2012 21:29, Luka Perkov a écrit : Hi Albert, On Sun, Apr 29, 2012 at 10:19:41PM +0200, Luka Perkov wrote: On Thu, Apr 19, 2012 at 08:38:19AM +0200, Albert ARIBAUD wrote: Not my main area of expertise here, but I am not sure how this plays on Marvell non-kirkwood platforms

[U-Boot] [PATCH v3 07/10] net: cosmetic: rarp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: net/rarp.c | 28 ++-- net/rarp.h |4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff

[U-Boot] [PATCH v3 00/10] Network stack checkpatch.pl compliance

2012-05-15 Thread Joe Hershberger
This patch-series addresses checkpatch compliance issues throughout the networking stack. One particularly intrusive change is the removal of volatile from the Ethernet driver API. All network drivers need to be updated to not use volatile pointers when calling into the network stack. This is a

[U-Boot] [PATCH v3 02/10] net: cosmetic: net.h checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Added blank lines for Simon Glass include/net.h | 116 +--- 1 files

[U-Boot] [PATCH v3 08/10] net: cosmetic: sntp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Changed literal to sizeof() for Simon Glass net/sntp.c | 31 +-- net/sntp.h |2 +- 2 files

[U-Boot] [PATCH v3 06/10] net: cosmetic: nfs.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: net/nfs.c | 300 ++--- net/nfs.h |2 +- 2 files changed, 150

[U-Boot] [PATCH v3 01/10] net: Remove volatile from net API

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Remove volatile from eth driver API - Not using global NetRxPacket (since not casting away volatile) Changes for v3: include/net.h | 25 +

Re: [U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-05-15 Thread Thomas Weber
Ccing Albert Thomas On 04/02/2012 01:58 PM, Thomas Weber wrote: From: Bernhard Walle wa...@corscience.de In addition to the error message also display the error code. I had the problem that my malloc memory was not enough (ENOMEM), and if u-boot had displayed the error code immediately that

Re: [U-Boot] nand_get_device() and nand_release_device()

2012-05-15 Thread Scott Wood
On 05/07/2012 11:14 AM, Timur Tabi wrote: Scott, As you know, the P1022 has this weird LBC/DIU muxing problem. I'd like to add support for the 'nand' command while the DIU is active. Looking at the NAND code, I see functions nand_get_device() and nand_release_device(). What is the idea

[U-Boot] [PATCH v3 04/10] net: cosmetic: eth.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: net/eth.c | 67 +--- 1 files changed, 32 insertions(+), 35 deletions(-)

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-05-15 Thread Luka Perkov
Hi Albert, On Tue, May 15, 2012 at 09:42:59PM +0200, Albert ARIBAUD wrote: diff --git a/include/ide.h b/include/ide.h index 8ecc9dd..385e909 100644 --- a/include/ide.h +++ b/include/ide.h @@ -24,7 +24,7 @@ #ifndef_IDE_H #define _IDE_H -#define IDE_BUS(dev)(dev 1)

[U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de --- include/configs/m28evk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/m28evk.h

[U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de --- include/configs/m28evk.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index

[U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
The environment has been based on mx53loco and m28evk but keeping the possibility to easy change the default console device as Freescale and mainline kernels differ on the device name. Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Fabio Estevam
On Tue, May 15, 2012 at 5:59 PM, Otavio Salvador ota...@ossystems.com.br wrote: +       loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0 \ +       mmcboot=echo Booting from mmc ...; \ +               run mmcargs; \ +               bootm\0 \ +       netargs=setenv

Re: [U-Boot] [PATCH V2 2/4] mtd/NAND: Add FSMC driver support

2012-05-15 Thread Scott Wood
On 05/07/2012 02:26 AM, Amit Virdi wrote: + while (num_err--) { + change_bit(0, err_idx[i]); + change_bit(1, err_idx[i]); + + if (err_idx[i] 512 * 8) { + change_bit(err_idx[i], dat); + i++; + } +

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Please drop the other one, so this is the same as mx28evk.h and we can easily unify it. btw how did you find this? ---

Re: [U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Is this really necessary? I think it's a matter of personal taste, isn't it? --- include/configs/m28evk.h |2 +-

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, The environment has been based on mx53loco and m28evk but keeping the possibility to easy change the default console device as Freescale and mainline kernels differ on the device name. FSL kernel is dumb :-( But I like this patch. On the other hand, can't this be made

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:08 PM, Fabio Estevam feste...@gmail.com wrote: On Tue, May 15, 2012 at 5:59 PM, Otavio Salvador ota...@ossystems.com.br wrote: +       loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0 \ +       mmcboot=echo Booting from mmc ...; \ +            

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, On Tue, May 15, 2012 at 6:16 PM, Marek Vasut ma...@denx.de wrote: But I like this patch. On the other hand, can't this be made even more generic so everyone can use such a nice unified env? I tried something in this direction but Wolfgang NACKed the patch. It wasn't

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:21 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, I tried something in this direction but Wolfgang NACKed the patch. It wasn't clear to me what he wants so I preferred to go again with mx28evk patch only. Well ... it might have been a good idea to

[U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
The environment has been based on mx53loco and m28evk but keeping the possibility to easy change the default console device as Freescale and mainline kernels differ on the device name. Signed-off-by: Otavio Salvador ota...@ossystems.com.br Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic

Re: [U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:14 PM, Marek Vasut ma...@denx.de wrote: Is this really necessary? I think it's a matter of personal taste, isn't it? It is but you does this kind of style in other part of file so seemed logical to use the same. Since I was looking at the code it seemed good to send it

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:14 PM, Marek Vasut ma...@denx.de wrote: Please drop the other one, so this is the same as mx28evk.h and we can easily unify it. btw how did you find this? Good; will check it. I found it when looking about common stuff in boad configs; I am still willing to try to

[U-Boot] [PATCH] tegra: paz00: fix typo in SD slot CD detect GPIO

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- board/compal/paz00/paz00.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/compal/paz00/paz00.c b/board/compal/paz00/paz00.c index 3b48917..b07ce11 100644 ---

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, On Tue, May 15, 2012 at 6:14 PM, Marek Vasut ma...@denx.de wrote: Please drop the other one, so this is the same as mx28evk.h and we can easily unify it. btw how did you find this? Good; will check it. I found it when looking about common stuff in boad configs; I

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: On Monday 14 May 2012 17:01:30 Charles Manning wrote: On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: Seems odd that this hasn't been done yet. Shaves 5k off an omap

[U-Boot] [PATCH 3/4] tegra: whistler: reduce and comment network cfg options

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com CONFIG_CMD_PING/NFS aren't required for Whistler to boot. Add some comments. Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/whistler.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 1/4] tegra: remove some cruft from CONFIG_EXTRA_ENV_SETTINGS

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com console isn't used by anything, and the kernel should be set appropriately by whatever script is booting the kernel, not imposed by the bootloader. mem might be useful, but the current value is pretty bogus, since it includes nvmem options that make no

[U-Boot] [PATCH 4/4] tegra: seaboard: add support for USB networking

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- include/configs/seaboard.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index c2ed686..7be8ecf 100644 ---

[U-Boot] [PATCH 2/4] tegra: flesh out bootcmd

2012-05-15 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This implements a useful bootcmd for Tegra. The boot order is: * If USB enabled, USB storage * Internal MMC (SD card or eMMC) * If networking is enabled, BOOTP/TFTP When booting from USB or MMC, the boot script is assumed to be in partition 1 (although

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Wolfgang Denk
Dear Charles, In message 201205161007.59560.mannin...@actrix.gen.nz you wrote: On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: ... current u-boot policy is to not introduce changes that knowingly break other platforms. so if you want to update the common arm config.mk, you need to

Re: [U-Boot] [PATCH] sh: Add SH7269 device and RSK2+SH7269 board

2012-05-15 Thread Nobuhiro Iwamatsu
Hi, Phil. Please write more infomation to changelog. Best regards, Nobuhiro 2012/5/10 Phil Edworthy phil.edwor...@renesas.com: This is an sh2a device. Signed-off-by: Phil Edworthy phil.edwor...@renesas.com ---  arch/sh/include/asm/cpu_sh2.h         |    2 +  

[U-Boot] [PATCH V2 1/2] spi: Tegra2: Seaboard: fix UART corruption during SPI transactions

2012-05-15 Thread Tom Warren
Simon Glass's proposal to fix this on Seaboard was NAK'd, so I removed his NS16550 references and added a small delay before SPI/UART muxing. Tested on my Seaboard with large SPI reads/writes and saw no corruption (crc's matched) and no spurious comm chars. Signed-off-by: Tom Warren

[U-Boot] [PATCH V2 2/2] spi: Tegra2: Seaboard: enable SPI/UART corruption fix

2012-05-15 Thread Tom Warren
Signed-off-by: Tom Warren twar...@nvidia.com --- v2: Split config file changes into separate commit include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 46d4228..889bdff 100644

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Wednesday 16 May 2012 10:25:26 Wolfgang Denk wrote: Dear Charles, In message 201205161007.59560.mannin...@actrix.gen.nz you wrote: On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: ... current u-boot policy is to not introduce changes that knowingly break other platforms. so

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-05-15 Thread Scott Wood
On 05/08/2012 03:07 PM, Rafael Beims wrote: Based on your response, would it be OK to implement the marker in the bbt as something like Liu Shuo suggested ('M', 'B', 'b', 't', 0) and then do the scanning as follows: I'd leave the BBT marker alone, and have the migration marker be located

Re: [U-Boot] [PATCH] Add doc/README.kbd

2012-05-15 Thread Eric Nelson
On 05/15/2012 05:47 AM, Dirk Behme wrote: On 16.04.2012 18:18, Eric Nelson wrote: On 04/16/2012 08:48 AM, Eric Nelson wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com --- doc/README.kbd | 84 1 files changed, 84

[U-Boot] Pull request: u-boot-net/master

2012-05-15 Thread Joe Hershberger
The following changes since commit 0a6deb3251a68b5be640ab1b848ca67e906b75ce: Wolfgang Denk (1): Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging are available in the git repository at: git://git.denx.de/u-boot-net.git master Joe Hershberger (10): net: Remove

Re: [U-Boot] [PATCH 1/2 v2] net: punt bd-bi_ip_addr

2012-05-15 Thread Joe Hershberger
Hi Mike, On Wed, Apr 4, 2012 at 11:53 PM, Mike Frysinger vap...@gentoo.org wrote: This field gets read in one place (by bdinfo), and we can replace that with getenv(ipaddr).  After all, the bi_ip_addr field is kept up-to-date implicitly with the value of the ipaddr env var. Signed-off-by:

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Eric Nelson
On 05/15/2012 06:09 AM, Anatolij Gustschin wrote: Hi Dirk, On Tue, 15 May 2012 14:58:54 +0200 Dirk Behmedirk.be...@de.bosch.com wrote: On 09.05.2012 07:45, Stefano Babic wrote: ... The problem with an #ifdef is that it is not very generic - we should add some #if (defined(CONFIG_MX51) ||

Re: [U-Boot] [PATCH 2/2 v2] net: move bootfile init into eth_initialize

2012-05-15 Thread Joe Hershberger
Hi Mike, On Wed, Apr 4, 2012 at 11:53 PM, Mike Frysinger vap...@gentoo.org wrote: All arches init this the same way, so move the logic into the core net code to avoid duplicating it everywhere else. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2        - rebased onto mainline  

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 7:05 PM, Marek Vasut ma...@denx.de wrote: You submit your MX23 stuff, let's get that in. Then we can start with this consolidation. Is it OK? This works but wouldn't be better to avoid a duplication before it? It doesn't matter for me but I'd prefer it fixed. -- Otavio

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, On Tue, May 15, 2012 at 7:05 PM, Marek Vasut ma...@denx.de wrote: You submit your MX23 stuff, let's get that in. Then we can start with this consolidation. Is it OK? This works but wouldn't be better to avoid a duplication before it? It doesn't matter for me but I'd

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Marek Vasut
Dear Eric Nelson, On 05/15/2012 06:09 AM, Anatolij Gustschin wrote: Hi Dirk, On Tue, 15 May 2012 14:58:54 +0200 Dirk Behmedirk.be...@de.bosch.com wrote: On 09.05.2012 07:45, Stefano Babic wrote: ... The problem with an #ifdef is that it is not very generic - we should add

Re: [U-Boot] [PATCH V2] tegra: Whistler board support

2012-05-15 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, May 15, 2012 9:45 AM To: Tom Warren Cc: Simon Glass; u-boot@lists.denx.de; Stephen Warren Subject: [PATCH V2] tegra: Whistler board support From: Stephen Warren swar...@nvidia.com

  1   2   >