Re: [U-Boot] [PATCH v2] net/designware: Consecutive writes to the same register to be avoided

2012-06-10 Thread Amit Virdi
On 6/8/2012 8:56 PM, Dinh Nguyen wrote: This commit is an add-on to f6c4191f. There are a few registers where consecutive writes to the same location should be avoided or have a delay. According to Synopsys, here is a list of the registers and bit(s) where consecutive writes should be avoided

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

2012-06-10 Thread Albert ARIBAUD
Hi Tom, Le 25/05/2012 17:02, Tom Rini a écrit : Hello, The following changes since commit 2ca4a209a5b961ad1be8782c68dabe326d77dfaf: OMAP4/5: Change omap4_sdp, omap4_panda, omap5_evm maintainer (2012-05-15 08:31:41 +0200) are available in the git repository at: git://git.denx.de/u-boot

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

2012-06-10 Thread Fabio Estevam
On Sun, Jun 10, 2012 at 10:02 AM, Vikram Narayanan wrote: > Move the macro to imx-regs.h so that the other mx25 boards can > make use of it. > > Signed-off-by: Vikram Narayanan > --- >  arch/arm/include/asm/arch-mx25/gpio.h     |    4 >  arch/arm/include/asm/arch-mx25/imx-regs.h |    6 +

Re: [U-Boot] [PATCH 2/3] tx25: Use generic gpio_* calls

2012-06-10 Thread Fabio Estevam
On Sun, Jun 10, 2012 at 10:03 AM, Vikram Narayanan wrote: >        /* drop PHY power and assert reset (low) */ > -       val = readl(&gpio4->gpio_dr) & ~((1 << 7) | (1 << 9)); > -       writel(val, &gpio4->gpio_dr); > -       val = readl(&gpio4->gpio_dir) | (1 << 7) | (1 << 9); > -       writel(v

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

2012-06-10 Thread Fabio Estevam
Hi Vikram, On Sun, Jun 10, 2012 at 10:02 AM, Vikram Narayanan wrote: > + > +/* Converts a GPIO port number and the internal bit position > + * to the GPIO number > + */ > +#define MXC_GPIO_PORT_TO_NUM(port, bit) (((port - 1) << 5) + (bit & 0x1f)) Just a minor comment: MXC_GPIO_PORT_TO_NUM look

Re: [U-Boot] imx: gpio cleanups

2012-06-10 Thread Vikram Narayanan
On 6/10/2012 6:31 PM, Vikram Narayanan wrote: This patchset cleanups up the gpio related stuff on imx boards. Define a common header for gpio and remove the same struct defines in all the include directories. As I don't have any mx25 based hardware, I've not tested it on any boards. Any testin

[U-Boot] [PATCH 3/3] imx: Define a common header file for gpio.h

2012-06-10 Thread Vikram Narayanan
Remove redundant gpio_regs structure for every board and define a common header for gpio_regs in the drivers/gpio directory. All the board files needs to be changed to point to asm-generic/gpio.h for gpio_* functions. Signed-off-by: Vikram Narayanan Cc: John Rigby Cc: Stefano Babic Cc: Fabio Es

[U-Boot] [PATCH 2/3] tx25: Use generic gpio_* calls

2012-06-10 Thread Vikram Narayanan
Instead of manipulating gpio registers directly, use the calls from the gpio library. Signed-off-by: Vikram Narayanan Cc: John Rigby Cc: Stefano Babic --- board/karo/tx25/tx25.c | 28 1 files changed, 12 insertions(+), 16 deletions(-) diff --git a/board/karo/tx2

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

2012-06-10 Thread Vikram Narayanan
Move the macro to imx-regs.h so that the other mx25 boards can make use of it. Signed-off-by: Vikram Narayanan --- arch/arm/include/asm/arch-mx25/gpio.h |4 arch/arm/include/asm/arch-mx25/imx-regs.h |6 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/a

[U-Boot] imx: gpio cleanups

2012-06-10 Thread Vikram Narayanan
This patchset cleanups up the gpio related stuff on imx boards. Define a common header for gpio and remove the same struct defines in all the include directories. Vikram Narayanan (3): imx25: Move MXC_GPIO_PORT_TO_NUM to imx-regs.h tx25: Use generic gpio_* calls imx: Define a common header f

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

2012-06-10 Thread Albert ARIBAUD
Hi Tom, Le 31/05/2012 18:47, Tom Warren a écrit : 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 availab