[U-Boot] [PATCH] mmc: Fix mmc_send_status()

2011-08-10 Thread Marek Vasut
The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix it. Signed-off-by: Marek Vasut --- drivers/mmc/mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index cbd7567..c9ff023 100644 --- a/drivers/mmc/mmc.c +++

Re: [U-Boot] [PATCH] mmc: Fix mmc_send_status()

2011-08-10 Thread Marek Vasut
On Wednesday, August 10, 2011 09:08:33 AM Marek Vasut wrote: > The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix > it. Missed Andy, adding to CC. Sorry Andy. btw this fixes my CMD13 issue. > > Signed-off-by: Marek Vasut > --- > drivers/mmc/mmc.c |2 +- > 1 files cha

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-08-10 Thread Marek Vasut
On Wednesday, August 10, 2011 08:26:05 AM Jason Hui wrote: > On Wed, Aug 10, 2011 at 1:59 PM, Marek Vasut wrote: > > On Saturday, July 30, 2011 12:52:53 PM Marek Vasut wrote: > >> On Saturday, July 30, 2011 08:42:19 AM Jason Hui wrote: > >> > Hi, Marek, > >> > > >> > On Sat, Jul 30, 2011 at 1:09

Re: [U-Boot] [PATCH v4] ARM926ejs: Add routines to invalidate D-Cache

2011-08-10 Thread Marek Vasut
On Wednesday, August 10, 2011 08:41:58 AM Hong Xu wrote: > Hi Albert, > > On 08/10/2011 02:36 PM, Albert ARIBAUD wrote: > > Hi Hong Xu, > > > > Le 10/08/2011 08:17, Hong Xu a écrit : > >> There are some ARM926 specific code in arch/arm/lib/cache.c; So I also > >> put the stuff there. ;-) I think

[U-Boot] [PATCH v3] mips32: fix wrong loop bound in flush_cache()

2011-08-10 Thread Yao Cheng
The issue is found when calling flush_cache() with zero "size" argument. The bound of loop is miscalculated in this case and flush_cache() enters a wrong flushing loop. To fix this issue I skipped the operations when "size" is found to be zero. Signed-off-by: Yao Cheng Cc: Shinya Kuribayashi Cc

[U-Boot] [PATCH V2] mmc: Fix mmc_send_status()

2011-08-10 Thread Marek Vasut
The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix it. Signed-off-by: Marek Vasut --- drivers/mmc/mmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) V2: Take SPI mode into account diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index cbd7567..00687d6 1

Re: [U-Boot] [PATCH v3 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Monday, August 08, 2011 11:40 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v3 1/2] gpio: Add GPIO driver framework for Marvell SoCs > > This patch adds generic

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Monday, August 08, 2011 11:40 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100 > > This patch adds support f

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
- "Prafulla Wadaskar" wrote: > > I suggest below code for this function. > { > Const unsigned int offset[4] = {0, 4, 8, 0x100}; /* gpio register > bank offsets */ > return (struct gpio_reg *)(ARMD1_GPIO_BASE + offset[bank]); > } > > Again content in this file are SoC core specific and

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 1:37 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC > Armada100

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
- "Prafulla Wadaskar" wrote: > > -Original Message- > > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > > Sent: Wednesday, August 10, 2011 1:37 PM > > To: Prafulla Wadaskar > > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > > Subject: Re: [PATCH v3 2/2] gpio

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
- "Prafulla Wadaskar" wrote: > You should move entire contents of gpio.h in mvgpio.h within #ifdef > CONFIG_SHEEVA_88SV331xV5, so just mvgpio.c,mvgpio.h,Makefile will add > armada100 gpio driver support in more generic way. > > > I have no idea about number of banks in other SOCs with same

Re: [U-Boot] [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 2:03 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [PATCH v3 2/2] gpio: Add GPIO driver for Marvell SoC > Armada100

[U-Boot] [PATCH v4 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-10 Thread Ajay Bhargav
This patch adds generic GPIO driver framework support for Marvell SoCs. To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands define CONFIG_CMD_GPIO in your board configuration file. v3 - Added file mvgpio.h for common defines based on CPU core subversion. Arch related stuff shou

[U-Boot] [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
This patch adds support for generic GPIO driver framework for Marvell SoC Armada100. v4 - updated gpio.h file, removed modification in Armada100.h Signed-off-by: Ajay Bhargav --- arch/arm/include/asm/arch-armada100/gpio.h | 47 1 files changed, 47 insertions(+), 0

[U-Boot] [PATCH] gpio:samsung: s5p_ suffix add for GPIO functions (C210_universal)

2011-08-10 Thread Lukasz Majewski
This is a cosmetic patch, which is changing the gpio_ prefix to s5p_gpio_. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/universal_c210/universal.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --gi

[U-Boot] [PATCH v3] i2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)

2011-08-10 Thread Lukasz Majewski
This patch adds support for software I2C for GONI reference target. It adds support for access to GPIOs by number, not as it is present, by bank and offset. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang Cc: Heiko Schocher --- Changes for v2: - Generic GPI

Re: [U-Boot] Problems using vxboot

2011-08-10 Thread Detlev Zundel
Hi Reinhard, > i run into a strange problem booting vxWorks on the cpci750 and vme8349 > using u-boot 2011.06. > > The decrementer slot contains old code. The problem is starting vxWorks > with the data cache enabled. > > The code below fix the problem. > It disable (and flush) the data cache, a

Re: [U-Boot] [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 2:47 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC Armada100 > > This patch adds support

Re: [U-Boot] Custodians, please remove tag NIOS2-5_0_0 from your repos

2011-08-10 Thread Detlev Zundel
Hi Albert, > This tag NIOS2-5_0_0 keeps lingering in ARM repositories and should not > be there. I regularly have to remove it from u-boot-arm because I keep > catching it occasionally when recreating my u-boot-arm local copy and > then fetching another ARM repo such as u-boot-atmel, u-boot-ma

Re: [U-Boot] Need answers of basic questions regarding u-boot

2011-08-10 Thread Detlev Zundel
Hi Gururaja, > We need to make this sticky or add it into some wiki page. Who exactly is we? :) Well wikis are, ahem, wikis, i.e. changeable by everyone Cheers Detlev -- I have always observed that the pretensions of all people are in exact inverse ratio to their merits; this is one of th

Re: [U-Boot] [PATCH v4 1/2] ARMV7: Add support for Samsung ORIGEN board

2011-08-10 Thread Detlev Zundel
Hi Chander, [...] >>> lease get rid of all these magic hard coded constants. Use symbolic >>> names instead. If needed, auto-generate these from the respective C >>> structs. If needed, create the C structs. >>> >> >> I will change hard coded values to symbolic names >> > > While doing this, I

Re: [U-Boot] Need answers of basic questions regarding u-boot

2011-08-10 Thread Hebbar, Gururaja
By "we" I meant the gr8 u-boot community. I know at present there isn't a place on web for u-boot but surely I would help if someone starts. Regards Gururaja > -Original Message- > From: Detlev Zundel [mailto:d...@denx.de] > Sent: Wednesday, August 10, 2011 3:39 PM > To: Hebbar, Gururaja

Re: [U-Boot] [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
- "Prafulla Wadaskar" wrote: > > -Original Message- > > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > > Sent: Wednesday, August 10, 2011 2:47 PM > > To: Prafulla Wadaskar > > Cc: u-boot@lists.denx.de; Ajay Bhargav > > Subject: [PATCH v4 2/2] gpio: Add GPIO driver for Marv

[U-Boot] [PATCH v2 6/8] da850: add support for Spectrum Digital AM18xx EVM

2011-08-10 Thread nagabhushana.netagunte
From: Manjunathappa, Prakash The AM18xx EVM contains winbond SPI flash instead of ST SPI flash in comparison with logic PD da850/omap-l138 EVM. So enable configuration to look for winbond flash. Signed-off-by: Manjunathappa, Prakash Signed-off-by: Nagabhushana Netagunte --- include/configs/da

[U-Boot] [PATCH v2 4/8] da850: modify the U-Boot prompt string

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Modify U-Boot prompt string from "DA850-evm >" to "U-Boot >". Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- include/configs/da850evm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/da850e

[U-Boot] [PATCH v2 8/8] da850: modifications for Logic PD Rev.3 AM18xx EVM

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. Signed-off-by: Rajashekhara, Sudhakar Signed-off-by: Nagabhushana Netagunte --- arch/arm/include/asm/arch-da

[U-Boot] [PATCH v2 2/8] da8xx: add support for multiple PLL controllers

2011-08-10 Thread nagabhushana.netagunte
From: Sudhakar Rajashekhara Modify clk_get() function in cpu file to work for multiple PLL controllers. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- arch/arm/cpu/arm926ejs/davinci/cpu.c | 30 - arch/arm/include/asm/arch-davin

[U-Boot] [PATCH v2 7/8] da850: fix the channel number for EMAC teardown init

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte TX and RX channel numbers programmed as '1' during EMAC teardown initialization is wrong. This patch fixes the same by setting channel number to '0' which is used by U-boot. Signed-off-by: Sugumar Natarajan Signed-off-by: Nagabhushana Netagunte --- drivers/net/dav

[U-Boot] [PATCH v2 0/8] feature additions and fixes for da850

2011-08-10 Thread nagabhushana.netagunte
From: Manjunath Hadli These are some of the patches which add features like NOR support and a couple of fixes. Fixes from last version from Denk and Withers's comments: 1. fixed commit message for cache usage patch 2. removed unnecessary undefs 3. used hwconfig for DSP wake patch instead of a n

[U-Boot] [PATCH v2 1/8] da850: indicate cache usage disable in config file

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for da850 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE di

[U-Boot] [PATCH v2 5/8] da850: add support to wake up DSP during board init

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. Enable hwconfig environment and added extra env setting through CONFIG_EXTRA_ENV_SETTINGS. To prevent DSP from being woken up,set the environment variable as, set hwconfig "dsp:wake

[U-Boot] [PATCH v2 3/8] da850: add NOR boot mode support

2011-08-10 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Add pin-mux support for NOR in board file and correspanding macros to use NOR boot mode in configuration file. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- board/davinci/da8xxevm/da850evm.c | 51 +

Re: [U-Boot] [PATCH 12/12] da850: print DDR frequency from u-boot

2011-08-10 Thread Detlev Zundel
Hi Nag, > Thanks for the comments. It's a very good suggestion to add it as part of > Command. Unfortunately, I am unable to locate the 'Clock' command source. > I would greatly appreciate if you can point it for me. "git grep -A 2 U_BOOT_CMD' is your friend. Actually as far as I can see, there

Re: [U-Boot] pxa: Passing ATAGs to kernel don't work

2011-08-10 Thread Stefan Herbrechtsmeier
Am 09.08.2011 21:46, schrieb Marek Vasut: > On Tuesday, August 09, 2011 03:14:38 PM Stefan Herbrechtsmeier wrote: >> Hi, >> >> after porting my board support from u-boot 2009.11 to 2011.06 >> together with adding the relocation support >> the ATAGs passing don't work any more. >> >> I have add icac

Re: [U-Boot] [PATCH 03/12] da850: add NOR boot mode support

2011-08-10 Thread Detlev Zundel
Hi Nag, [...] >> > +#define CONFIG_SYS_FLASH_SECT_SZ (128 << 10) /* 128KB */ >> > +#define CONFIG_ENV_OFFSET (CONFIG_SYS_FLASH_SECT_SZ * 3) >> > +#define CONFIG_ENV_SIZE (128 << 10) >> >> Are you absolutely sure that you need 128 KiB of environment data? >> Keep in min

Re: [U-Boot] question about repetition of some u-boot commands

2011-08-10 Thread Detlev Zundel
Hi Scott, > On 08/09/2011 02:03 PM, Belisko Marek wrote: >> Hi, >> >> just curious. Why some commands entered to u-boot are repeated after >> processing by pressing Enter key? Like tftp, print >> >> Thanks for clarification, > > It's useful for some commands like "md" that auto-advance. It

Re: [U-Boot] [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 3:49 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH v4 2/2] gpio: Add GPIO driver for Marvell SoC > Armada100 > > > - "Prafulla Wadaskar" w

[U-Boot] [PATCH v5 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Ajay Bhargav
This patch adds support for generic GPIO driver framework for Marvell SoC Armada100. Signed-off-by: Ajay Bhargav --- Changes for v2: - Added function get_gpio_base - GPIO base address added to armada100.h Changes for v3: - gpio register map moved to mvgpio.h Changes for v4

[U-Boot] [PATCH v5 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-10 Thread Ajay Bhargav
This patch adds generic GPIO driver framework support for Marvell SoCs. To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands define CONFIG_CMD_GPIO in your board configuration file. Signed-off-by: Ajay Bhargav --- Changes for v2: - mvgpio.h removed - function ge

Re: [U-Boot] [PATCH v5 2/2] gpio: Add GPIO driver for Marvell SoC Armada100

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 5:05 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v5 2/2] gpio: Add GPIO driver for Marvell SoC Armada100 > > This patch adds support

Re: [U-Boot] [PATCH v5 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Wednesday, August 10, 2011 5:05 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ajay Bhargav > Subject: [PATCH v5 1/2] gpio: Add GPIO driver framework for Marvell SoCs > > This patch adds generi

Re: [U-Boot] Need answers of basic questions regarding u-boot

2011-08-10 Thread Detlev Zundel
Hi Gururaja, > By "we" I meant the gr8 u-boot community. I know at present there > isn't a place on web for u-boot but surely I would help if someone > starts. You really missed http://www.denx.de/wiki/U-Boot/WebHome up until now? I'm looking forward to see your registration ;) Cheers Detlev

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Detlev Zundel
Hi Joe, > Previously only the last N were included based on the current one in use. > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Mingkai Hu > Cc: Andy Fleming > Cc: Kumar Gala > Cc: Detlev Zundel > --- > drivers/net/tsec.c |4 ++-- > 1 files changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH V2] mmc: Fix mmc_send_status()

2011-08-10 Thread Detlev Zundel
Hi Marek, > The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix it. Can you please use the --in-reply-to option of git-send-email (it prompts for it when run interactively) to preserve threading for superceding patches? Thanks! It would also be nice if you included the com

Re: [U-Boot] OpenRD Ultimate SATA & SD

2011-08-10 Thread Philip Hands
On Thu, 16 Jun 2011 21:03:01 +0100, Philip Hands wrote: > On Thu, 16 Jun 2011 16:18:46 +0400, Alexei Ozhigov > wrote: > ... > > > > I am experiencing the same problem with SATA right now with > > v2011.06-rc2 (tried also the latest master). If MVSATA_STATUS_TIMEOUT > > in mvsata_ide_initialize_

Re: [U-Boot] [PATCH v5 1/2] gpio: Add GPIO driver framework for Marvell SoCs

2011-08-10 Thread Lei Wen
Hi Ajay, On Wed, Aug 10, 2011 at 7:34 PM, Ajay Bhargav wrote: > This patch adds generic GPIO driver framework support for Marvell SoCs. > > To enable GPIO driver define CONFIG_MARVELL_GPIO and for GPIO commands > define CONFIG_CMD_GPIO in your board configuration file. > > Signed-off-by: Ajay Bha

Re: [U-Boot] [PATCH V2] mmc: Fix mmc_send_status()

2011-08-10 Thread Lei Wen
Hi Marek, On Wed, Aug 10, 2011 at 3:24 PM, Marek Vasut wrote: > The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix it. > > Signed-off-by: Marek Vasut > --- >  drivers/mmc/mmc.c |    3 ++- >  1 files changed, 2 insertions(+), 1 deletions(-) > > V2: Take SPI mode into accoun

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Andy Fleming
On Aug 10, 2011, at 2:12 AM, Joe Hershberger wrote: > Previously only the last N were included based on the current one in use. > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Mingkai Hu > Cc: Andy Fleming > Cc: Kumar Gala > Cc: Detlev Zundel I'm curious if you were seeing

Re: [U-Boot] Boot uboot from another position in flash

2011-08-10 Thread ich
Am Mittwoch, den 03.08.2011, 21:21 +0200 schrieb Wolfgang Denk: > Dear ich, > > In message <1312383540.4776.36.camel@debian> you wrote: > > > > I know that. But I am not able to port for sh platform to a newer > > u-boot. > > > > > Please note that U-Boot v1.3.1 is about 4 years old and as such

[U-Boot] [Patch v2] powerpc/eeprom: cleanup mac command

2011-08-10 Thread York Sun
Change the help message to be more helpful. Print argument format. Fix MAX_NUM_PORTS to comply with v1 NXID format. Signed-off-by: York Sun --- board/freescale/common/sys_eeprom.c |2 +- common/cmd_mac.c| 29 + 2 files changed, 18 insertions(

Re: [U-Boot] [PATCH 1/2][v2] powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

2011-08-10 Thread Kumar Gala
On Aug 8, 2011, at 3:47 PM, Kumar Gala wrote: > From: Ramneek Mehresh > > Add UTMI and ULPI PHY support for USB controller on qoriq series of > processors with internal UTMI PHY implemented, for example P1010/P1014 > - Use both getenv() and hwconfig to get USB phy type till getenv() > is depr

Re: [U-Boot] [PATCH 4/4] armv7: cache: remove flush on un-aligned invalidate

2011-08-10 Thread Anton Staaf
On Tue, Aug 9, 2011 at 11:48 PM, Aneesh V wrote: > Hi Anton, > > On Tuesday 09 August 2011 10:09 PM, Anton Staaf wrote: >> >> I'm not sure what the larger context of this change is, but it seems >> like a bad idea to me.  There are a lot of locations in U-Boot that > > Please see this thread for t

[U-Boot] [PATCH 0/3] add mcf5307 support

2011-08-10 Thread Angelo Dureghello
The following patches add support for Freescale MCF5307 cpu. Below a brief of the changes: # On branch master # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # new file: arch/m68k/cpu/mcf530x/Makefile # new file: arch/m68k/cpu/mcf530x/config.mk # new fi

[U-Boot] [PATCH 1/3] add mcf5307 support

2011-08-10 Thread Angelo Dureghello
Cpu architecture files. # new file: arch/m68k/cpu/mcf530x/Makefile # new file: arch/m68k/cpu/mcf530x/config.mk # new file: arch/m68k/cpu/mcf530x/cpu.c # new file: arch/m68k/cpu/mcf530x/cpu.h # new file: arch/m68k/cpu/mcf530x/cpu_init.c # new file: ar

[U-Boot] [PATCH 3/3] add mcf5307 support

2011-08-10 Thread Angelo Dureghello
Other modified files: # modified: arch/m68k/include/asm/cache.h # modified: arch/m68k/include/asm/immap.h # modified: arch/m68k/include/asm/timer.h # modified: include/common.h Signed-off-by: Angelo Dureghello --- diff --git a/arch/m68k/include/asm/cache.h b/arc

[U-Boot] [PATCH 2/3] add mcf5307 support

2011-08-10 Thread Angelo Dureghello
Architecture includes. # new file: arch/m68k/include/asm/immap_5307.h # new file: arch/m68k/include/asm/m5307.h Signed-off-by: Angelo Dureghello --- diff --git a/arch/m68k/include/asm/immap_5307.h b/arch/m68k/include/asm/immap_5307.h new file mode 100644 index 000..cb58297

[U-Boot] [ RFC ] fastboot protocol support in u-boot

2011-08-10 Thread Sebastian Andrzej Siewior
Hi, The patch which should come as a reply to this email contains a fastboot gadget for u-boot. I don't claim that the code has been tested or anything. I just want to post what I have now and get some feedback on it. The code uses the "newer" gadget API which is used by the rndis gadget for inst

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Joe Hershberger
On Wed, Aug 10, 2011 at 7:29 AM, Detlev Zundel wrote: >> diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c >> index 78ffc95..1805ca0 100644 >> --- a/drivers/net/tsec.c >> +++ b/drivers/net/tsec.c >> @@ -250,8 +250,8 @@ static void startup_tsec(struct eth_device *dev) >>       txIdx = 0; >> >>  

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Joe Hershberger
On Wed, Aug 10, 2011 at 9:10 AM, Andy Fleming wrote: > > On Aug 10, 2011, at 2:12 AM, Joe Hershberger wrote: > >> Previously only the last N were included based on the current one in use. >> >> Signed-off-by: Joe Hershberger >> Cc: Joe Hershberger >> Cc: Mingkai Hu >> Cc: Andy Fleming >> Cc: K

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Detlev Zundel
Hi Joe, > On Wed, Aug 10, 2011 at 7:29 AM, Detlev Zundel wrote: >>> diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c >>> index 78ffc95..1805ca0 100644 >>> --- a/drivers/net/tsec.c >>> +++ b/drivers/net/tsec.c >>> @@ -250,8 +250,8 @@ static void startup_tsec(struct eth_device *dev) >>>       t

Re: [U-Boot] [PATCH] omap4_panda: Ignore omap4 SPL called MLO

2011-08-10 Thread Joe Hershberger
Hi Albert, On Wed, Aug 10, 2011 at 12:54 AM, Albert ARIBAUD wrote: > Hi Joe, > > Le 10/08/2011 07:21, Joe Hershberger a écrit : >> Signed-off-by: Joe Hershberger >> Cc: Joe Hershberger >> Cc: Sandeep Paulraj >> --- >>   .gitignore |    1 + >>   1 files changed, 1 insertions(+), 0 deletions(-) >>

Re: [U-Boot] [PATCH V2] mmc: Fix mmc_send_status()

2011-08-10 Thread Detlev Zundel
Hi Lei, > Hi Marek, > > On Wed, Aug 10, 2011 at 3:24 PM, Marek Vasut wrote: >> The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix it. >> >> Signed-off-by: Marek Vasut >> --- >>  drivers/mmc/mmc.c |    3 ++- >>  1 files changed, 2 insertions(+), 1 deletions(-) >> >> V2: Tak

Re: [U-Boot] [PATCH 0/3] add mcf5307 support

2011-08-10 Thread Detlev Zundel
Hi Angelo, > The following patches add support for Freescale MCF5307 cpu. > Below a brief of the changes: > > # On branch master > # Changes to be committed: > # (use "git reset HEAD ..." to unstage) > # > # new file: arch/m68k/cpu/mcf530x/Makefile > # new file: arch/m68k/cpu/mcf

Re: [U-Boot] [PATCH 1/3] add mcf5307 support

2011-08-10 Thread Detlev Zundel
Hi Angelo, > Cpu architecture files. > > # new file: arch/m68k/cpu/mcf530x/Makefile > # new file: arch/m68k/cpu/mcf530x/config.mk > # new file: arch/m68k/cpu/mcf530x/cpu.c > # new file: arch/m68k/cpu/mcf530x/cpu.h > # new file: arch/m68k/cpu/mcf530x/cpu_init

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Andy Fleming
On Aug 10, 2011, at 2:24 PM, Detlev Zundel wrote: > Hi Joe, > >> On Wed, Aug 10, 2011 at 7:29 AM, Detlev Zundel wrote: diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 78ffc95..1805ca0 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -250,8 +250,8 @

Re: [U-Boot] [PATCH V2] mmc: Fix mmc_send_status()

2011-08-10 Thread Andy Fleming
On Aug 10, 2011, at 2:26 PM, Detlev Zundel wrote: > Hi Lei, > >> Hi Marek, >> >> On Wed, Aug 10, 2011 at 3:24 PM, Marek Vasut wrote: >>> The mmc_send_status() function sets cmd.arg = 0. That's incorrect, so fix >>> it. >>> >>> Signed-off-by: Marek Vasut Applied (with lei wen's "tested-by")

Re: [U-Boot] [PATCH 1/3] add mcf5307 support

2011-08-10 Thread Angelo Dureghello
Hi Detlev, i don't have big experience with git, generally i use cvs/svn. I am posting changes/additions i have here in my local tree, since i am not an u-boot developer i don't think i am allowed to commit anything in the server repository. so "git format-patch -n --cover-letter" don't give

[U-Boot] [PATCH 8/9] DM9000: change some printf to use debug instead

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige Cc: Ben Warren --- drivers/net/dm9000x.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index b5c5573..9cd0195 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -232,7 +232,

[U-Boot] [PATCH 6/9] mx1: improve PLL freq computation

2011-08-10 Thread Eric Jarrige
Improve PLL freq computation by using the full resolution of the PLL registers Signed-off-by: Eric Jarrige Cc: Stefano Babic --- arch/arm/cpu/arm920t/imx/speed.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/arch/arm/cpu/arm920t/imx/speed

[U-Boot] [PATCH 9/9] arm920t: Fix jump to the relocated board_init_r

2011-08-10 Thread Eric Jarrige
Jump to the relocated board_init_r according to the initial computation and remove computation against current PC addr as relocated address is already known and fixed. This helps to support CPU that miror flash to different address at power on boot such as Freescale iMX1/L Signed-off-by: Eric Jarr

[U-Boot] [PATCH 7/9] mx1: change a printf in speed.c to use debug instead

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige Cc: Stefano Babic --- arch/arm/cpu/arm920t/imx/speed.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm920t/imx/speed.c b/arch/arm/cpu/arm920t/imx/speed.c index b1c2bd6..b8e42bf 100644 --- a/arch/arm/cpu/arm920t/imx/speed.c ++

[U-Boot] [PATCH 2/9] mx1: add i2c registers

2011-08-10 Thread Eric Jarrige
Add i2c registers for Freescale imx1/L/S Signed-off-by: Eric Jarrige Cc: Stefano Babic --- arch/arm/include/asm/arch-imx/imx-regs.h | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-imx/imx-regs.h b/arch/arm/include/asm/ar

[U-Boot] [PATCH 5/9] apf9328: add default board configuration file

2011-08-10 Thread Eric Jarrige
Signed-off-by: Eric Jarrige --- include/configs/apf9328.h | 1034 + 1 files changed, 1034 insertions(+), 0 deletions(-) create mode 100644 include/configs/apf9328.h diff --git a/include/configs/apf9328.h b/include/configs/apf9328.h new file mode 10064

[U-Boot] [PATCH 0/9] Series short description

2011-08-10 Thread Eric Jarrige
The following series adds support for the Armadeus Project board apf9328 and also fixes some driver issues or improvements concerning the Freescale iMX1 cpu, DM9000 ethernet controler and the final call to the relocated board_init_r for the arm920t. The last arm920t patch should be applicable to th

Re: [U-Boot] [PATCH 1/3] add mcf5307 support

2011-08-10 Thread Detlev Zundel
Hi Angelo, > i don't have big experience with git, generally i use cvs/svn. No problem, we all have to learn new things. > I am posting changes/additions i have here in my local tree, since i > am not an u-boot developer i don't think i am allowed to commit > anything in the server repository.

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Detlev Zundel
Hi Andy, [...] >>> It seems the resetting of the indexes to 0 was added by Andy Fleming >>> in 063c12633d5ad74d52152d9c358e715475e17629, though the log doesn't >>> discuss it.. >> >> Yes, I see - it even slipped my review :( For the patch as such I don't >> have a preference - looking at the co

[U-Boot] [PATCH 4/9] apf9328: add apf9328 board in Makefile

2011-08-10 Thread Eric Jarrige
add apf9328 board definition in makefile, MAKEALL and MAINTAINERS list Signed-off-by: Eric Jarrige --- MAINTAINERS |4 MAKEALL |1 + boards.cfg |1 + 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f895e9a..48807fe 100644 --- a

[U-Boot] [PATCH 1/9] mx1: export imx_gpio_mode() function

2011-08-10 Thread Eric Jarrige
Add imx_gpio_mode() to Freescale imx1/L/S public functions Signed-off-by: Eric Jarrige Cc: Stefano Babic --- arch/arm/include/asm/arch-imx/imx-regs.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-imx/imx-regs.h b/arch/arm/include/asm/a

[U-Boot] [PATCH 3/9] apf9328: Add Armadeus Project board APF9328

2011-08-10 Thread Eric Jarrige
Add Armadeus Project board APF9328 Signed-off-by: Eric Jarrige Signed-off-by: Nicolas Colombain --- board/armadeus/apf9328/Makefile| 51 +++ board/armadeus/apf9328/apf9328.c | 91 ++ board/armadeus/apf9328/apf9328fpga.c | 89 ++ board/armadeus/apf9328/apf9328fpga.h

Re: [U-Boot] [PATCH] tsec: Configure the buffer descriptor bases to always include all of the descriptors

2011-08-10 Thread Andy Fleming
On Aug 10, 2011, at 2:12 AM, Joe Hershberger wrote: > Previously only the last N were included based on the current one in use. > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Mingkai Hu > Cc: Andy Fleming > Cc: Kumar Gala > Cc: Detlev Zundel Acked-by: Andy Fleming _

Re: [U-Boot] MII - Incorrect type specified for offset addr

2011-08-10 Thread Andy Fleming
I know I'm a bit late to this, but this doesn't sound right. MII isn't a very flexible protocol. The registers have to fit in 5 bits. In order for larger values to be used, you would need to be using clause 45 of MDIO, which requires not just 16-bit register offsets, but an additional argument (de

Re: [U-Boot] [u-boot-release] [Patch v2] powerpc/eeprom: cleanup mac command

2011-08-10 Thread Tabi Timur-B04825
York Sun wrote: > Change the help message to be more helpful. Print argument format. > Fix MAX_NUM_PORTS to comply with v1 NXID format. > > Signed-off-by: York Sun Could you also fix the commands so that they take a number in decimal instead of hex? e.mac[index][i] = simple_strtoul(p,

Re: [U-Boot] [u-boot-release] [PATCH 7/7] powerpc/8xxx: Add support for interactive DDR programming interface

2011-08-10 Thread Tabi Timur-B04825
York Sun wrote: > +/* Option parameter Structures */ > +typedef struct { > + const char *option_name; > + size_t offset; > + unsigned int size; > + const char printHex; > +} options_strings_t; Does it make sense for only printHex (which should be "print_hex") and option_name to be

Re: [U-Boot] [u-boot-release] [Patch v2] powerpc/eeprom: cleanup mac command

2011-08-10 Thread Mike Frysinger
On Wednesday, August 10, 2011 21:27:28 Tabi Timur-B04825 wrote: > York Sun wrote: > > Change the help message to be more helpful. Print argument format. > > Fix MAX_NUM_PORTS to comply with v1 NXID format. > > > > Signed-off-by: York Sun > > Could you also fix the commands so that they take a num

Re: [U-Boot] MII - Incorrect type specified for offset addr

2011-08-10 Thread Mike Frysinger
On Wednesday, August 10, 2011 19:23:07 Andy Fleming wrote: > I know I'm a bit late to this, but this doesn't sound right. MII > isn't a very flexible protocol. The registers have to fit in 5 bits. > In order for larger values to be used, you would need to be using > clause 45 of MDIO, which requir

Re: [U-Boot] [PATCH] gpio: Expand cmd_gpio functionality and script friendliness

2011-08-10 Thread Mike Frysinger
On Wednesday, August 10, 2011 02:27:42 Joe Hershberger wrote: > Add quiet parameter to cmd_gpio for use when part of a script > Enable repeat... especially useful when used with input and toggle > Add "outstate" command that will return and print the state of an output a similar patch was posted s

Re: [U-Boot] [PATCH] gpio: Expand cmd_gpio functionality and script friendliness

2011-08-10 Thread Joe Hershberger
Hi Mike, On Wed, Aug 10, 2011 at 8:33 PM, Mike Frysinger wrote: > On Wednesday, August 10, 2011 02:27:42 Joe Hershberger wrote: >> Add quiet parameter to cmd_gpio for use when part of a script >> Enable repeat... especially useful when used with input and toggle >> Add "outstate" command that wil

Re: [U-Boot] [PATCH v3] ftsdc010: add support of ftsdc010 mmc controller

2011-08-10 Thread 馬克泡
Hi Andy, 2011/7/21 Macpaul Lin : > Faraday FTSDC010 controller is a SD/MMC controller for SoC chip. > > Signed-off-by: Macpaul Lin > --- > Changes for v2: >  - headers: Fix typo from SDC_DATA_CTRL_REG_BLK_SIZE(x) >    to SDC_DATA_CTRL_REG_BLK_BYTES(x) > Changes for v3: >  - Replace mmc_xxx functi

[U-Boot] [PATCH 0/3] ARM: Clean arm/lib/cache.c, modify ARM1136 and ARM926 accordingly

2011-08-10 Thread Hong Xu
This series try to clean the code of arch/arm/lib/cache.c Move ARM1136 cache operations into cpu/arm1136/cache.c Add ARM926EJS cache operations into cpu/arm926ejs/cache.c Hong Xu (3): ARM: Clean arch/arm/lib/cache.c ARM: ARM1136 - Remove flush_cache from arch/arm/lib/cache.c

[U-Boot] [PATCH 1/3] ARM: Clean arch/arm/lib/cache.c

2011-08-10 Thread Hong Xu
The default cache operations defined in arch/arm/lib/cache.c do not perform any real cache operation, and instead a WARNING will be emitted. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud --- arch/arm/lib/cache.c | 55 - 1 files

[U-Boot] [PATCH 1/3] ARM: Clean arch/arm/lib/cache.c

2011-08-10 Thread Hong Xu
The default cache operations defined in arch/arm/lib/cache.c do not perform any real cache operation, and instead a WARNING will be emitted. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud CC: Aneesh V CC: Marek Vasut CC: Reinhard Meyer CC: Heiko Schocher --- arch/arm/lib/ca

[U-Boot] [PATCH 2/3] ARM: ARM1136 - Remove flush_cache from arch/arm/lib/cache.c

2011-08-10 Thread Hong Xu
arch/arm/lib/cache.c is cleaned and no real cache operation will be defined in this file. So a new file arch/arm/cpu/arm1136/cache.c is created. This file will define the real cache operations. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud --- arch/arm/cpu/arm1136/Makefile |

[U-Boot] [PATCH 2/3] ARM: ARM1136 - Remove flush_cache from arch/arm/lib/cache.c

2011-08-10 Thread Hong Xu
arch/arm/lib/cache.c is cleaned and no real cache operation will be defined in this file. So a new file arch/arm/cpu/arm1136/cache.c is created. This file will define the real cache operations. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud CC: Aneesh V CC: Marek Vasut CC: Rei

[U-Boot] [PATCH 3/3] ARM: ARM926EJS - Add cache operations

2011-08-10 Thread Hong Xu
Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations into this file. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud --- arch/arm/cpu/arm926ejs/Makefile |2 +- arch/arm/cpu/arm926ejs/cache.c | 142 +++ 2 files changed,

[U-Boot] [PATCH 3/3] ARM: ARM926EJS - Add cache operations

2011-08-10 Thread Hong Xu
Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations into this file. Signed-off-by: Hong Xu Tested-by: Elen Song CC: Albert Aribaud CC: Aneesh V CC: Marek Vasut CC: Reinhard Meyer CC: Heiko Schocher --- arch/arm/cpu/arm926ejs/Makefile |2 +- arch/arm/cpu/arm926ejs/cac

[U-Boot] [PATCH 3/3 v2] ARM: ARM926EJS - Add cache operations

2011-08-10 Thread Hong Xu
Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations into this file. Signed-off-by: Hong Xu CC: Albert Aribaud --- V2: Fixed a typo when CONFIG_SYS_DCACHE_OFF is defined arch/arm/cpu/arm926ejs/Makefile |2 +- arch/arm/cpu/arm926ejs/cache.c | 142

Re: [U-Boot] [PATCH v4 1/3] gpio: Move common gpio.h to include/asm-generic

2011-08-10 Thread Mike Frysinger
On Wednesday, August 10, 2011 00:56:40 Joe Hershberger wrote: > --- /dev/null > +++ b/include/asm-generic/gpio.h > +#include NAK. this belongs in the arch/ specific header. -mike signature.asc Description: This is a digitally signed message part. ___

[U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-08-10 Thread Hong Xu
Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations into this file. Signed-off-by: Hong Xu --- V2: Fixed a typo when CONFIG_SYS_DCACHE_OFF is defined V3: Undo changes in include/configs/at91sam9260ek.h It's for testing purpose arch/arm/cpu/arm926ejs/Ma

Re: [U-Boot] [PATCH] gpio: Expand cmd_gpio functionality and script friendliness

2011-08-10 Thread Mike Frysinger
On Wednesday, August 10, 2011 22:07:28 Joe Hershberger wrote: > On Wed, Aug 10, 2011 at 8:33 PM, Mike Frysinger wrote: > > On Wednesday, August 10, 2011 02:27:42 Joe Hershberger wrote: > >> Add quiet parameter to cmd_gpio for use when part of a script > >> Enable repeat... especially useful when us

  1   2   >