From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Thu, 10 Jul 2008 14:11:28 -0400 Subject: [U-Boot-Users] [PATCH] I2C Dummy Driver In-Reply-To: <1215712408-23567-3-git-send-email-ricardo.ribalda@uam.es> References: <1215712408-23567-1-git-send-email-ricardo.ribalda@uam.es> <1215712408-23567-2-git-send-email-ricardo.ribalda@uam.es> <1215712408-23567-3-git-send-email-ricardo.ribalda@uam.es> Message-ID: <487650D0.2010309@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ricardo Ribalda Delgado wrote: > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/i2c/Makefile | 1 + > drivers/i2c/dummy_i2c.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 85 insertions(+), 0 deletions(-) > create mode 100644 drivers/i2c/dummy_i2c.c > > diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile > index 534c015..322c822 100644 > --- a/drivers/i2c/Makefile > +++ b/drivers/i2c/Makefile > @@ -30,6 +30,7 @@ COBJS-y += omap1510_i2c.o > COBJS-y += omap24xx_i2c.o > COBJS-y += tsi108_i2c.o > COBJS-y += mxc_i2c.o > +COBJS-y += dummy_i2c.o > > COBJS := $(COBJS-y) > SRCS := $(COBJS:.o=.c) > diff --git a/drivers/i2c/dummy_i2c.c b/drivers/i2c/dummy_i2c.c > new file mode 100644 > index 0000000..04f6edb > --- /dev/null > +++ b/drivers/i2c/dummy_i2c.c > @@ -0,0 +1,84 @@ > +/* > + (C) Copyright 2008 > + Ricado Ribalda, Universidad Autonoma de Madrid, ricardo.ribaldauam.es , ricardo.ribaldagmail.com > + This work has been supported by: Q-Technology http://qtec.com/ > + > + This program is free software: you can redistribute it and/or modify > + it under the terms of the GNU General Public License as published by > + the Free Software Foundation, either version 3 of the License, or Ditto: GPLv3 is a problem because most of u-boot is licensed at GPLv2 (possibly with an upgrade clause). The problem is, GPLv3 is not backward compatible with GPLv2 because it adds restrictions. If you wish to have this added to u-boot, you will need to change the licensing to GPLv2 (note that you can still keep the "any later" upgrade clause). Best regards, gvb