Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-05 Thread Wolfgang Denk
Dear Wolfgang Grandegger, In message <4aef3f18.6000...@grandegger.com> you wrote: > > Well, I think Wolfgang will tell me to use structs sooner than later. Why should I? You already know it! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel H

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Wolfgang Grandegger
Matthias Fuchs wrote: > Hi Wolfgang, > > of course I can think of situations where some simple CAN mechanism > might be helpful (e.g. simple hardware testing). > > But do we really need this inside a bootloader? Surely not > for a production build. But please keep on hacking! > > On Monday 02 N

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Matthias Fuchs
Hi Wolfgang, of course I can think of situations where some simple CAN mechanism might be helpful (e.g. simple hardware testing). But do we really need this inside a bootloader? Surely not for a production build. But please keep on hacking! On Monday 02 November 2009 13:50, Wolfgang Grandegger

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Wolfgang Grandegger
Matthias Fuchs wrote: > Hi Wolfgang, > > this patch conflicts with my simple SJA header posted some days ago > > http://lists.denx.de/pipermail/u-boot/2009-October/063097.html > > together with a fix for two of our boards - which has not much > to do with CAN. WD asked me to use a C struct to ac

Re: [U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-02 Thread Matthias Fuchs
Hi Wolfgang, this patch conflicts with my simple SJA header posted some days ago http://lists.denx.de/pipermail/u-boot/2009-October/063097.html together with a fix for two of our boards - which has not much to do with CAN. WD asked me to use a C struct to access the SJA1000. http://lists.denx.

[U-Boot] [RFC 3/5] CAN device driver for the SJA1000

2009-11-01 Thread Wolfgang Grandegger
From: Wolfgang Grandegger Signed-off-by: Wolfgang Grandegger --- drivers/can/Makefile |3 +- drivers/can/sja1000.c | 223 + include/sja1000.h | 159 +++ 3 files changed, 384 insertions(+), 1 deletions(-)