From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QlHX4-0002wo-I7 for barebox@lists.infradead.org; Mon, 25 Jul 2011 09:33:03 +0000 Date: Mon, 25 Jul 2011 11:32:59 +0200 From: Sascha Hauer Message-ID: <20110725093259.GY20587@pengutronix.de> References: <20110724144441.GA10295@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110724144441.GA10295@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 0/12] more device rework To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org On Sun, Jul 24, 2011 at 04:44:41PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi, > > the folling patch series continue to switch the device/driver > > this reduce the code of 744 lignes and 188 bytes since v2011.07.0 > > this superseed the previous patch has some errors was found > > The following changes since commit 522af7074a333508d8b73c25abd1d051d8672e5c: > > armlinux: mem tag switch to "struct resource" (2011-07-20 08:25:45 +0200) > > are available in the git repository at: > git://uboot.jcrosoft.org/barebox.git resource pulled to -next. That drops the occurances of map_base to 180 ;) Thanks Sascha > > Jean-Christophe PLAGNIOL-VILLARD (12): > drivers/bus: move to drivers/base > drivers: move resource generic management to driver/base/resource.c > resource: introduce add_generic_device to register simple device > at91: switch to add_generic_device > imx/devices: switch to add_generic_device > resource: introduce add_cfi_device to register simple cfi device > versatile: switch to add_generic_device > nomadik: switch to add_generic_device > mci: switch to "struct resource" > ata/bios: convert to struct resource > i2c: convert to struct resource > nand: convert to struct resource > > arch/arm/boards/at91rm9200ek/init.c | 17 +-- > arch/arm/boards/at91sam9263ek/init.c | 17 +-- > arch/arm/boards/edb93xx/edb93xx.c | 9 +- > arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c | 19 +-- > arch/arm/boards/freescale-mx35-3-stack/3stack.c | 9 +- > arch/arm/boards/imx21ads/imx21ads.c | 9 +- > arch/arm/boards/imx27ads/imx27ads.c | 9 +- > arch/arm/boards/mmccpu/init.c | 16 +-- > arch/arm/boards/netx/netx.c | 9 +- > arch/arm/boards/nhk8815/setup.c | 18 +-- > arch/arm/boards/pcm037/pcm037.c | 17 +-- > arch/arm/boards/pcm038/pcm038.c | 9 +- > arch/arm/boards/pcm043/pcm043.c | 17 +-- > arch/arm/boards/pm9261/init.c | 10 +- > arch/arm/boards/pm9263/init.c | 17 +-- > arch/arm/boards/scb9328/scb9328.c | 10 +- > arch/arm/boards/versatile/versatilepb.c | 19 +-- > arch/arm/mach-at91/at91rm9200_devices.c | 144 +++------------ > arch/arm/mach-at91/at91sam9260_devices.c | 209 ++++----------------- > arch/arm/mach-at91/at91sam9261_devices.c | 130 +++---------- > arch/arm/mach-at91/at91sam9263_devices.c | 177 ++++-------------- > arch/arm/mach-at91/at91sam9g45_devices.c | 197 ++++---------------- > arch/arm/mach-imx/devices.c | 19 +-- > arch/arm/mach-nomadik/8815.c | 42 +---- > arch/arm/mach-versatile/core.c | 48 ++---- > arch/blackfin/boards/ipe337/ipe337.c | 9 +- > arch/nios2/boards/generic/generic.c | 9 +- > arch/ppc/boards/pcm030/pcm030.c | 9 +- > common/Makefile | 1 - > drivers/Makefile | 1 + > drivers/ata/bios.c | 2 +- > drivers/base/Makefile | 3 + > {lib => drivers/base}/driver.c | 0 > lib/bus.c => drivers/base/platform.c | 0 > common/mem.c => drivers/base/resource.c | 16 +- > drivers/i2c/busses/i2c-imx.c | 6 +- > drivers/i2c/busses/i2c-omap.c | 3 +- > drivers/mci/mci-core.c | 4 +- > drivers/mci/mxs.c | 4 +- > drivers/mci/omap_hsmmc.c | 2 +- > drivers/mci/s3c.c | 105 ++++++----- > drivers/mtd/nand/nand_omap_gpmc.c | 10 +- > drivers/mtd/nand/nand_s3c2410.c | 4 +- > include/driver.h | 23 ++- > lib/Makefile | 2 - > 45 files changed, 333 insertions(+), 1077 deletions(-) > create mode 100644 drivers/base/Makefile > rename {lib => drivers/base}/driver.c (100%) > rename lib/bus.c => drivers/base/platform.c (100%) > rename common/mem.c => drivers/base/resource.c (76%) > > Best Regards, > J. > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox