Re: [U-Boot] [PATCH 0/2] [RFC] DEBUG: relocate to fixed address

2012-11-21 Thread Wolfgang Denk
Dear Tetsuyuki Kobayashi, In message <1353476660-18018-1-git-send-email-k...@kmckk.co.jp> you wrote: > > U-Boot from NOR flash relocates itself to RAM erea. The relocation address is > calaculated at runtime to get maxium contiguous space to load kernel. So it > may > vary after code changed. In

Re: [U-Boot] [PATCH 1/2] DEBUG: fix relocation address

2012-11-21 Thread Wolfgang Denk
Dear Tetsuyuki Kobayashi, In message <1353476660-18018-2-git-send-email-k...@kmckk.co.jp> you wrote: > U-Boot from NOR flash relocates itself to RAM erea. The relocation address is > calaculated at runtime to get maxium contiguous space to load kernel. So it > may > vary after code changed. In th

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Lee Jones
Hi Wolfgang, > In message <1353422034-28107-6-git-send-email-lee.jo...@linaro.org> you wrote: > > This patch adds support for passing boot time information to > > the Linus kernel using ATAGS when booting on ARM based devices. > > I implicitly mentioned this before, here it comes clear again: Ah

Re: [U-Boot] [PATCH 00/46] Enhance spear support

2012-11-21 Thread Wolfgang Denk
Dear Vipin, In message <50a0d0eb.4080...@st.com> you wrote: > > The ssh key is as below THnaks a lot. The repository should be ready for your use now. Sorry it took so long. Please feel free to contact me directly if there should be any problems. Best regards, Wolfgang Denk -- DENX Softwar

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121091717.gg28...@gmail.com> you wrote: > Hi Wolfgang, > > > In message <1353422034-28107-6-git-send-email-lee.jo...@linaro.org> you > > wrote: > > > This patch adds support for passing boot time information to > > > the Linus kernel using ATAGS when booting on A

Re: [U-Boot] [PATCH 4/8] boottime: Apply some key boottime tags into common code

2012-11-21 Thread Lee Jones
On Tue, 20 Nov 2012, Wolfgang Denk wrote: > Dear Lee Jones, > > In message <1353422034-28107-5-git-send-email-lee.jo...@linaro.org> you wrote: > > Here we add boottime tags to the start of the main loop and just > > before the opportunity to break into the u-boot shell. This will > > provide a mo

Re: [U-Boot] [PATCH 3/8] boottime: Add core boottime measurement support

2012-11-21 Thread Lee Jones
> > Boottime is a tool which can be used for full system booting time > > measurement. Bootloader boot time is passed to the kernel component > > though ATAGS. The kernel-side driver then uses this information to > > provide full system boot time diagnostics though debugfs. > > Aren't we convertin

Re: [U-Boot] [PATCH 1/8] u8500: Correct unnecessary mathematical roll-over

2012-11-21 Thread Lee Jones
> > If we attempt to take a 32bit timer value and multiply it by a > > significant number, the core will not be able to handle it. This > > gives the illusion that the timer is rolling over, when in fact > > this is not the case. If we ensure the division in this instance > > is carried out before

Re: [U-Boot] [PATCH 0/8] Adding boottime support

2012-11-21 Thread Lee Jones
> > In this patch-set we're attempting to add boottime measurement > > support to u-boot. A patch-set has already hit the kernel MLs > > which intends to solve the other half of the puzzle. > > > > This new tool allows an engineer to apply tags into key areas > > around the bootloader, which are t

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Lee Jones
> > > > This patch adds support for passing boot time information to > > > > the Linus kernel using ATAGS when booting on ARM based devices. > > > > > > I implicitly mentioned this before, here it comes clear again: > > > > Ah, this has been tried before? Sorry, I didn't know that. > > I expolai

Re: [U-Boot] [PATCH v4 6/7] gpt: Support for new "gpt" command

2012-11-21 Thread Piotr Wilczek
Dear Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, November 19, 2012 10:35 PM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park; Chang Hyun Park; > Lukasz Majewski; Stephen Warren; Tom Rini; Rob Herring > Subjec

Re: [U-Boot] [PATCH v4 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-11-21 Thread Piotr Wilczek
Dear Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, November 19, 2012 9:17 PM > To: Piotr Wilczek > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park; Chang Hyun Park; > Lukasz Majewski; Stephen Warren; Tom Rini; Rob Herring > Subject

[U-Boot] [PATCH v2 00/67] net: net subsystem ops cleanup

2012-11-21 Thread Tomas Hlavacek
This patchi series is a first stage of preparation of the net subsystem for the driver model. The idea of this patchset is: 1) Remove ops .init, .send, .recv and .halt from the eth_device struct. Add a sparate structure eth_ops which is ready for inclusion to DM core. 2) Replace dynamic init of

[U-Boot] [PATCH v2 05/67] net: armada100_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/armada100_fec.c | 12 1 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v2 04/67] net: dm9000x: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/dm9000x.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 03/67] net: altera_tse: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/altera_tse.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-)

[U-Boot] [PATCH v2 08/67] net: bfin_mac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/bfin_mac.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) d

[U-Boot] [PATCH v2 10/67] net: cs8900: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/cs8900.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 01/67] net: dm: Pull out ops from struct eth_device

2012-11-21 Thread Tomas Hlavacek
Add struct eth_ops into include/net.h. Pull out ops (function pointers to functions init, send recv, halt etc.) from struct eth_device to the new struct eth_ops. Fix ops usage in all affected drivers. This is the first preparation step for DM in the net subsystem. Idea is to have pointers to the o

[U-Boot] [PATCH v2 09/67] net: calxedaxgmac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/calxedaxgmac.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(

[U-Boot] [PATCH v2 11/67] net: davinci_emac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/davinci_emac.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-

[U-Boot] [PATCH v2 06/67] net: at91_emac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/at91_emac.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-)

[U-Boot] [PATCH v2 02/67] net: 4xx_enet: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/4xx_enet.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 14/67] net: dnet: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/dnet.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --

[U-Boot] [PATCH v2 15/67] net: e1000: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/e1000.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff -

[U-Boot] [PATCH v2 13/67] net: designware: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/designware.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-)

[U-Boot] [PATCH v2 07/67] net: ax88180: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ax88180.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 12/67] net: dc2114x: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/dc2114x.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) di

[U-Boot] [PATCH v2 16/67] net: eepro100: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/eepro100.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 28/67] net: mcffec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mcffec.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 23/67] net: fsl_mcdmafec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/fsl_mcdmafec.c | 12 1 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v2 30/67] net: mvgbe: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mvgbe.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH v2 31/67] net: mpc512x_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mpc512x_fec.c | 12 1 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v2 36/67] net: pcnet: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/pcnet.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH v2 35/67] net: ns8382x: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ns8382x.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 39/67] net: rtl8169: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/rtl8169.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 37/67] net: plb2800_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/plb2800_eth.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) d

[U-Boot] [PATCH v2 33/67] net: ne2000: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ne2000_base.c | 12 1 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v2 34/67] net: npe: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/npe/npe.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 18/67] net: ep93xx_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ep93xx_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) d

[U-Boot] [PATCH v2 22/67] net: greth.c: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/greth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff -

[U-Boot] [PATCH v2 20/67] net: fec_mxc: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/fec_mxc.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-)

[U-Boot] [PATCH v2 21/67] net: ftgmac100: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ftgmac100.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) di

[U-Boot] [PATCH v2 19/67] net: ethoc: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ethoc.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH v2 25/67] net: ks8695eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ks8695eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) di

[U-Boot] [PATCH v2 45/67] net: xilinx_axi_emac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_axi_emac.c | 15 ++- 1 files changed, 10 insertions(+), 5 deleti

[U-Boot] [PATCH v2 40/67] net: smc91111: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/smc9.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) d

[U-Boot] [PATCH v2 43/67] net: tsi108_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/tsi108_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) d

[U-Boot] [PATCH v2 41/67] net: smc911x: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/smc911x.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 47/67] net: zynq_gem: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/zynq_gem.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) d

[U-Boot] [PATCH v2 46/67] net: xilinx_emaclite: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_emaclite.c | 12 1 files changed, 8 insertions(+), 4 deletions(

[U-Boot] [PATCH v2 54/67] net: mpc85xx_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc85xx/ether_fcc.c | 12 1 files changed, 8 insertions(+), 4 del

[U-Boot] [PATCH v2 52/67] net: mpc8260_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc8260/ether_fcc.c | 12 1 files changed, 8 insertions(+), 4 del

[U-Boot] [PATCH v2 44/67] net: uli526x: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/uli526x.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 57/67] net: mpc8xx_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc8xx/fec.c | 12 1 files changed, 8 insertions(+), 4 deletions(

[U-Boot] [PATCH v2 56/67] net: db64360/mv_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- board/Marvell/db64360/mv_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions

[U-Boot] [PATCH v2 24/67] net: inca-ip_sw: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/inca-ip_sw.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) di

[U-Boot] [PATCH v2 17/67] net: enc28j60: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/enc28j60.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) d

[U-Boot] [PATCH v2 26/67] net: lan91c96: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/lan91c96.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 29/67] net: mpc5xxx_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/mpc5xxx_fec.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) d

[U-Boot] [PATCH v2 53/67] net: mpc8260_scc: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc8260/ether_scc.c | 12 1 files changed, 8 insertions(+), 4 del

[U-Boot] [PATCH v2 63/67] net: fm_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/fm/eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 66/67] net: usb: asix: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/usb/eth/asix.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 55/67] net: mpc8xx_scc: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc8xx/scc.c | 12 1 files changed, 8 insertions(+), 4 deletions(

[U-Boot] [PATCH v2 65/67] net: qe: uec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/qe/uec.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --gi

[U-Boot] [PATCH v2 51/67] net: mpc8220_fec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/powerpc/cpu/mpc8220/fec.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(

[U-Boot] [PATCH v2 67/67] net: usb: smsc95xx: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/usb/eth/smsc95xx.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-

[U-Boot] [PATCH v2 58/67] net: db64460/mv_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- board/Marvell/db64460/mv_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions

[U-Boot] [PATCH v2 59/67] net: cpci750/mv_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- board/esd/cpci750/mv_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH v2 60/67] net: evb64260: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- board/evb64260/eth.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 61/67] net: p3mx/mv_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- board/prodrive/p3mx/mv_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-

[U-Boot] [PATCH v2 49/67] net: sh_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/sh_eth.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 38/67] net: rtl8139: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/rtl8139.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-

[U-Boot] [PATCH v2 48/67] net: xilinx_ll_temac: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/xilinx_ll_temac.c | 27 --- 1 files changed, 20 insertions(

[U-Boot] [PATCH v2 32/67] net: natsemi: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/natsemi.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 50/67] net: au1x00_eth: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- arch/mips/cpu/mips32/au1x00/au1x00_eth.c | 12 1 files changed, 8 insertions(+), 4

[U-Boot] [PATCH v2 42/67] net: tsec: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/tsec.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-)

[U-Boot] [PATCH v2 62/67] net: cpsw: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/cpsw.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --

[U-Boot] [PATCH v2 64/67] net: ftmac100: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/ftmac100.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) dif

[U-Boot] [PATCH v2 27/67] net: macb: Pull out init of struct eth_ops

2012-11-21 Thread Tomas Hlavacek
Add static struct eth_ops and set ops function pointers statically. Remove setting eth_ops members dynamically. This is a step toward converting the driver for DM. Signed-off-by: Tomas Hlavacek --- drivers/net/macb.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) diff

Re: [U-Boot] [PATCH 4/8] boottime: Apply some key boottime tags into common code

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121093647.gh28...@gmail.com> you wrote: > > > show_boot_progress() code? Did you consider using this instead? If > > so, why did you not use it? > > No, I didn't know it existed. Basically I've taken responsibility to > upstream someone else's driver. It's more o

Re: [U-Boot] [PATCH 3/8] boottime: Add core boottime measurement support

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121095045.gi28...@gmail.com> you wrote: > > Yes, I intend to extend this functionality into Device Tree. > That way it will be architecture and OS independent. > > > And forcing something upon a mechanism that was designed for a > > completely different purpose, w

Re: [U-Boot] [PATCH 1/8] u8500: Correct unnecessary mathematical roll-over

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121100228.gj28...@gmail.com> you wrote: > > > > -#define COUNT_TO_USEC(x) ((x) * 16 / 133) > > > +#define COUNT_TO_USEC(x) ((x) / 133 * 16) > > > > Before the change, the result is useful for all values of x in the > > interval from 0 through UINT_MAX/16 = 2684354

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121101310.gl28...@gmail.com> you wrote: > > > I expolained it in my reply to your cover letter, i.e. in the message > > immediately preceeding the one you replied to here. > > So you're telling me off for sending a patch which doesn't agree with > something you'v

Re: [U-Boot] [PATCH v2 00/67] net: net subsystem ops cleanup

2012-11-21 Thread Wolfgang Denk
Dear Tomas Hlavacek, In message <1353504238-11277-1-git-send-email-tmshl...@gmail.com> you wrote: > > - Prove bisectability: > > MAKEALL arm (1/67 applied): > Boards compiled: 274 > > MAKEALL arm (49/67 applied): > Boards compiled: 274 > > MAKEALL arm (67/67 applied): > Boards compiled: 274

[U-Boot] [PATCH v0] davinci: fixed cpu reset

2012-11-21 Thread Davide Bonfanti
The reset procedure works on watchdog timer while before it was modifying TIMER_1 registers. Tested on DM365. Signed-off-by: Davide Bonfanti --- arch/arm/cpu/arm926ejs/davinci/reset.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/davinci/reset.c b

[U-Boot] [PATCH 1/4] Optimized nand_read_buf for kirkwood

2012-11-21 Thread Phil Sutter
The basic idea is taken from the linux-kernel, but further optimized. First align the buffer to 8 bytes, then use ldrd/strd to read and store in 8 byte quantities, then do the final bytes. Signed-off-by: Nico Erfurth Cc: Prafulla Wadaskar --- drivers/mtd/nand/kirkwood_nand.c | 29 +++

[U-Boot] [PATCH 3/4] env_nand.c: do warn only if really no valid environment could be loaded

2012-11-21 Thread Phil Sutter
The warning is misleading, since there is no equivalent success note when reading the other copy succeeds. Signed-off-by: Phil Sutter --- common/env_nand.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 895532b..58ba55

[U-Boot] [PATCH 4/4] common/env_nand.c: calculate crc only when readenv was OK

2012-11-21 Thread Phil Sutter
Calculating the checksum of incompletely read data is useless. Signed-off-by: Phil Sutter --- common/env_nand.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 58ba558..038aa00 100644 --- a/common/env_nand.c +++ b/common/env

[U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-11-21 Thread Phil Sutter
Without this patch, when the currently chosen environment to be written has bad blocks, saveenv fails completely. Instead, when there is redundant environment fall back to the other copy. Environment reading needs no adjustment, as the fallback logic for incomplete writes applies to this case as we

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Lee Jones
> > > I expolained it in my reply to your cover letter, i.e. in the message > > > immediately preceeding the one you replied to here. > > > > So you're telling me off for sending a patch which doesn't agree with > > something you've said, despite you saying it _after_ I sent the patch? > > > > S

[U-Boot] [PATCH] .gitignore: ignore generated u-boot.lst

2012-11-21 Thread Vincent Stehlé
Signed-off-by: Vincent Stehlé --- .gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 1ac43f2..3f728ca 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,7 @@ /reloc_off /include/generated/ +/include/u-boot.lst asm-offsets.s # stgit generated

Re: [U-Boot] [PATCH 1/8] u8500: Correct unnecessary mathematical roll-over

2012-11-21 Thread Lee Jones
> > > > -#define COUNT_TO_USEC(x) ((x) * 16 / 133) > > > > +#define COUNT_TO_USEC(x) ((x) / 133 * 16) > > > > > > Before the change, the result is useful for all values of x in the > > > interval from 0 through UINT_MAX/16 = 268435455 = 268 seconds, i. e. > > > for all values that make

Re: [U-Boot] [PATCH 3/8] boottime: Add core boottime measurement support

2012-11-21 Thread Lee Jones
> > Yes, I intend to extend this functionality into Device Tree. > > That way it will be architecture and OS independent. > > > > > And forcing something upon a mechanism that was designed for a > > > completely different purpose, where you see right from the first > > > glance that it does not m

Re: [U-Boot] [PATCH 4/8] boottime: Apply some key boottime tags into common code

2012-11-21 Thread Lee Jones
> > > show_boot_progress() code? Did you consider using this instead? If > > > so, why did you not use it? > > > > No, I didn't know it existed. Basically I've taken responsibility to > > upstream someone else's driver. It's more of a kernel thing, but it > > This shouldbe considered a design fau

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121143928.ga28...@gmail.com> you wrote: > > > If you are not interested in such information, then just use > > appropriate log levels and filtering. > > I think the kernel log is the wrong place for this to go. Although, OK, this is your opinion, then, and I will

Re: [U-Boot] [PATCH 3/8] boottime: Add core boottime measurement support

2012-11-21 Thread Wolfgang Denk
Dear Lee Jones, In message <20121121150332.gc28...@gmail.com> you wrote: > > > Neither ATAGS not the device tree are intended nor designed for > > passing logfile information. Yes, you can use them like that, and it > > will actually work. > > ATAGs were exactly designed for this type of thing.

Re: [U-Boot] [PATCH v2 13/25] lib/zlib: sparse fixes

2012-11-21 Thread Tom Rini
On Thu, Nov 08, 2012 at 07:06:31PM -0600, Kim Phillips wrote: > On Thu, 8 Nov 2012 12:20:51 +0100 > Wolfgang Denk wrote: > > > In message <1351553687-12469-14-git-send-email-kim.phill...@freescale.com> > > you wrote: > > > define Z_NULL to (void *)0 include/u-boot/zlib.h to get rid of most of >

Re: [U-Boot] [PATCH v2 3/8] am33xx: NAND support

2012-11-21 Thread Tom Rini
On Thu, Nov 15, 2012 at 11:26:59PM +0100, Peter Korsgaard wrote: > Ilya> Hm. Non-BCH layouts was here because I initially planned to > Ilya> support nandecc command to switch between supported ECC > Ilya> schemas... But as Tom requested to remove it I guess we don't > Ilya> need these layouts a

Re: [U-Boot] [PATCH v2 6/8] omap_gpmc: BCH8 support (ELM based)

2012-11-21 Thread Tom Rini
On Thu, Nov 15, 2012 at 02:25:23PM +0100, Andreas Bießmann wrote: > Dear Ilya Yanok, > > On 07.11.2012 00:06, Ilya Yanok wrote: > > From: Mansoor Ahamed > > > > This patch adds support for BCH8 error correction code to omap_gpmc > > driver. We use GPMC to generate codes/syndromes but we need ELM

  1   2   >