Re: [U-Boot] [PATCH] video: Add new driver for Silicon Motion SM501/SM502 Part 1/2

2008-12-06 Thread ksi
On Sun, 7 Dec 2008, Wolfgang Denk wrote: > Dear Anatolij & Stefan, > > In message <[EMAIL PROTECTED]> you wrote: >> >>> Use CONFIG_VIDEO_SM501NEW to enable the driver. >> >> not sure if CONFIG_VIDEO_SM501NEW is a good chose here. Maybe >> we should use s.th. like CONFIG_VIDEO_SM50x. This applies t

Re: [U-Boot] [PATCH] video: Add new driver for Silicon Motion SM501/SM502 Part 1/2

2008-12-07 Thread ksi
On Sun, 7 Dec 2008, Wolfgang Denk wrote: > Dear [EMAIL PROTECTED], > > In message <[EMAIL PROTECTED]> you > wrote: >> >> As for the SM502, it is a multi-function chip that has more than just > video. >> I'm writing an I2C driver for it right now and I want to ask you guys > for >> your opinion. >

Re: [U-Boot] [PATCH] video: Add new driver for Silicon Motion SM501/SM502 Part 1/2

2008-12-07 Thread ksi
On Sun, 7 Dec 2008, Wolfgang Denk wrote: > Dear [EMAIL PROTECTED], > > In message <[EMAIL PROTECTED]> you > wrote: >> >> As a matter of fact, SM501 is an older, now nonexistent version of > SM502. > > Yeah. Tell that to some hardware companies who are shipping boards > with the SM501 on it. :-)

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread ksi
On Mon, 15 Dec 2008, Wolfgang Denk wrote: Are you going to implement support for multiple I2C busses on some boards? I'm working on something like this now so it would be nice to coordinate our efforts somehow... There is a provision for using 2 I2C busses in fsl-i2c.c now but I'm trying to make

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-15 Thread ksi
On Mon, 15 Dec 2008, Timur Tabi wrote: > k...@koi8.net wrote: >> On Mon, 15 Dec 2008, Wolfgang Denk wrote: >> >> Are you going to implement support for multiple I2C busses on some > boards? >> I'm working on something like this now so it would be nice to > coordinate our >> efforts somehow... > >

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-16 Thread ksi
On Tue, 16 Dec 2008, Timur Tabi wrote: > k...@koi8.net wrote: > >> That looks similar. But why do you want to remove i2c_set_bus_num()? I > think >> it would be less work to keep it. > > Perhaps, but it would be even better to get rid of it. IMHO, it's a > kludge. It > was a hack added to allow

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-16 Thread ksi
On Tue, 16 Dec 2008, Scott Wood wrote: > On Mon, Dec 15, 2008 at 04:24:26PM -0800, k...@koi8.net wrote: >> Then, we could use some kind of array of I2C structures each > containing >> pointers to appropriate i2c-{read,write,probe,init}() functions with > generic >> i2c functions just calling those

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-16 Thread ksi
On Tue, 16 Dec 2008, Timur Tabi wrote: > k...@koi8.net wrote: > >> That looks messy... Why would we use two different versions if we can > make >> everything uniform? > > Because we already have something that makes it uniform, and it's > broken. The > idea of having a "current i2c bus" that need

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-16 Thread ksi
On Tue, 16 Dec 2008, Timur Tabi wrote: > Wolfgang Denk wrote: > >> Hm... what exactly is broken with the concept of having a "current >> device" or a "current bus"? We use it elasewhere, too (like for >> selection IDE or S-ATA devices and such), and so far I am not aware >> of fundament

Re: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-12-16 Thread ksi
On Tue, 16 Dec 2008, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you > wrote: >> >> I offered 4 possible scenarios and additional parameter to i2c > functions was >> one of them. Wolfgang said that current bus approach looks better than >> others and I agree with him. But it is not

Re: [U-Boot] mkimage for fit in 1.3.4?

2008-08-08 Thread ksi
On Fri, 8 Aug 2008, Kumar Gala wrote: > does mkimage in the current 1.3.4-rc2 tree work for FIT w/o any > patches? If not can we fix that since dtc 1.2.0 is out? It doesn't. I was going to ask but you beat me :) It would be very nice to have it fixed before 1.3.5. === Cut === TFTP side : -

Re: [U-Boot] [PATCH 2/2] ARM DaVinci: Removed redundant NAND initialization code.

2008-08-19 Thread ksi
On Tue, 19 Aug 2008, Hugo Villeneuve wrote: ACK by: Sergey Kubushyn <[EMAIL PROTECTED]> > ARM DaVinci: Removed redundant NAND initialization code. > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > --- > > cpu/arm926ejs/davinci/nand.c |3 +-- > 1 files changed, 1 insertions(+), 2 delet

Re: [U-Boot] [PATCH 1/2] ARM DaVinci: Fix compilation error with new MTD code.

2008-08-19 Thread ksi
On Tue, 19 Aug 2008, Hugo Villeneuve wrote: ACK by: Sergey Kubushyn <[EMAIL PROTECTED]> > ARM DaVinci: Fix compilation error with new MTD code. > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > --- > > The new nand_ecclayout structure no longer has the > useecc member. Removed code that

Re: [U-Boot] [RFC] ARM: Toolchain configuration for Cortex A8 based OMAP3?

2008-08-23 Thread ksi
On Sat, 23 Aug 2008, Dirk Behme wrote: > Woodruff, Richard wrote: >> Hi Dirk, >> >>> Relevant parts of OMAP3 patch we talk about here (most probably >>> reformated cause of copy & paste to mailtool, so just for discussion. >>> Final patches will be sent by git-send-mail). Note the -lgcc_eh which >

Re: [U-Boot] [RFC] ARM: Toolchain configuration for Cortex A8 based OMAP3?

2008-08-27 Thread ksi
On Wed, 27 Aug 2008, Wolfgang Denk wrote: > Dear Dirk, > > In message <[EMAIL PROTECTED]> you wrote: > ... >> Now, the remaining question is what to do with >> >> +CROSS_COMPILE = arm-none-linux-gnueabi- >> >> +PLATFORM_CPPFLAGS += -march=armv7a >> >> we still have above. >> >> Checking our code,

Re: [U-Boot] [PATCH] ARM DaVinci: Fix broken HW ECC for large page NAND.

2008-08-30 Thread ksi
On Sat, 30 Aug 2008, Hugo Villeneuve wrote: ACK-by: Sergey Kubushyn <[EMAIL PROTECTED]> > ARM DaVinci: Fix broken HW ECC for large page NAND. > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > --- > > Based on original patch by Bernard Blackham <[EMAIL PROTECTED]> > > U-boot's HW ECC supp

Re: [U-Boot] [PATCH] ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c

2008-09-01 Thread ksi
On Mon, 1 Sep 2008, Hugo Villeneuve wrote: ACK-by: Sergey Kubushyn <[EMAIL PROTECTED]> > ARM DaVinci: Remove duplicate code in cpu/arm926ejs/davinci/dp83848.c > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > --- > > Remove duplicate code in a if/else block in > cpu/arm926ejs/davinci/dp8

Re: [U-Boot] i2c: rework multibus/multiadapter functionality

2009-07-17 Thread ksi
On Sat, 18 Jul 2009, Wolfgang Denk wrote: > Dear Heiko Schocher, > > In message <49c89574.9040...@denx.de> you wrote: > > > > I want now, because the merge window is open again, restart the > > the multibus/multiadapter discussion. > > No negative feedback has been posted, as far as I can tell.

Re: [U-Boot] i2c: rework multibus/multiadapter functionality

2009-07-17 Thread ksi
On Sat, 18 Jul 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you > wrote: > > > > > Will you post patches for this merge window? > > > > Are we back at square one or we're gonna implement that weirdo with > > accessing global variables from object methods? > > I suggest you

Re: [U-Boot] 85xx: MPC8536DS board does not build

2009-08-10 Thread ksi
On Mon, 10 Aug 2009, Kumar Gala wrote: > > On Aug 10, 2009, at 1:22 PM, Wolfgang Denk wrote: > > > Dear Kumar Gala, > > > > In message <0EB7516A-2F14-42F7- > > a6ed-555adfab3...@kernel.crashing.org> you wrote: > >> > >>> Allocate more space for U-Boot? > >> > >> I might turn of BEDBUG as its ne

Re: [U-Boot] 85xx: MPC8536DS board does not build

2009-08-10 Thread ksi
On Mon, 10 Aug 2009, Peter Tyser wrote: > On Mon, 2009-08-10 at 15:27 -0400, Jerry Van Baren wrote: > > Kumar Gala wrote: > > > On Aug 10, 2009, at 1:59 PM, Zang Roy-R61911 wrote: > > > > > >> > > >>> -Original Message- > > >>> From: Kumar Gala [mailto:ga...@kernel.crashing.org] > > >>> S

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread ksi
On Thu, 13 Aug 2009, Ulf Samuelsson wrote: > Many packages support installing the resulting binary in another > location, but U-Boot does not. > > When you use buildsystems like buildroot and openembedded, > you want to collect the end result in a target directory, > and while you can use interna

Re: [U-Boot] davinci_emac.c:*: warning: duplicate `volatile'

2009-08-15 Thread ksi
On Sun, 16 Aug 2009, Wolfgang Denk wrote: OK, I'll try to fix it tomorrow or Monday, very busy right now... > Dear Sergey, > > in include/asm-arm/arch-davinci/emac_defs.h you declare emac_desc with > the "volatile" attribute, but when using it, "volatile" is frequently > added again, resulting i

Re: [U-Boot] davinci_emac.c:*: warning: duplicate `volatile'

2009-08-17 Thread ksi
On Sun, 16 Aug 2009, Wolfgang Denk wrote: > Dear Sergey, > > in include/asm-arm/arch-davinci/emac_defs.h you declare emac_desc with > the "volatile" attribute, but when using it, "volatile" is frequently > added again, resulting in complier warnings like these: > > Configuring for davinci_sffsdr

Re: [U-Boot] davinci_emac.c:*: warning: duplicate `volatile'

2009-08-17 Thread ksi
On Mon, 17 Aug 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > what compiler do you use? I just compiled all the davinci boards with > > GNUEABI GCC 4.4.1 (binutils ver.2.19.1) and I didn't get a single compiler > > warning. > > I was playing with old tool ch

Re: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support

2009-08-17 Thread ksi
On Mon, 17 Aug 2009, Wolfgang Denk wrote: Ack-by: Sergey Kubushyn --- > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to

[U-Boot] Multiple device support - none at all?

2009-03-10 Thread ksi
Hi, everyone. I wonder if I'm dreaming or the U-Boot is fundamentally broken... It looks like there is no support for multiple devices of a same kind at all. I'm porting U-Boot to my new MPC8548-based board and it pops up everywhere... The first case was I2C subsystem that does not provide for

Re: [U-Boot] Multiple device support - none at all?

2009-03-10 Thread ksi
On Tue, 10 Mar 2009, Jerry Van Baren wrote: > k...@koi8.net wrote: > > Hi, everyone. > > > > I wonder if I'm dreaming or the U-Boot is fundamentally broken... > > Well... broken can be a relative term. I like to think of it as an > opportunity to stand on the shoulders of giants. ;-) :) > >

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Detlev Zundel wrote: > Hi ksi (was it Sergei?), > > >> The fundamental concept of u-boot isn't to handle all your devices, it is > >> to > >> boot linux (or other OS) and use the OS to handle the multiple devices. > > > >

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Detlev Zundel wrote: > Hello ksi (so I'll leave it at that), > > > First of all, there are several bootable devices on a motherboard itself. > > These days almost every motherboard has PATA and some kind of SATA RAID > > controller onboard. The

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > It is supposed to be a "Universal" bootloader. Here is what wiki says: > > There is a certain difference between "universal" and "omnipotent". > Note that it's called "U-Boot", not "O-Boot". That

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > That's true but... It is not that unusual to have several similar interfaces > > on a board. There is nothing obscure or weird in that. But allowing for only > > one of those interfaces (whichever

Re: [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb

2009-04-01 Thread ksi
On Wed, 1 Apr 2009, Stefan Roese wrote: > On Tuesday 31 March 2009, Wolfgang Denk wrote: > > In message <20090331192117.gf24...@game.jcrosoft.org> you wrote: > > > > >  drivers/usb/Makefile                        >       |    1 + > > > > >  .../at91/usb.c => drivers/usb/atmel_usb.c          |  >

Re: [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb

2009-04-01 Thread ksi
On Wed, 1 Apr 2009, Remy Bohmer wrote: > Hello Stefan, > > > From what I remember we all agreed to move the device drivers (e.g. > ethernet, > > NAND, USB, serial etc) from the architecture/board (cpu/... board/...) > to the > > drivers directories at some time. > > > > Speaking for PPC4xx, the 4

Re: [U-Boot] [PATCH 10/13] at91: move usb driver to drivers/usb

2009-04-01 Thread ksi
On Wed, 1 Apr 2009, Stefan Roese wrote: > On Wednesday 01 April 2009, Michael Trimarchi wrote: > > It is just a glue code in linux. Maybe it will be simple if you create > a > > core direcory > > and a host directory under the usb. An move the specific part in the > host. > > Yes, I like this ide

Re: [U-Boot] [PATCH v2] Noisily disable the legacy NAND subsystem.

2009-04-04 Thread ksi
On Sat, 4 Apr 2009, Wolfgang Denk wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > In message <20090404163654.ge32...@game.jcrosoft.org> you wrote: > > > > Scoot you brake the rm9200dk > > No, he did not. He just made the problem clearly visible - the code > was has been broken before

Re: [U-Boot] Porting uboot to Broadcom 47xx (MIPS)

2009-04-07 Thread ksi
On Wed, 8 Apr 2009, Michael Buesch wrote: > Hi, > > I'm the author of the Linux SSB subsystem, which implements 95% of the > system > bootup code for the Broadcom 47xx MIPS architecture. > > I'd like to start porting u-boot to the bcm47xx. (I guess nobody started > with this already?) Did I mis

[U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
OK, this is _NOT_ just multiple I2C adapters... The entire thing is fundamentally broken. One supposed to have _THE_ device and only this device is somehow supported. Now it is USB. Each and every USB driver exports the same set of functions, submit_XXX_msg(...) That means there can be one and on

Re: [U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
On Wed, 8 Apr 2009, Jerry Van Baren wrote: > k...@koi8.net wrote: > > OK, this is _NOT_ just multiple I2C adapters... The entire thing is > > fundamentally broken. > > > > One supposed to have _THE_ device and only this device is somehow > supported. > > > > Now it is USB. Each and every USB dri

Re: [U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
On Wed, 8 Apr 2009, Robert Schwebel wrote: > On Wed, Apr 08, 2009 at 12:25:16PM -0700, k...@koi8.net wrote: > > On Wed, 8 Apr 2009, Jerry Van Baren wrote: > > > > > k...@koi8.net wrote: > > > > OK, this is _NOT_ just multiple I2C adapters... The entire thing > is > > > > fundamentally broken. > >

Re: [U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
On Wed, 8 Apr 2009, Robert Schwebel wrote: > On Wed, Apr 08, 2009 at 01:18:45PM -0700, k...@koi8.net wrote: > > > I suppose you didn't look in the right place. We don't even have > support > > > for i2c and spi in v2 :-) > > > > Ah, that's that forked one! Sorry, my bad... I thought about the new

Re: [U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
On Wed, 8 Apr 2009, k...@koi8.net wrote: > On Wed, 8 Apr 2009, Robert Schwebel wrote: > > > On Wed, Apr 08, 2009 at 01:18:45PM -0700, k...@koi8.net wrote: > > > > I suppose you didn't look in the right place. We don't even have > > support > > > > for i2c and spi in v2 :-) > > > > > > Ah, that's

Re: [U-Boot] Multiple device support -- sorry state :(

2009-04-08 Thread ksi
On Wed, 8 Apr 2009, Robert Schwebel wrote: > On Wed, Apr 08, 2009 at 02:25:57PM -0700, k...@koi8.net wrote: > > > OK, thanks. Cloning now :) > > > > OK, got a look at it. Looks promising but it is in very early stage > yet... I > > wouldn't say in pre-conception stage, but definitely on a very >

[U-Boot] BDIxxxx and others...

2009-06-16 Thread ksi
I see you guys talking about BDI3000 and I decided to ask a related question. Those who happen to own MPC8548CDS or something like this know it comes with a small box called CodeWarrior USB TAP. It is supposed to work with their software one has to pay for. I never used anything but GCC suite for

Re: [U-Boot] BDIxxxx and others...

2009-06-17 Thread ksi
On Wed, 17 Jun 2009, Wolfgang Denk wrote: > Dear David Hawkins, > > In message <4a382998.4010...@ovro.caltech.edu> you wrote: > > > > The USB-TAP has a PowerPC processor in it ... so even if you > > had to blow away the original firmware, I'm sure it wouldn't > > be too hard to figure out what c

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Mike Frysinger wrote: > On Wednesday 24 June 2009 20:59:11 Richard Stallman wrote: > > Embedded systems using core soc silicon from a number of > manufacturers > > have started to use what is known as 'secure boot'. This is > typically > > the case in applications whic

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Jean-Christian de Rivaz wrote: > k...@koi8.net a ?crit : > > On Thu, 25 Jun 2009, Mike Frysinger wrote: > > > > > On Wednesday 24 June 2009 20:59:11 Richard Stallman wrote: > > > > The principal purpose of these products is to restrict the > public's > > > > freedom. So it i

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Thomas Doerfler wrote: > Hi, > > since this threads gets more and more interesting, just a question out > of my curiosity: > > which operating systems, that get typically booted using U-Boot are > already under GPL3? > > I know that the license of the Boot Loader has nothin

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Jean-Christian de Rivaz wrote: > k...@koi8.net a ?crit : > > > Please point out precisely the regulations that require secure boot. > > > Should be > > > trivial as regulations are by definition public. > > > > Do you happen to know what "Google" is? > > Yes, thanks :-) > >

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Jean-Christian de Rivaz wrote: > k...@koi8.net a ?crit : > > On Thu, 25 Jun 2009, Jean-Christian de Rivaz wrote: > > > > > k...@koi8.net a ?crit : > > > > > Please point out precisely the regulations that require secure > boot. > > > > > Should be > > > > > trivial as regulat

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-25 Thread ksi
On Thu, 25 Jun 2009, Jean-Christian de Rivaz wrote: > k...@koi8.net a ?crit : > > > > > I downloaded the one I suspect is the more relevant: > > > > > http://gaming.nv.gov/stats_regs/reg14_tech_stnds.pdf > > > > > And I cannot found "secure boot" into it. > > > > Are you looking for a precise phra

Re: [U-Boot] U-book and GPLv3? (fwd)

2009-06-27 Thread ksi
On Sat, 27 Jun 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > and this is why i dislike the GPLv3. the GPLv2 was all about the > source, so > > the conversation between developers and everyone else was "you can > take my > > source and modify it all you want, but i want to see the chang

Re: [U-Boot] U-book and GPLv3?

2009-07-06 Thread ksi
On Mon, 6 Jul 2009, Jon Smirl wrote: > On Mon, Jul 6, 2009 at 6:55 AM, Wolfgang Denk wrote: > > Dear Richard, > > > > In message you wrote: > >> > >> Have you considered moving U-boot to "GPLv3-or-later"? > > If u-boot goes GPLv3 it will simply cause the people that need secure > boot to switch

[U-Boot] [PATCH/RFC, 1/2] I2C rework -- what do you think

2009-01-23 Thread ksi
diff -purN u-boot.orig/common/cmd_i2c.c u-boot/common/cmd_i2c.c --- u-boot.orig/common/cmd_i2c.c2008-11-25 16:41:07.0 -0800 +++ u-boot/common/cmd_i2c.c 2009-01-23 16:01:48.0 -0800 @@ -1,4 +1,9 @@ /* + * (C) Copyright 2009 + * Sergey Kubushyn, himself, k...@koi8.net + *

[U-Boot] [PATCH/RFC, 2/2] I2C rework -- what do you think

2009-01-23 Thread ksi
diff -purN u-boot.orig/drivers/i2c/fsl_uni_i2c.c u-boot/drivers/i2c/fsl_uni_i2c.c --- u-boot.orig/drivers/i2c/fsl_uni_i2c.c 1969-12-31 16:00:00.0 -0800 +++ u-boot/drivers/i2c/fsl_uni_i2c.c2009-01-23 16:01:48.0 -0800 @@ -0,0 +1,461 @@ +/* + * Copyright (c) 2009 Sergey Kub

[U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-23 Thread ksi
Hi everyone, Here is the first draft of major I2C subsystem rework. This is not a patch that should be applied to the tree--it will break systems with I2C busses over multiplexers and probably something else--but rather a Request For Comments. I would like to here all the objections, suggestions e

Re: [U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-27 Thread ksi
On Tue, 27 Jan 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: >> Hi everyone, >> >> Here is the first draft of major I2C subsystem rework. This is not a > patch >> that should be applied to the tree--it will break systems with I2C > b

Re: [U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-28 Thread ksi
On Wed, 28 Jan 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net schrieb: >> On Tue, 27 Jan 2009, Heiko Schocher wrote: >>> k...@koi8.net wrote: >>>> Hi everyone, >>>> >>>> Here is the first draft of major I2C subsystem rework

Re: [U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-29 Thread ksi
On Thu, 29 Jan 2009, Heiko Schocher wrote: [dd] >> That means that that "i2c bus" command in nothing more than a > shortcut. It >> can be easily implemented even as U-Boot environmental variable that > one >> can >> run... > > Hmm.. so we need no i2c mux support? Yep. It can be emulated by a cou

[U-Boot] PATCH: Fix MPC8260 with ethernet on SCC

2009-02-06 Thread ksi
This fixes MPC8260 compilation with ethernet on SCC. Probably was a typo or something... Signed-off-by: Sergey Kubushyn --- diff -purN u-boot.orig/cpu/mpc8260/cpu.c u-boot/cpu/mpc8260/cpu.c --- u-boot.orig/cpu/mpc8260/cpu.c 2009-02-02 13:39:05.0 -0800 +++ u-boot/cpu/mpc8260/cpu.c

[U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
This is the first attempt of multi-adapter multi-bus I2C subsystem rework for U-Boot. This batch deals with fsl_i2c and soft_i2c drivers. All (hopefully :) relevant parts are changed -- config files for all boards affected, lib_xxx, board/* etc. Please see illustrative section of MPC8548CDS.h con

[U-Boot] PATCH 1/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- board/keymile/common/common.c | 40 ++- board/keymile/mgcoge/mgcoge.c |4 - board/keymile/mgsuvd/mgsuvd.c | 11 - board/lwmon/lwmon.c |2 +- board/lwmon/pcmcia.c|4 +- common/cmd_date.c |9 + common

[U-Boot] PATCH 2/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/common/devices.c b/common/devices.c index 38f1bbc..073d89b 100644 --- a/common/devices.c +++ b/common/devices.c @@ -1,4 +1,8 @@ /* + * Copyright (C) 2009 Sergey Kubushyn + * + * Changes for multibus/multiadapter I2C support. + * * (C) Copyr

[U-Boot] PATCH 3/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index da6cec1..f0c1771 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -1,4 +1,8 @@ /* + * Copyright (c) 2009 Sergey Kubushyn + * + * Changes for multibus/multiadapter I2C su

[U-Boot] PATCH 4/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c index da6cec1..f0c1771 100644 --- a/drivers/i2c/soft_i2c.c +++ b/drivers/i2c/soft_i2c.c @@ -1,4 +1,8 @@ /* + * Copyright (c) 2009 Sergey Kubushyn + * + * Changes for multibus/multiadapter I2C su

[U-Boot] PATCH 5/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/include/configs/IDS8247.h b/include/configs/IDS8247.h index fbcbddb..407a162 100644 --- a/include/configs/IDS8247.h +++ b/include/configs/IDS8247.h @@ -72,10 +72,12 @@ /* enable I2C and select the hardware/software driver */ #undef CONFIG_

[U-Boot] PATCH 6/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h index 0d03b0b..98e3f27 100644 --- a/include/configs/MPC8540ADS.h +++ b/include/configs/MPC8540ADS.h @@ -299,13 +299,13 @@ /* * I2C */ -#define CONFIG_FSL_I2C /* Use FSL co

[U-Boot] PATCH 7/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/include/configs/TK885D.h b/include/configs/TK885D.h index 14ff62c..cd45b95 100644 --- a/include/configs/TK885D.h +++ b/include/configs/TK885D.h @@ -102,12 +102,12 @@ /* enable I2C and select the hardware/software driver */ #undef CONFIG_HAR

[U-Boot] PATCH 8/8 Multi-adapter multi-bus I2C

2009-02-06 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff --git a/include/configs/pdnb3.h b/include/configs/pdnb3.h index 4da401f..9ba0147 100644 --- a/include/configs/pdnb3.h +++ b/include/configs/pdnb3.h @@ -296,11 +296,12 @@ /* enable I2C and select the hardware/software driver */ #undef CONFIG_HARD_I2

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-09 Thread ksi
On Mon, 9 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > This is the first attempt of multi-adapter multi-bus I2C subsystem rework > > for U-Boot. > > > > This batch deals with fsl_i2c and soft_i2c drivers. All (hopefully :) >

Re: [U-Boot] PATCH 2/8 Multi-adapter multi-bus I2C

2009-02-09 Thread ksi
On Mon, 9 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > [...] > > diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c > > index ce646fd..f7998e3 100644 > > --- a/drivers/i2c/fsl_i2c.c > > +++ b/drivers/i2c/fsl_i2c.c > >

Re: [U-Boot] PATCH 4/8 Multi-adapter multi-bus I2C

2009-02-09 Thread ksi
On Mon, 9 Feb 2009, Heiko Schocher wrote: > Hello ksi > > k...@koi8.net wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c > > index da6cec1..f0c1771 100644 > > --- a/drivers/i2c/soft

Re: [U-Boot] PATCH 3/8 Multi-adapter multi-bus I2C

2009-02-09 Thread ksi
On Mon, 9 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c > > index da6cec1..f0c1771 100644 > > --- a/drivers/i2c/soft

Re: [U-Boot] PATCH 2/8 Multi-adapter multi-bus I2C

2009-02-09 Thread ksi
On Tue, 10 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > > Why do you here substitute a "dev->" with "&i2c_dev[adap_no]"? > > > Why not dev = &i2c_dev[adap_no] and you can let the dev-> unchanged. > > > > This eliminates one variable, dev. Another reaso

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Heiko Schocher wrote: > Hello Wolfgang, > > Wolfgang Denk wrote: > > In message <49901379.2050...@denx.de> you wrote: > >> - I also think, we should have a u-boot-i2c.git or something like that > >> for this big change. So your patches go first in u-boot-i2c.git, and > >>

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > On Tue, 10 Feb 2009, Heiko Schocher wrote: > > > >> Hello Wolfgang, > >> > >> Wolfgang Denk wrote: > >>> In message <49901379.2050...@denx.de>

Re: [U-Boot] PATCH 0/8 Multi-adapter multi-bus I2C

2009-02-10 Thread ksi
On Tue, 10 Feb 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > > > Would you like to volunteer as I2C custodian? > > > > > > Ok, I will try it. > > > > That's fine. Please let me know when it is setup and how can I push my > > patches in it. > > You cannot.

[U-Boot] [PATCH] 0/12 Multiadapter/multibus I2C

2009-02-12 Thread ksi
Here is the second attempt for initial portion of multibus/multiadapter I2C support. This includes a set of common files, all drivers in drivers/i2c and all boards affected by these changes (config files, board files, and lib_xx files.) There is an illustrative example of multiadapter multibus I2

[U-Boot] [PATCH] 1/12 Multiadapter/multibus I2C, common part 1

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/common/cmd_date.c u-boot-i2c/common/cmd_date.c --- u-boot-i2c.orig/common/cmd_date.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/common/cmd_date.c2009-02-12 10:46:00.0 -0800 @@ -46,8 +46,13 @@ int do_date (cmd_t

[U-Boot] [PATCH] 2/12 Multiadapter/multibus I2C, common part 2

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/cpu/mpc8xx/video.c u-boot-i2c/cpu/mpc8xx/video.c --- u-boot-i2c.orig/cpu/mpc8xx/video.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/cpu/mpc8xx/video.c 2009-02-12 10:46:00.0 -0800 @@ -809,7 +809,11 @@ static void vi

[U-Boot] [PATCH] 3/12 Multiadapter/multibus I2C, boards

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/board/keymile/common/common.c u-boot-i2c/board/keymile/common/common.c --- u-boot-i2c.orig/board/keymile/common/common.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/board/keymile/common/common.c2009-02-12 10:46:00.000

[U-Boot] [PATCH] 4/12 Multiadapter/multibus I2C, drivers part 1

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/bfin-twi_i2c.c u-boot-i2c/drivers/i2c/bfin-twi_i2c.c --- u-boot-i2c.orig/drivers/i2c/bfin-twi_i2c.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/drivers/i2c/bfin-twi_i2c.c 2009-02-12 10:46:00.0 -0800

[U-Boot] [PATCH] 5/12 Multiadapter/multibus I2C, drivers part 2

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/omap1510_i2c.c u-boot-i2c/drivers/i2c/omap1510_i2c.c --- u-boot-i2c.orig/drivers/i2c/omap1510_i2c.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/drivers/i2c/omap1510_i2c.c 2009-02-12 10:46:00.0 -0800

[U-Boot] [PATCH] 6/12 Multiadapter/multibus I2C, drivers part 3

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/sm502_i2c.c u-boot-i2c/drivers/i2c/sm502_i2c.c --- u-boot-i2c.orig/drivers/i2c/sm502_i2c.c 1969-12-31 16:00:00.0 -0800 +++ u-boot-i2c/drivers/i2c/sm502_i2c.c 2009-02-12 10:46:00.0 -0800 @@ -0,0 +1,340

[U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/soft_i2c.c u-boot-i2c/drivers/i2c/soft_i2c.c --- u-boot-i2c.orig/drivers/i2c/soft_i2c.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/drivers/i2c/soft_i2c.c 2009-02-12 10:46:00.0 -0800 @@ -1,4 +1,8 @@

[U-Boot] [PATCH] 8/12 Multiadapter/multibus I2C, configs part 1

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/ATUM8548.h u-boot-i2c/include/configs/ATUM8548.h --- u-boot-i2c.orig/include/configs/ATUM8548.h 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/ATUM8548.h 2009-02-12 10:46:00.0 -0800

[U-Boot] [PATCH] 9/12 Multiadapter/multibus I2C, configs part 2

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/MHPC.h u-boot-i2c/include/configs/MHPC.h --- u-boot-i2c.orig/include/configs/MHPC.h 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/MHPC.h 2009-02-12 10:46:00.0 -0800 @@ -72,7 +72,12 @

[U-Boot] [PATCH] 10/12 Multiadapter/multibus I2C, configs part 3

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/MPC8555CDS.h u-boot-i2c/include/configs/MPC8555CDS.h --- u-boot-i2c.orig/include/configs/MPC8555CDS.h2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/MPC8555CDS.h 2009-02-12 10:46:00.0

[U-Boot] 11/12 Multiadapter/multibus I2C, configs part 4

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/barco.h u-boot-i2c/include/configs/barco.h --- u-boot-i2c.orig/include/configs/barco.h 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/barco.h 2009-02-12 10:46:00.0 -0800 @@ -197,6 +197,

[U-Boot] 12/12 Multiadapter/multibus I2C, configs part 5

2009-02-12 Thread ksi
Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/mgcoge.h u-boot-i2c/include/configs/mgcoge.h --- u-boot-i2c.orig/include/configs/mgcoge.h2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/mgcoge.h 2009-02-12 10:46:00.0 -0800 @@ -62,6 +62,

Re: [U-Boot] [PATCH] 0/12 Multiadapter/multibus I2C

2009-02-13 Thread ksi
On Fri, 13 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > Here is the second attempt for initial portion of multibus/multiadapter > > I2C support. > > > > Can you please send your patches with some better commit messages. > You o

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-13 Thread ksi
On Fri, 13 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > Signed-off-by: Sergey Kubushyn > > --- > > diff -purN u-boot-i2c.orig/drivers/i2c/soft_i2c.c > > u-boot-i2c/drivers/i2c/soft_i2c.c > > --- u-boot-i2c.orig/drivers/i2c/so

[U-Boot] [PATCH] 1/12 Multiadapter/multibus I2C, common part 1, fixed

2009-02-13 Thread ksi
Initial multiadapter/multibus I2C support. Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/common/cmd_date.c u-boot-i2c/common/cmd_date.c --- u-boot-i2c.orig/common/cmd_date.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/common/cmd_date.c2009-02-12 10:46:00.0

[U-Boot] [PATCH] 5/12 Multiadapter/multibus I2C, drivers part 2, fixed

2009-02-13 Thread ksi
Initial multiadapter/multibus I2C support. Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/omap1510_i2c.c u-boot-i2c/drivers/i2c/omap1510_i2c.c --- u-boot-i2c.orig/drivers/i2c/omap1510_i2c.c 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/drivers/i2c/omap1510_i2c.c

[U-Boot] [PATCH] 6/12 Multiadapter/multibus I2C, drivers part 3, fixed

2009-02-13 Thread ksi
Initial multiadapter/multibus I2C support. Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/drivers/i2c/sm502_i2c.c u-boot-i2c/drivers/i2c/sm502_i2c.c --- u-boot-i2c.orig/drivers/i2c/sm502_i2c.c 1969-12-31 16:00:00.0 -0800 +++ u-boot-i2c/drivers/i2c/sm502_i2c.c 2009-02

[U-Boot] [PATCH] 9/12 Multiadapter/multibus I2C, configs part 2, fixed

2009-02-13 Thread ksi
Initial multiadapter/multibus I2C support. Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.orig/include/configs/MHPC.h u-boot-i2c/include/configs/MHPC.h --- u-boot-i2c.orig/include/configs/MHPC.h 2009-02-12 10:43:41.0 -0800 +++ u-boot-i2c/include/configs/MHPC.h 2009-02-1

[U-Boot] [PATCH] Multiadapter/multibus I2C, i2c.h fix

2009-02-13 Thread ksi
Add missing #endif in include/i2c.h Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.ORIG/include/i2c.h u-boot-i2c/include/i2c.h --- u-boot-i2c.ORIG/include/i2c.h 2009-02-13 16:34:36.0 -0800 +++ u-boot-i2c/include/i2c.h2009-02-13 16:25:52.0 -0800 @@ -226,6 +226,7

[U-Boot] [PATCH] Multiadapter/multibus I2C, at91rm9200 and friends

2009-02-13 Thread ksi
Initial multiadapter/multibus I2C support. Atmel AT91RM9200 based boards. This goes on top of previous patches. Signed-off-by: Sergey Kubushyn --- diff -purN u-boot-i2c.ORIG/board/cmc_pu2/load_sernum_ethaddr.c u-boot-i2c/board/cmc_pu2/load_sernum_ethaddr.c --- u-boot-i2c.ORIG/board/cmc_pu2/loa

Re: [U-Boot] [PATCH] 7/12 Multiadapter/multibus I2C, drivers part 4

2009-02-14 Thread ksi
On Sat, 14 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > On Fri, 13 Feb 2009, Heiko Schocher wrote: > >> k...@koi8.net wrote: > >>> Signed-off-by: Sergey Kubushyn > >>> --- > >>> diff -purN u-boot-i

Re: [U-Boot] [PATCH] 0/12 Multiadapter/multibus I2C

2009-02-14 Thread ksi
On Sat, 14 Feb 2009, Heiko Schocher wrote: > Hello ksi, > > k...@koi8.net wrote: > > On Fri, 13 Feb 2009, Heiko Schocher wrote: > >> k...@koi8.net wrote: > >>> Here is the second attempt for initial portion of multibus/multiadapter > >>> I2C

  1   2   >