Re: [U-Boot] [PATCH 1/2 V2] EXYNOS5: PINMUX: Added default pinumx settings

2012-05-31 Thread Rajeshwari Birje
Hi Minkyu Kang, Thank you for comments. On Fri, Jun 1, 2012 at 12:11 PM, Minkyu Kang wrote: > Dear Simon Glass, > > On 1 June 2012 10:40, Simon Glass wrote: >> Hi, >> >> On Thu, May 31, 2012 at 2:57 AM, Minkyu Kang wrote: >>> >>> Dear Rajeshwari Shinde, >>> >>> On 23 May 2012 17:54, Rajeshwari

Re: [U-Boot] [PATCH 1/2 V2] EXYNOS5: PINMUX: Added default pinumx settings

2012-05-31 Thread Minkyu Kang
Dear Simon Glass, On 1 June 2012 10:40, Simon Glass wrote: > Hi, > > On Thu, May 31, 2012 at 2:57 AM, Minkyu Kang wrote: >> >> Dear Rajeshwari Shinde, >> >> On 23 May 2012 17:54, Rajeshwari Shinde wrote: >> > This patch performs the pinmux configuration in a common file. >> > As of now only EXY

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

2012-05-31 Thread Igor Grinberg
Hi Tom, On 05/31/12 19:17, Tom Warren wrote: > Igor, > >> -Original Message- >> From: Igor Grinberg [mailto:grinb...@compulab.co.il] >> Sent: Thursday, May 31, 2012 1:45 AM >> To: Stephen Warren >> Cc: Konstantin Sinyuk; Tom Warren; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH V2]

Re: [U-Boot] [PATCH] tegra: trimslice: fix a couple typos

2012-05-31 Thread Igor Grinberg
On 05/31/12 19:50, Stephen Warren wrote: > On 05/31/2012 04:13 AM, Marek Vasut wrote: >> Dear Igor Grinberg, >> >>> On 05/30/12 19:45, Stephen Warren wrote: From: Stephen Warren Fix the .dts file USB unit addresses not to duplicate each-other. Fix the board name string to

Re: [U-Boot] facing issues with malloc in U-Boot

2012-05-31 Thread Graeme Russ
Hi Sandeep, On Fri, Jun 1, 2012 at 3:50 PM, Sandeep Kumar wrote: > Hi , > > I am using vexpress board (ca9x4_ct_vxp). During run time all the malloc are > failing even if it's of 1 byte. I tried to increase the malloc pool size to > 1MB also but it is not helping out. Any king of pointer or hel

Re: [U-Boot] [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-31 Thread Rajeshwari Birje
Hi Simon, Thank you for comments. On Fri, Jun 1, 2012 at 6:05 AM, Simon Glass wrote: > Hi, > > On Thu, May 3, 2012 at 11:56 PM, Rajeshwari Shinde > wrote: > >> This patch performs the pinmux configuration in a common file. >> As of now only Exynos5 pinmux for SDMMC, UART and Ethernet is >> suppo

Re: [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller

2012-05-31 Thread Stefan Roese
On Friday 01 June 2012 06:24:18 Amit Virdi wrote: > > If you have other things to put on top of them, go ahead and take these > > patches with them. > > Stefan, if you're going to apply these patches could you please fix > Micoelectronics -> Microelectronics in fsmc_nand.c? Will do. Thanks, Stef

Re: [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller

2012-05-31 Thread Stefan Roese
On Thursday 31 May 2012 21:27:56 Scott Wood wrote: > Acked-by: Scott Wood > > If you have other things to put on top of them, go ahead and take these > patches with them. Okay, will do. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] facing issues with malloc in U-Boot

2012-05-31 Thread Sandeep Kumar
Hi , I am using vexpress board (ca9x4_ct_vxp). During run time all the malloc are failing even if it's of 1 byte. I tried to increase the malloc pool size to 1MB also but it is not helping out. Any king of pointer or help will be highly appreciated. Thanks and Regards, Sandeep -Original

Re: [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller

2012-05-31 Thread Amit Virdi
On 6/1/2012 12:57 AM, Scott Wood wrote: On 05/31/2012 02:04 AM, Stefan Roese wrote: Hi Scott, On Friday 25 May 2012 03:58:39 ste...@roese.nl wrote: This patchset adds support for ST's FSMC controller. In the current u-boot, a SPEAr specific driver exists for FSMC controller. This patchset a

Re: [U-Boot] problem while making kernel up

2012-05-31 Thread Manukumar
Thanks scott.. manukumar signal-networks On Thu, 2012-05-31 at 11:21 -0500, Scott Wood wrote: > Wolfgang Denk , Marek Vasut , > joe.hershber...@ni.com, s...@denx.de, u-boot@lists.denx.de, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.

Re: [U-Boot] [PATCH] gpio: tegra2: rename tegra2_gpio.* to tegra_gpio.*

2012-05-31 Thread Simon Glass
On Tue, May 22, 2012 at 3:19 PM, Tom Warren wrote: > In anticipation of Tegra3 support, continue removing/renaming > Tegra2-specific files. No functional changes (yet). > Updated copyrights to 2012. > > Signed-off-by: Tom Warren > Acked-by: Simon Glass > --- > arch/arm/include/asm/arch-tegra

Re: [U-Boot] [PATCH 1/2 V2] EXYNOS5: PINMUX: Added default pinumx settings

2012-05-31 Thread Simon Glass
Hi, On Thu, May 31, 2012 at 2:57 AM, Minkyu Kang wrote: > Dear Rajeshwari Shinde, > > On 23 May 2012 17:54, Rajeshwari Shinde wrote: > > This patch performs the pinmux configuration in a common file. > > As of now only EXYNOS5 pinmux for SDMMC, UART and Ethernet is > > supported. > > > > Signed

Re: [U-Boot] [PATCH 4/4] EXYNOS5: Enable support for MSHCI

2012-05-31 Thread Simon Glass
On Fri, May 25, 2012 at 4:53 AM, Rajeshwari Shinde wrote: > This patchs enables MSHCI driver for EXYNOS5. > > Signed-off-by: Terry Lambert > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > This patch is based on: >"PMIC: SMDK5250: Enable MAX77686 pmic chip" > board

Re: [U-Boot] [PATCH 3/4] EXYNOS: Add base address for MSHCI

2012-05-31 Thread Simon Glass
On Fri, May 25, 2012 at 4:53 AM, Rajeshwari Shinde wrote: > This patch adds the base address of MSHCI > for EXYNOS4 and EXYNOS5. > > Signed-off-by: Terry Lambert > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > This patch is based on: >"EXYNOS: Add I2C base addres

Re: [U-Boot] [PATCH 2/4] EXYNOS5: PINMUX: Add pinmux for SDMMC4

2012-05-31 Thread Simon Glass
Hi, On Fri, May 25, 2012 at 4:53 AM, Rajeshwari Shinde wrote: > Add pinmux support for SDMMC4 on EXYNOS5. > > Signed-off-by: Terry Lambert > Signed-off-by: Rajeshwari Shinde > Is this relevant only to EVT0? It's fine if this is just a step along the way, just wanted to check. > --- > This p

Re: [U-Boot] [PATCH 1/4] EXYNOS: MSHCI: Add clock for EXYNOS5

2012-05-31 Thread Simon Glass
Hi Rajeshwari, On Fri, May 25, 2012 at 4:53 AM, Rajeshwari Shinde wrote: > Add apis to set and get divider clock ratio for FSYS_BLK > on EXYNOS5. > > Signed-off-by: Terry Lambert > Signed-off-by: Alim Akhtar > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass I have a few suggestion

Re: [U-Boot] [PATCH 2/2 V2] PMIC: SMDK5250: Enable MAX77686 pmic chip

2012-05-31 Thread Simon Glass
On Wed, May 23, 2012 at 1:57 AM, Rajeshwari Shinde wrote: > This patch enables MAX77686 pmic chip for SMDK5250. > > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > This patch is based on: >"EXYNOS: SMDK5250: Enable the pinmux setup" and >"CONFIG: SMDK5250: I2

Re: [U-Boot] [PATCH 1/2 V2] PMIC: MAX77686: Add support for MAX77686

2012-05-31 Thread Simon Glass
On Wed, May 23, 2012 at 1:57 AM, Rajeshwari Shinde wrote: > This patch adds driver and register definitions for PMIC chip > MAX77686. > > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > changes for V2: >- using the generic PMIC framework instead of writing separate >

Re: [U-Boot] [PATCH 2/2 V2] EXYNOS: SMDK5250: Enable the pinmux setup

2012-05-31 Thread Simon Glass
Hi, On Wed, May 23, 2012 at 1:54 AM, Rajeshwari Shinde wrote: > Use the pinmux configuration function for SMDK5250. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass I would prefer to have an error return from smc9115_pre_init() though. Regards,

Re: [U-Boot] [PATCH 8/8] CONFIG: SMDK5250: I2C: Enable I2C

2012-05-31 Thread Simon Glass
Hi, On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This enables I2C support on smdk5250. > > Signed-off-by: Alim Akhtar > Signed-off-by: Doug Anderson > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass BTW we have additional patches in our tree which tidy up the i2c_tr

Re: [U-Boot] [PATCH 7/8] I2C: Add support for Multi channel

2012-05-31 Thread Simon Glass
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This adds multiple i2c channel support for I2C. > > Signed-off-by: Alim Akhtar > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > drivers/i2c/s3c24x0_i2c.c | 27 +++ > 1 files changed, 27

Re: [U-Boot] [PATCH 6/8] I2C: Modify the I2C driver for EXYNOS5

2012-05-31 Thread Simon Glass
Hi, On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This patch modifies the S3C I2C driver to suppport EXYNOS5. > The cahnges made to driver are as follows: >- I2C base address is passed as a parameter to many >functions to avoid multiple #ifdef >- I2C init fo

Re: [U-Boot] [PATCH 5/8] I2C: S3C24X0: Add offset to calculate next i2c channel base address

2012-05-31 Thread Simon Glass
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > As exynos has more than one i2c channels. This patch adds offset padding > for struct s3c24x0_i2c, in order to get the new base address of next i2c > channel. > > Signed-off-by: Alim Akhtar > Signed-off-by: Rajeshwari Shinde > This is

Re: [U-Boot] [PATCH 4/8] I2C: Move struct s3c24x0_i2c to a common place.

2012-05-31 Thread Simon Glass
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > struct s3c24x0_i2c is being moved to common local header file so that > the same can be used by s3c series and exynos series SoCs. > > Signed-off-by: Alim Akhtar > Signed-off-by: Doug Anderson > Signed-off-by: Rajeshwari Shinde > Ack

Re: [U-Boot] [PATCH 3/8] EXYNOS: PINMUX: Add pinmux support for I2C

2012-05-31 Thread Simon Glass
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This patch adds pinmux code for I2C. > > Signed-off-by: Leela Krishna Amudala > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > This patch depends on the following patch: > "[U-Boot] [PATCH 1/2] exynos5: pinmux: Ad

Re: [U-Boot] [PATCH 2/8] EXYNOS: Add I2C base address.

2012-05-31 Thread Simon Glass
On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This patch adds the base address for I2C. > > Signed-off-by: Alim Akhtar > Signed-off-by: Rajeshwari Shinde > Acked-by: Simon Glass > --- > arch/arm/include/asm/arch-exynos/cpu.h |3 +++ > 1 files changed, 3 insertions(+), 0 d

Re: [U-Boot] [PATCH 7/7] tegra: seaboard: disable SPI, move environment to eMMC

2012-05-31 Thread Simon Glass
Hi Stephen, On Thu, May 31, 2012 at 5:00 PM, Stephen Warren wrote: > On 05/31/2012 05:39 PM, Simon Glass wrote: > > Hi Stephen, > > > > On Thu, May 24, 2012 at 2:38 PM, Stephen Warren > > wrote: > > > > From: Stephen Warren mailto:swar...@nvidia.com > >> > > > >

Re: [U-Boot] [PATCH 1/8] EXYNOS: CLK: Add i2c clock

2012-05-31 Thread Simon Glass
Hi, On Fri, May 18, 2012 at 5:12 AM, Rajeshwari Shinde wrote: > This adds i2c clock information for EXYNOS5. > > Signed-off-by: Alim Akhtar > Signed-off-by: Doug Anderson > Signed-off-by: Rajeshwari Shinde > Just a few nits, otherwise: Acked-by: Simon Glass > --- > arch/arm/cpu/armv7/ex

Re: [U-Boot] [PATCH 2/2] exynos: smdk5250: Enable the pinmux setup

2012-05-31 Thread Simon Glass
Hi, On Wed, May 23, 2012 at 1:49 AM, Rajeshwari Birje < rajeshwari.bi...@gmail.com> wrote: > Hi Chander, > > Thank you for comments > > On Wed, May 23, 2012 at 11:35 AM, Chander Kashyap > wrote: > > Hi, > > > > On 4 May 2012 12:26, Rajeshwari Shinde wrote: > >> Use the pinmux configuration f

Re: [U-Boot] [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-31 Thread Simon Glass
Hi, On Thu, May 3, 2012 at 11:56 PM, Rajeshwari Shinde wrote: > This patch performs the pinmux configuration in a common file. > As of now only Exynos5 pinmux for SDMMC, UART and Ethernet is > supported. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Che-Liang Chiou > Signed-off-by: Raje

Re: [U-Boot] [PATCH 1/2] exynos5: pinmux: Added default pinumx settings

2012-05-31 Thread Simon Glass
Hi, On Tue, May 22, 2012 at 11:12 PM, Chander Kashyap < chander.kash...@linaro.org> wrote: > Hi, > > On 4 May 2012 12:26, Rajeshwari Shinde wrote: > > This patch performs the pinmux configuration in a common file. > > As of now only Exynos5 pinmux for SDMMC, UART and Ethernet is > > supported. >

Re: [U-Boot] [PATCH 7/7] tegra: seaboard: disable SPI, move environment to eMMC

2012-05-31 Thread Stephen Warren
On 05/31/2012 05:39 PM, Simon Glass wrote: > Hi Stephen, > > On Thu, May 24, 2012 at 2:38 PM, Stephen Warren > wrote: > > From: Stephen Warren mailto:swar...@nvidia.com>> > > > Acked-by: Simon Glass mailto:s...@chromium.org>> > > But a question - what happens

Re: [U-Boot] [PATCH] mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.*

2012-05-31 Thread Simon Glass
On Tue, May 22, 2012 at 2:44 PM, Tom Warren wrote: > In anticipation of Tegra3 support, continue removing/renaming > Tegra2-specific files. No functional changes (yet). > Updated copyrights to 2012. > > Signed-off-by: Tom Warren > Acked-by: Simon Glass > --- > board/nvidia/harmony/harmony.c

Re: [U-Boot] facing issues with malloc in U-Boot

2012-05-31 Thread Graeme Russ
Hi Sandeep, On Fri, Jun 1, 2012 at 1:42 AM, Sandeep Kumar wrote: > Hi Everyone, > > I am facing issues with malloc in U-Boot while trying to allocate some > memory. Here are the prints which I am getting after enabling the debug. > > U-Boot 2011.12 (May 31 2012 - 20:49:16) What board are you us

Re: [U-Boot] [PATCH 7/7] tegra: seaboard: disable SPI, move environment to eMMC

2012-05-31 Thread Simon Glass
Hi Stephen, On Thu, May 24, 2012 at 2:38 PM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass But a question - what happens if we have a partition table and filesystems on the eMMC - i.e. if we are not actually booting from eMMC? > > The SPI hardware on Seaboard is too b

Re: [U-Boot] [PATCH V3 2/2] tegra: enable CONFIG_ENV_VARS_UBOOT_CONFIG

2012-05-31 Thread Simon Glass
On Tue, May 22, 2012 at 12:21 PM, Stephen Warren wrote: > From: Stephen Warren > > So that all Tegra boards define environment variables that describe > themselves. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass > --- > v2: Adjust to new CONFIG variable name > --- > include/confi

Re: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board

2012-05-31 Thread Simon Glass
On Tue, May 22, 2012 at 12:21 PM, Stephen Warren wrote: > From: Stephen Warren > Looks good. Acked-by: Simon Glass > > This can be useful for generic scripts. For example, rather than hard- > coding a script to ext2load tegra-harmony.dtb, it could load > ${soc}-${board}.dtb and hence not nee

Re: [U-Boot] [PATCH 1/2] tegra: add SDMMC1 on SDIO1 funcmux entry

2012-05-31 Thread Simon Glass
On Mon, May 21, 2012 at 7:48 PM, Stephen Warren wrote: > On 05/21/2012 06:41 PM, Simon Glass wrote: > > Hi Stephen, > > > > On Wed, May 16, 2012 at 4:54 PM, Stephen Warren > > wrote: > > > > From: Stephen Warren mailto:swar...@nvidia.com > >> > Acked-by: Simon G

Re: [U-Boot] [PATCH V3 1/2] tegra: whistler: reduce and comment network cfg options

2012-05-31 Thread Simon Glass
On Wed, May 16, 2012 at 9:36 AM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass > > CONFIG_CMD_PING/NFS aren't required for Whistler to boot. > > Add some comments. > > Signed-off-by: Stephen Warren > --- > v3: Fix duplicate #defines > v2: Fix typo in comment > > Tom, t

Re: [U-Boot] [PATCH V3 2/2] tegra: seaboard: add support for USB networking

2012-05-31 Thread Simon Glass
On Wed, May 16, 2012 at 9:36 AM, Stephen Warren wrote: > From: Stephen Warren > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass > --- > v3: Fix duplicate #defines > --- > include/configs/seaboard.h |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a

Re: [U-Boot] [PATCH] spi: tegra2: rename tegra2_spi.* to tegra_spi.*

2012-05-31 Thread Simon Glass
On Tue, May 22, 2012 at 10:33 AM, Tom Warren wrote: > In anticipation of Tegra3 support, start removing/renaming > Tegra2-specific files. No functional changes (yet). > Also updated copyright to 2012. > > Signed-off-by: Tom Warren > Acked-by: Simon Glass > --- > .../asm/arch-tegra2/{tegra2_s

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

2012-05-31 Thread Simon Glass
Hi, On Wed, May 16, 2012 at 2:31 PM, Stephen Warren wrote: > On 05/16/2012 03:27 PM, Tom Warren wrote: > > Stephen, > > Stephen Warren wrote at Wednesday, May 16, 2012 9:21 AM: > >> This implements a useful bootcmd for Tegra. The boot order is: > ... > > I'm getting checkpatch errors (over 80 cha

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

2012-05-31 Thread Simon Glass
On Wed, May 16, 2012 at 9:20 AM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass > > 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 curr

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

2012-05-31 Thread Simon Glass
On Tue, May 15, 2012 at 3:16 PM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass > > 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 booti

Re: [U-Boot] [PATCH] tegra: add UART1 on GPU funcmux entry

2012-05-31 Thread Simon Glass
On Wed, May 16, 2012 at 8:59 AM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass > > TrimSlice uses UART1 on the GPU pingroup. > > Signed-off-by: Stephen Warren > --- > arch/arm/cpu/armv7/tegra2/board.c |4 +++- > arch/arm/cpu/armv7/tegra2/funcmux.c

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

2012-05-31 Thread Simon Glass
On Tue, May 15, 2012 at 3:32 PM, Tom Warren wrote: > Signed-off-by: Tom Warren > Acked-by: Simon Glass (although later in your series this actually gets reverted) --- > v2: Split config file changes into separate commit > > include/configs/seaboard.h |9 + > 1 files changed, 9 in

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

2012-05-31 Thread Simon Glass
On Tue, May 15, 2012 at 3:16 PM, Stephen Warren wrote: > From: Stephen Warren > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass > --- > include/configs/seaboard.h | 12 > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/include/configs/seaboard.h b/i

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

2012-05-31 Thread Simon Glass
On Tue, May 15, 2012 at 3:16 PM, Stephen Warren wrote: > From: Stephen Warren > > CONFIG_CMD_PING/NFS aren't required for Whistler to boot. > > Add some comments. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass > --- > include/configs/whistler.h |7 --- > 1 files changed,

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

2012-05-31 Thread Simon Glass
Hi, On Tue, May 15, 2012 at 9:45 AM, Stephen Warren wrote: > From: Stephen Warren > Acked-by: Simon Glass A little late, but I have finally been through these commits. They all LGTM - just a few comments. Regards, Simon > > Whistler is a highly configurable Tegra evaluation and development

Re: [U-Boot] [PATCH v7 4/4] Kirkwood: add lschlv2 and lsxhl board support

2012-05-31 Thread Luka Perkov
Hi Michael, On Thu, May 31, 2012 at 08:12:45PM +0200, Michael Walle wrote: ... > +#ifdef CONFIG_RESET_PHY_R > +/* Configure and enable MV88E1118 PHY */ > +void reset_phy(void) > +{ > + u16 devadr; > + char *name = "egiga1"; > + > + if (miiphy_set_current_dev(name)) > + re

Re: [U-Boot] [PATCH v3 1/5] kirkwood: add save functionality kirkwood_mpp_conf function

2012-05-31 Thread Luka Perkov
Hi Valentin, On Thu, May 31, 2012 at 04:17:52PM +0200, Valentin Longchamp wrote: > If a second non NULL argument is given to the kirkwood_mpp_conf > function, it will be used to store the current configuration of the MPP > registers. mpp_save must be a preallocated table of the same size as > mpp

Re: [U-Boot] [PATCH 7/9] mxc_i2c: Allow MX6Q I2C3 to work

2012-05-31 Thread Fabio Estevam
Hi Troy, On Thu, May 31, 2012 at 7:24 PM, Troy Kisky wrote: > > This conflicts with the patch that Stefano acked on May 6. > > [PATCH 1/3] mxc_i2c: specify i2c base address in config file > > The following platforms had their config files changed > flea3, imx31_phycore, mx35pdk, mx53ard, mx53evk

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

2012-05-31 Thread Simon Glass
Hi Stephen, On Mon, May 21, 2012 at 7:49 PM, Stephen Warren wrote: > On 05/21/2012 06:47 PM, Simon Glass wrote: > > Hi Stephen, > > > > On Mon, May 14, 2012 at 4:13 PM, Stephen Warren > > wrote: > > > > From: Stephen Warren mailto:swar...@nvidia.com > >> > > > >

Re: [U-Boot] [PATCH 7/9] mxc_i2c: Allow MX6Q I2C3 to work

2012-05-31 Thread Troy Kisky
On 5/31/2012 10:24 AM, Fabio Estevam wrote: Allow MX6Q I2C3 to work. Cc: Heiko Schocher Signed-off-by: Fabio Estevam --- drivers/i2c/mxc_i2c.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index c88ac7c..d3c323e 100644

Re: [U-Boot] [PATCH v7 2/4] net: use common rand()/srand() functions

2012-05-31 Thread Michael Walle
Hi Joe, Am Donnerstag 31 Mai 2012, 21:04:03 schrieb Joe Hershberger: > On Thu, May 31, 2012 at 1:12 PM, Michael Walle wrote: > > Replace rand() with the functions from lib/. The link-local network code > > stores its own seed, derived from the MAC address. Thus making it > > independent from cal

Re: [U-Boot] [PATCH v2 4/7] tegra: Allow boards to perform early GPIO setup

2012-05-31 Thread Tom Warren
Thierry, > -Original Message- > From: Thierry Reding [mailto:thierry.red...@avionic-design.de] > Sent: Friday, May 25, 2012 11:00 AM > To: Stephen Warren > Cc: u-boot@lists.denx.de; Tom Warren; Simon Glass > Subject: Re: [PATCH v2 4/7] tegra: Allow boards to perform early GPIO setup > > *

Re: [U-Boot] [PATCH 1/2] tegra: add ULPI on USB2 funcmux entry

2012-05-31 Thread Lucas Stach
Hi Tom, Am Donnerstag, den 31.05.2012, 08:47 -0700 schrieb Tom Warren: > Lucas, > > > -Original Message- > > From: Lucas Stach [mailto:d...@lynxeye.de] > > Sent: Thursday, May 31, 2012 4:51 AM > > To: u-boot@lists.denx.de > > Cc: Stephen Warren; Tom Warren > > Subject: [PATCH 1/2] tegra: a

Re: [U-Boot] [PATCH V5 RESEND 0/3] mtd/NAND: Support for FSMC controller

2012-05-31 Thread Scott Wood
On 05/31/2012 02:04 AM, Stefan Roese wrote: > Hi Scott, > > On Friday 25 May 2012 03:58:39 ste...@roese.nl wrote: >>> This patchset adds support for ST's FSMC controller. In the current >>> u-boot, a >>> SPEAr specific driver exists for FSMC controller. This patchset adds >>> a full >>> fledged d

Re: [U-Boot] [PATCH v7 2/4] net: use common rand()/srand() functions

2012-05-31 Thread Joe Hershberger
On Thu, May 31, 2012 at 2:04 PM, Joe Hershberger wrote: > Hi Michael, > > On Thu, May 31, 2012 at 1:12 PM, Michael Walle wrote: >> Replace rand() with the functions from lib/. The link-local network code >> stores its own seed, derived from the MAC address. Thus making it >> independent from call

Re: [U-Boot] [PATCH v7 2/4] net: use common rand()/srand() functions

2012-05-31 Thread Joe Hershberger
Hi Michael, On Thu, May 31, 2012 at 1:12 PM, Michael Walle wrote: > Replace rand() with the functions from lib/. The link-local network code > stores its own seed, derived from the MAC address. Thus making it > independent from calls to srand() in other modules. > > Signed-off-by: Michael Walle

Re: [U-Boot] [PATCH] i.MX28: Add function to adjust memory parameters

2012-05-31 Thread Marek Vasut
Dear Fabio Estevam, > Hi Marek, > > On Wed, May 30, 2012 at 2:43 AM, Marek Vasut wrote: > > This function can be overridden at run-time and allows implementors > > of new boards based on the i.MX28 chip to fine-tune the memory params. > > It is possible to write into the dram_vals array because

[U-Boot] [PATCH v7 4/4] Kirkwood: add lschlv2 and lsxhl board support

2012-05-31 Thread Michael Walle
This patch adds support for both the Linkstation Live (LS-CHLv2) and Linkstation Pro (LS-XHL) by Buffalo. Signed-off-by: Michael Walle Cc: Prafulla Wadaskar --- MAINTAINERS |5 + board/buffalo/lsxl/Makefile | 44 + board/buffalo/lsxl/kwbimage-lschl.

[U-Boot] [PATCH v7 0/4] Kirkwood: add lschlv2 and lsxhl board support

2012-05-31 Thread Michael Walle
Changes: v7: - rebase to new master - new function rand_r() - lib/rand.c is now selected by CONFIG_RAND, because it is used by three features (CONFIG_BOOTP_RANDOM_DELAY, CONFIG_RANDOM_MACADDR and CONFIG_CMD_LINK_LOCAL) - new patch: use the common rand() functions as a replacement for n

[U-Boot] [PATCH v7 2/4] net: use common rand()/srand() functions

2012-05-31 Thread Michael Walle
Replace rand() with the functions from lib/. The link-local network code stores its own seed, derived from the MAC address. Thus making it independent from calls to srand() in other modules. Signed-off-by: Michael Walle Cc: Joe Hershberger --- include/configs/ETX094.h |1 + include

[U-Boot] [PATCH v7 1/4] lib: add rand() function

2012-05-31 Thread Michael Walle
It's a PRNG using the simple and fast xorshift method. Signed-off-by: Michael Walle Cc: Wolfgang Denk --- include/common.h |8 lib/Makefile |1 + lib/rand.c | 48 3 files changed, 57 insertions(+), 0 deletions(-) cre

[U-Boot] [PATCH v7 3/4] net: add helper to generate random mac address

2012-05-31 Thread Michael Walle
Add new function eth_random_enetaddr() to generate a locally administered ethernet address. Signed-off-by: Michael Walle Acked-by: Joe Hershberger --- include/net.h | 17 + net/eth.c | 22 ++ 2 files changed, 39 insertions(+), 0 deletions(-) diff --g

Re: [U-Boot] [PATCH] i.MX28: Add function to adjust memory parameters

2012-05-31 Thread Fabio Estevam
Hi Marek, On Wed, May 30, 2012 at 2:43 AM, Marek Vasut wrote: > This function can be overridden at run-time and allows implementors > of new boards based on the i.MX28 chip to fine-tune the memory params. > It is possible to write into the dram_vals array because when the SPL > runs, it is locate

Re: [U-Boot] [PATCH 2/2] tegra: usb: fix wrong error check

2012-05-31 Thread Stephen Warren
On 05/31/2012 05:51 AM, Lucas Stach wrote: > loop_count runs down from 1, so the correct condition to error out > is ==0. > > Signed-off-by: Lucas Stach > Acked-by: Stephen Warren > CC: Stephen Warren > CC: Tom Warren Tested-by: Stephen Warren On Harmony, repeated invocations of "usb st

[U-Boot] [PATCH 8/9] ipu_common: Add ldb_clk for use in parenting the pixel clock

2012-05-31 Thread Fabio Estevam
From: Eric Nelson Add ldb_clk for use in parenting the pixel clock. Signed-off-by: Eric Nelson Signed-off-by: Fabio Estevam --- drivers/video/ipu_common.c | 12 ++-- drivers/video/ipu_disp.c |3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/video/

[U-Boot] [PATCH 5/9] ipu_common: Rename MXC_CCM_BASE

2012-05-31 Thread Fabio Estevam
Rename MXC_CCM_BASE to CCM_BASE_ADDR as this is already defined for MX6. Signed-off-by: Fabio Estevam --- drivers/video/ipu_common.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c index 7ef8742..84892dc 100644 ---

[U-Boot] [PATCH 9/9] mx6qsabrelite: Add splaschscreen support

2012-05-31 Thread Fabio Estevam
Add splaschscreen support. It was used a Hannstar 1024 x 768 LVDS panel that can be connected to the mx6qsabrelite board. Signed-off-by: Fabio Estevam --- I understand this patch will need to be improved, but I am posting it now, so that others can possibly test it. board/freescale/mx6qsabre

[U-Boot] [PATCH 7/9] mxc_i2c: Allow MX6Q I2C3 to work

2012-05-31 Thread Fabio Estevam
Allow MX6Q I2C3 to work. Cc: Heiko Schocher Signed-off-by: Fabio Estevam --- drivers/i2c/mxc_i2c.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index c88ac7c..d3c323e 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/

[U-Boot] [PATCH 6/9] ipu_common: Do not hardcode the ipu_clk frequency

2012-05-31 Thread Fabio Estevam
Do not hardcode the ipu_clk frequency and let the board file pass this value. Signed-off-by: Fabio Estevam --- drivers/video/ipu_common.c |2 +- include/configs/mx51evk.h |1 + include/configs/mx53loco.h |1 + include/configs/vision2.h |1 + 4 files changed, 4 insertions(+), 1

[U-Boot] [PATCH 2/9] video: Rename CONFIG_VIDEO_MX5

2012-05-31 Thread Fabio Estevam
Rename CONFIG_VIDEO_MX5 as this driver can also be used on mx6. Signed-off-by: Fabio Estevam --- drivers/video/Makefile |2 +- drivers/video/cfb_console.c |2 +- include/configs/mx51evk.h |2 +- include/configs/mx53loco.h |2 +- include/configs/vision2.h |2 +- 5 fi

[U-Boot] [PATCH 1/9] mx6: Allow mx6 to access the IPUv3 registers

2012-05-31 Thread Fabio Estevam
Adjust the IPUv3 registers, so that the IPUv3 driver can be extended for mx6 as well. Signed-off-by: Fabio Estevam --- This patch series apply against Anatolij's tree. arch/arm/include/asm/arch-mx5/imx-regs.h |2 -- arch/arm/include/asm/arch-mx6/imx-regs.h |3 +++ drivers/video/ipu_reg

[U-Boot] [PATCH 4/9] ipu_common: Let clk_ipu_enable/disable only run on MX51 and MX53

2012-05-31 Thread Fabio Estevam
The registers accessed inside clk_ipu_enable/disable are not present on MX6, so make sure they only run on MX51 and MX53. Signed-off-by: Fabio Estevam --- drivers/video/ipu_common.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/video/ipu_common.c b/drivers/

[U-Boot] [PATCH 3/9] ipu_common: Only apply the erratum to MX51

2012-05-31 Thread Fabio Estevam
The following erratum : "ENGcm08316 IPU: Clarification regarding the bypass mode registers setup for display and camera interfaces" ,only applies to mx51, so restrict its usage for this SoC only. Signed-off-by: Fabio Estevam --- drivers/video/ipu_common.c |2 ++ 1 files changed, 2 insertio

Re: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board

2012-05-31 Thread Stephen Warren
On 05/22/2012 01:21 PM, Stephen Warren wrote: > From: Stephen Warren > > This can be useful for generic scripts. For example, rather than hard- > coding a script to ext2load tegra-harmony.dtb, it could load > ${soc}-${board}.dtb and hence not need adjustments to run on multiple > boards. Wolfgan

Re: [U-Boot] [PATCH] tegra: trimslice: fix a couple typos

2012-05-31 Thread Stephen Warren
On 05/31/2012 04:13 AM, Marek Vasut wrote: > Dear Igor Grinberg, > >> On 05/30/12 19:45, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> Fix the .dts file USB unit addresses not to duplicate each-other. >>> >>> Fix the board name string to indicate the vendor is Compulab not NVIDIA. >>> >>

[U-Boot] pull request for u-boot-tegra/master

2012-05-31 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM master. Thanks! The following changes since commit 2ca4a209a5b961ad1be8782c68dabe326d77dfaf: SRICHARAN R (1): OMAP4/5: Change omap4_sdp, omap4_panda, omap5_evm maintainer are available in the git repository at: git://git.denx.de/u-boo

Re: [U-Boot] problem while making kernel up

2012-05-31 Thread Scott Wood
On 05/30/2012 11:15 PM, Manukumar wrote: > thanks scott. > > i loaded my u-boot image to nand flash its fine. > and also > I need my kernel image and rootfs also in nand flash > so that my system should make kernel UP using nand flash. > how can i do this using nand flash as we are using only na

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

2012-05-31 Thread Tom Warren
Igor, > -Original Message- > From: Igor Grinberg [mailto:grinb...@compulab.co.il] > Sent: Thursday, May 31, 2012 1:45 AM > To: Stephen Warren > Cc: Konstantin Sinyuk; Tom Warren; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2] tegra: Compulab TrimSlice board support > > On 05/30/1

[U-Boot] facing issues with malloc in U-Boot

2012-05-31 Thread Sandeep Kumar
Hi Everyone, I am facing issues with malloc in U-Boot while trying to allocate some memory. Here are the prints which I am getting after enabling the debug. U-Boot 2011.12 (May 31 2012 - 20:49:16) U-Boot code: 60800020 -> 60824874 BSS: -> 608592BC monitor len: 0005929C ramsize: 2000 TLB ta

[U-Boot] [PATCH] mmc: Remove unused item flags in struct mmc_cmd

2012-05-31 Thread Kaspter Ju
Signed-off-by: Kaspter Ju --- drivers/mmc/mmc.c | 28 include/mmc.h |1 - 2 files changed, 29 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index aebe578..fdfa920 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -151,7 +151,6 @@ i

[U-Boot] [PATCH v3 2/5] kirkwood: fix calls to kirkwood_mpp_conf

2012-05-31 Thread Valentin Longchamp
With the new second save argument introduced by the previous patch, all the calls to the function had to be fixed. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- board/LaCie/net2big_v2/net2big_v2.c |2 +- board/LaCie/netspace_v2/netspace_v2.c

[U-Boot] [PATCH v3 3/5] kw_spi: backup and reset the MPP of the chosen CS pin

2012-05-31 Thread Valentin Longchamp
This was not done before, and in the case of a shared pin (for MPP0 between NF_IO[2] and CSn) this could lead to problems. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- drivers/spi/kirkwood_spi.c | 15 ++- 1 files changed, 6 insertions(+), 9 deleti

[U-Boot] [PATCH v3 4/5] kw_spi: support spi_claim/release_bus functions

2012-05-31 Thread Valentin Longchamp
These two function nows ensure that the MPP is configured correctly for the SPI controller before any SPI access, and restore the initial configuration when the access is over. Since the used pins for the SPI controller can differ (2 possibilities for each signal), the used pins are configured wit

[U-Boot] [PATCH v3 5/5] kw_spi: add weak functions board_spi_claim/release_bus

2012-05-31 Thread Valentin Longchamp
This allows a final, board specific, step in the claim/relase_bus function for the SPI controller, which may be needed for some hardware designs. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Prafulla Wadaskar --- drivers/spi/kirkwood_spi.c | 13 - 1 files changed, 12 i

[U-Boot] [PATCH v3 0/5] kirkwood spi_claim/release_bus support

2012-05-31 Thread Valentin Longchamp
This series adds generic support for the spi_claim/release_bus functions for the kirkwood processors. The implementation was already discussed in another thread following my first board specific submission of the patch. The series adds two functions to the kirkwood mpp code to be able to temporar

[U-Boot] [PATCH v3 1/5] kirkwood: add save functionality kirkwood_mpp_conf function

2012-05-31 Thread Valentin Longchamp
If a second non NULL argument is given to the kirkwood_mpp_conf function, it will be used to store the current configuration of the MPP registers. mpp_save must be a preallocated table of the same size as mpp_list and it must be zero terminated as well. A later call to kirkwood_mpp_conf function

Re: [U-Boot] [PATCH v2 1/4] kirkwood: add kirkwood_mpp_read function

2012-05-31 Thread Valentin Longchamp
On 05/31/2012 10:49 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 31 May 2012 14:14 >> To: Prafulla Wadaskar >> Cc: holger.bru...@keymile.com; u-boot@lists.denx.de >> Subject: Re: [PATCH v2 1/4] kirkwood

Re: [U-Boot] [PATCH 2/2] tegra: usb: fix wrong error check

2012-05-31 Thread Marek Vasut
Dear Lucas Stach, > loop_count runs down from 1, so the correct condition to error out > is ==0. > > Signed-off-by: Lucas Stach > Acked-by: Stephen Warren > CC: Stephen Warren > CC: Tom Warren > --- > arch/arm/cpu/armv7/tegra2/usb.c |2 +- > 1 Datei geändert, 1 Zeile hinzugefügt(+),

[U-Boot] [PATCH 1/2] tegra: add ULPI on USB2 funcmux entry

2012-05-31 Thread Lucas Stach
This is needed as a prerequisite for Tegra USB ULPI support within U-Boot. Signed-off-by: Lucas Stach Acked-by: Stephen Warren CC: Stephen Warren CC: Tom Warren --- arch/arm/cpu/armv7/tegra2/funcmux.c| 13 - arch/arm/include/asm/arch-tegra2/funcmux.h |3 +++ 2 Dateie

[U-Boot] [PATCH 2/2] tegra: usb: fix wrong error check

2012-05-31 Thread Lucas Stach
loop_count runs down from 1, so the correct condition to error out is ==0. Signed-off-by: Lucas Stach Acked-by: Stephen Warren CC: Stephen Warren CC: Tom Warren --- arch/arm/cpu/armv7/tegra2/usb.c |2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/arch/

Re: [U-Boot] [PATCH] bootcount: Move bootcount.c from arch/powerpc/lib to lib

2012-05-31 Thread Stefan Roese
Hi Heiko, On Thursday 31 May 2012 12:42:12 Heiko Schocher wrote: > > diff --git a/arch/powerpc/lib/bootcount.c b/lib/bootcount.c > > similarity index 100% > > rename from arch/powerpc/lib/bootcount.c > > rename to lib/bootcount.c > > If we do this, we should try to move all bootcounter implementa

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

2012-05-31 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Prafulla Wadaskar Cc: Wolfgang Denk --- board/karo/tk71/Makefile | 45 ++ board/karo/tk71/kwbimage-256.cfg | 174 ++ board/karo/tk71/kwbimage-512.cfg | 174 ++ board/karo/t

Re: [U-Boot] [PATCH] bootcount: Move bootcount.c from arch/powerpc/lib to lib

2012-05-31 Thread Heiko Schocher
Hello Stefan, On 31.05.2012 10:58, Stefan Roese wrote: By moving this code to a non-platform specific directory, we can use it on other architectures as well (e.g. ARM). Signed-off-by: Stefan Roese --- arch/powerpc/lib/Makefile |1 - lib/Makefile |

Re: [U-Boot] [PATCH] tegra: trimslice: fix a couple typos

2012-05-31 Thread Marek Vasut
Dear Igor Grinberg, > On 05/30/12 19:45, Stephen Warren wrote: > > From: Stephen Warren > > > > Fix the .dts file USB unit addresses not to duplicate each-other. > > > > Fix the board name string to indicate the vendor is Compulab not NVIDIA. > > > > Signed-off-by: Stephen Warren > > Acked-b

Re: [U-Boot] [PATCH 1/2 V2] EXYNOS5: PINMUX: Added default pinumx settings

2012-05-31 Thread Minkyu Kang
Dear Rajeshwari Shinde, On 23 May 2012 17:54, Rajeshwari Shinde wrote: > This patch performs the pinmux configuration in a common file. > As of now only EXYNOS5 pinmux for SDMMC, UART and Ethernet is > supported. > > Signed-off-by: Abhilash Kesavan > Signed-off-by: Che-Liang Chiou > Signed-off-

  1   2   >