mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/12] more device rework
Date: Sun, 24 Jul 2011 16:44:41 +0200	[thread overview]
Message-ID: <20110724144441.GA10295@game.jcrosoft.org> (raw)

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

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

             reply	other threads:[~2011-07-24 15:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 14:44 Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-07-24 14:48 ` [PATCH 01/12] drivers/bus: move to drivers/base Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:48 ` [PATCH 02/12] drivers: move resource generic management to driver/base/resource.c Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 03/12 v2] resource: introduce add_generic_device to register simple device Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 04/12 v2] at91: switch to add_generic_device Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 05/12 v2] imx/devices: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 06/12] resource: introduce add_cfi_device to register simple cfi device Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 07/12] versatile: switch to add_generic_device Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 08/12] nomadik: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 09/12] mci: switch to "struct resource" Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 10/12] ata/bios: convert to struct resource Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 11/12] i2c: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-24 14:49 ` [PATCH 12/12] nand: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-25  9:32 ` [PATCH 0/12] more device rework Sascha Hauer
2011-07-25 13:39   ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-26  6:56     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110724144441.GA10295@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox