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

2012-06-15 Thread Joonyoung Shim
Hi, 2012/6/7 Rajeshwari Shinde : > 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 for Exynos5 is made as different

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

2012-06-15 Thread Joonyoung Shim
Hi, 2012/6/7 Rajeshwari Shinde : > 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 insertions(+), 0 deletions(-)

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

2012-06-15 Thread Joonyoung Shim
Hi, 2012/5/23 Rajeshwari Birje : > ccing Lukasz Majewski. > > On Wed, May 23, 2012 at 2:27 PM, Rajeshwari Shinde > wrote: >> This patch adds driver and register definitions for PMIC chip >> MAX77686. >> >> Signed-off-by: Rajeshwari Shinde >> --- >> changes for V2: >>        - using the generic P

Re: [U-Boot] [PATCH 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-15 Thread Jim Lin
On 06/14/2012 04:40 AM, Jim Lin wrote: >> For some reason, bit 1 (connect status change) of PORTSC will be set >> after issuing Port Reset (like "usb reset" in u-boot command line). >> This will be treated as an error and stops later device enumeration. >> >> Therefore we add a definition in heade

Re: [U-Boot] [PATCH V2] MMC: DWMMC: Add DWMMC driver

2012-06-15 Thread Rajeshwari Birje
Hi Jaehoon Chung, Thank you for comments. On Thu, Jun 14, 2012 at 7:06 PM, Jaehoon Chung wrote: > Hi Rajeshwari, > > This patch has too many dependence with other patches. > (Pinmux and PeripID, patches for MSHCI setting). > And as i mentioned, designWare controller isn't exynos specific. > > I

[U-Boot] am35xx, twister: could not write nand flash

2012-06-15 Thread Heiko Schocher
Hello Scott, I currently tried current U-Boot HEAD commit fedab338f3459315cb69627fcf46032ec8df1753 Merge: 74b5b5d f6b690e Author: Wolfgang Denk Date: Thu Jun 7 23:42:17 2012 +0200 Merge branch 'master' of git://git.denx.de/u-boot-video on the twister board, and detected that a "run upda

[U-Boot] [PATCH] mx6: Make pad name macro consistent with the datasheet

2012-06-15 Thread Ashok
Use the same name as defined in the datasheet. DSP_CLK -> DISP_CLK Signed-off-by: Ashok Kumar Reddy Kourla --- arch/arm/include/asm/arch-mx6/mx6x_pins.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/mx6x_pins.h b/arch/arm/include/as

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Tom Rini
On 06/14/2012 10:48 PM, R, Sricharan wrote: > Hi Tom, > > On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: >> If we are built with D-CACHE enabled but have run 'dcache off' and then >> attempt to flush unaligned regions we spam the console with problems >> that aren't true (as the cache was off)

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Marek Vasut
Dear Tom Rini, > On 06/14/2012 10:48 PM, R, Sricharan wrote: > > Hi Tom, > > > > On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: > >> If we are built with D-CACHE enabled but have run 'dcache off' and then > >> attempt to flush unaligned regions we spam the console with problems > >> that aren

Re: [U-Boot] [PATCH] mx6: Avoid writing to read-only bits in imximage.cfg

2012-06-15 Thread Stefano Babic
On 12/06/2012 16:50, Vikram Narayanan wrote: > If in case this is valid according to the latest datasheet, ignore this patch. > > -- > According to REV C manual, the register IOMUXC_IOMUXC_GPR4 has > bits 4 and 5 read-only and the value is always set as zero. > So write '0' to these bits instead o

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Tom Rini
On 06/15/2012 07:25 AM, Marek Vasut wrote: > Dear Tom Rini, > >> On 06/14/2012 10:48 PM, R, Sricharan wrote: >>> Hi Tom, >>> >>> On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: If we are built with D-CACHE enabled but have run 'dcache off' and then attempt to flush unaligned regions w

Re: [U-Boot] [PATCH] i.MX6 USDHC: Use the ESDHC clock

2012-06-15 Thread Stefano Babic
On 14/06/2012 15:44, Dirk Behme wrote: > From: Michael Langer > > The commit "i.mx: fsl_esdhc: add the i.mx6q support" (4692708d) introduces > support for the i.MX6Q MMC host controller USDHC. > > MXC_IPG_PERCLK sets the clock to 66MHz. This seems to be the default clock > of the ESDHC IP found

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Marek Vasut
Dear Tom Rini, > On 06/15/2012 07:25 AM, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On 06/14/2012 10:48 PM, R, Sricharan wrote: > >>> Hi Tom, > >>> > >>> On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: > If we are built with D-CACHE enabled but have run 'dcache off' and > then a

Re: [U-Boot] [PATCH] mx53ard: Remove unused CONFIG_MII_GASKET

2012-06-15 Thread Stefano Babic
On 07/06/2012 20:05, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_MII_GASKET is not defined anywhere, so remove it. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/6] imx31_phycore: Remove CONFIG_SYS_I2C_SLAVE definition

2012-06-15 Thread Stefano Babic
On 03/06/2012 09:53, Fabio Estevam wrote: > From: Fabio Estevam > > According to include/i2c.h: > > "/* > * Many boards/controllers/drivers don't support an I2C slave interface so > * provide a default slave address for them for use in common code. A real > * value for CONFIG_SYS_I2C_SLAVE s

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread R, Sricharan
Hi, >> On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: >>> If we are built with D-CACHE enabled but have run 'dcache off' and then >>> attempt to flush unaligned regions we spam the console with problems >>> that aren't true (as the cache was off). >>> >>   Today we do cache maintenance operati

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-15 Thread Stefano Babic
On 13/06/2012 13:37, Fabio Estevam wrote: > On Mon, Jun 11, 2012 at 12:02 PM, Vikram Narayanan > wrote: > >>> Also, this macro is useful not only for mx25, and it would be nice to >>> let it avaible for the other i.MX SoCs as well. >> >> >> Agree. But I guess u-boot doesn't have a common folder

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Tom Rini
On 06/15/2012 07:48 AM, R, Sricharan wrote: > Hi, > >>> On Fri, Jun 15, 2012 at 12:31 AM, Tom Rini wrote: If we are built with D-CACHE enabled but have run 'dcache off' and then attempt to flush unaligned regions we spam the console with problems that aren't true (as the cache was

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread R, Sricharan
Hi, [snip..]    If it is a problem with unaligned regions, then that is the only thing to be fixed   right ?. Just trying to understand why this change is required ? >>> >>> The problem is that within the USB/network/filesystem stacks we have a >>> lot of not cache safe alignments ap

Re: [U-Boot] [PATCH 2/4] cache_v7: Check for dcache enablement in dcache flush functions

2012-06-15 Thread Tom Rini
On 06/15/2012 08:18 AM, R, Sricharan wrote: > Hi, > [snip..] >If it is a problem with unaligned regions, then that is the only > thing to be fixed > right ?. Just trying to understand why this change is required ? The problem is that within the USB/network/filesystem sta

Re: [U-Boot] am35xx, twister: could not write nand flash

2012-06-15 Thread Scott Wood
On 06/15/2012 07:01 AM, Heiko Schocher wrote: > Hello Scott, > > I currently tried current U-Boot HEAD > > commit fedab338f3459315cb69627fcf46032ec8df1753 > Merge: 74b5b5d f6b690e > Author: Wolfgang Denk > Date: Thu Jun 7 23:42:17 2012 +0200 > > Merge branch 'master' of git://git.denx.de/

Re: [U-Boot] [PATCH 1/1] tegra: usb: Fix device enumeration problem of USB1

2012-06-15 Thread Stephen Warren
On 06/15/2012 03:38 AM, Jim Lin wrote: > On 06/14/2012 04:40 AM, Jim Lin wrote: >>> For some reason, bit 1 (connect status change) of PORTSC will be set >>> after issuing Port Reset (like "usb reset" in u-boot command line). >>> This will be treated as an error and stops later device enumeration. >

Re: [U-Boot] [PATCH] ARM: support for cache coherent allocations

2012-06-15 Thread Tom Rini
On Thu, Jun 14, 2012 at 8:13 AM, Ilya Yanok wrote: > Hi All, > > On Thu, May 31, 2012 at 1:41 AM, Ilya Yanok > wrote: > >> This is a draft implementation of cache coherent memory allocator. >> This simple implementation just reserves memory area below malloc >> space and leave it uncached even if

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-15 Thread Vikram Narayanan
Hi Stefano, On 6/15/2012 8:25 PM, Stefano Babic wrote: On 13/06/2012 13:37, Fabio Estevam wrote: On Mon, Jun 11, 2012 at 12:02 PM, Vikram Narayanan wrote: Also, this macro is useful not only for mx25, and it would be nice to let it avaible for the other i.MX SoCs as well. Agree. But I gue

Re: [U-Boot] [PATCH 1/3] imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h

2012-06-15 Thread Fabio Estevam
On Fri, Jun 15, 2012 at 3:10 PM, Vikram Narayanan wrote: >> Really I am for a solution like in kernel, with a plat-mxc into >> include/asm/, where we can put common things for all i.MX. > > > I'm with the same idea too. In this way we can avoid duplicate > datastructures spread across many arch d

[U-Boot] [PATCH v3] tx25: Use generic gpio_* calls

2012-06-15 Thread Vikram Narayanan
Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan Acked-by: Stefano Babic Cc: John Rigby Cc: Fabio Estevam --- Changes from v2: Swap the place of the change log and commit message. Changes from v1: Used appropriate gpio_* lib

Re: [U-Boot] [PATCH v3] tx25: Use generic gpio_* calls

2012-06-15 Thread Fabio Estevam
On Fri, Jun 15, 2012 at 3:26 PM, Vikram Narayanan wrote: >        /* turn on PHY power leaving reset asserted */ > -       val = readl(&gpio4->gpio_dr) | 1 << 9; > -       writel(val, &gpio4->gpio_dr); > +       gpio_direction_output(GPIO_FEC_ENABLE_B, 1); Please use gpio_set_value instead.

[U-Boot] USB DFU support into mailline.

2012-06-15 Thread Sohanpal, Harman
Hi, Referring to http://elinux.org/Merge_DFU_support_into_mainline_U-Boot, it seems some work is going on for adding USB DFU support in the mainline for u-boot. But I could not find any code already in mainline. Is there anyone working on getting USB DFU support to mainline? I am working on U

Re: [U-Boot] [PATCH] powerpc/83xx: increment malloc heap size for the MPC832x MDS boards

2012-06-15 Thread Kim Phillips
On Sat, 17 Mar 2012 17:44:00 -0500 Timur Tabi wrote: > The malloc buffer is not large enough to hold a flash sector (0x2 bytes) > in addition to whatever else it normally holds, so double its size. This > fixes a failure trying to save the environment: > > => save > Saving Environment to Fl

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

2012-06-15 Thread Kim Phillips
On Thu, 14 Jun 2012 12:55:34 +0200 Holger Brunck wrote: > 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:

Re: [U-Boot] [PATCH] mx6: Make pad name macro consistent with the datasheet

2012-06-15 Thread Marek Vasut
Dear Ashok, > Use the same name as defined in the datasheet. > DSP_CLK -> DISP_CLK > > Signed-off-by: Ashok Kumar Reddy Kourla Acked-by: Marek Vasut > --- > arch/arm/include/asm/arch-mx6/mx6x_pins.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/in

Re: [U-Boot] USB DFU support into mailline.

2012-06-15 Thread Marek Vasut
Dear Sohanpal, Harman, > Hi, > > Referring to http://elinux.org/Merge_DFU_support_into_mainline_U-Boot, it > seems some work is going on for adding USB DFU support in the mainline for > u-boot. But I could not find any code already in mainline. Is there anyone > working on getting USB DFU support

Re: [U-Boot] [PATCH 0/6] further updates for keymile powerpc 83xx boards

2012-06-15 Thread Kim Phillips
On Fri, 4 May 2012 10:55:52 +0200 Holger Brunck wrote: > This patchserie provides further updates for km ppc 83xx boards. One > serie is already posted but until now not committed. This patch serie > therefore is made on top of the first serie: > http://lists.denx.de/pipermail/u-boot/2012-March/1

Re: [U-Boot] [PATCH] ARM: support for cache coherent allocations

2012-06-15 Thread Marek Vasut
Dear Ilya Yanok, > This is a draft implementation of cache coherent memory allocator. > This simple implementation just reserves memory area below malloc > space and leave it uncached even if data cache is enabled. > Allocations are even simpler: code just verifies that we have > enough space and

[U-Boot] [GIT PULL] u-boot-mpc83xx: keymile boards updates

2012-06-15 Thread Kim Phillips
Hello Wolfgang Denk, Please pull: The following changes since commit fedab338f3459315cb69627fcf46032ec8df1753: Merge branch 'master' of git://git.denx.de/u-boot-video (2012-06-07 23:42:17 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc83xx.git master for you

Re: [U-Boot] [PATCH 1/2] ARM: add basic support for the Broadcom BCM2835 SoC

2012-06-15 Thread Stephen Warren
On 06/06/2012 11:45 PM, Stephen Warren wrote: > This SoC is used in the Raspberry Pi, for example. > > Initial support is enough to boot to a serial console, and execute a > minimal set of U-Boot commands. No drivers are implemented. For more > details, see http://www.broadcom.com/products/BCM2835

Re: [U-Boot] [PATCH 2/2] ARM: bcm2835: add Raspberry Pi model B board

2012-06-15 Thread Graeme Russ
Hi Stephen, On 06/07/2012 03:45 PM, Stephen Warren wrote: > The Raspberry Pi model B uses the BCM2835 SoC, has 256MB of RAM, contains > an SMSC 9512 USB LAN/Hub chip, and various IO connectors. For more details, > see http://www.raspberrypi.org/. > > Signed-off-by: Stephen Warren Now I really c