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 v2] resources work
Date: Tue, 19 Jul 2011 18:07:58 +0200	[thread overview]
Message-ID: <20110719160758.GK5727@game.jcrosoft.org> (raw)

Hi all,

Some resources related work in this series:

- add missing IORESOURCE_MEM flag to resources created by the
  wrapper in register_device
- add helper to register memory devices
- drop struct memory_platform_data
- switch all of the memory to new helper
- get rid of some map_base in the core
- convert the majority of i.MX devices to struct resource

The following changes since commit 7530c82c3d295c2e93f440dc2ee6440a72e41c3a:

  startup.c: make DEBUG_LL output more useful (2011-07-18 23:04:18 +0200)

are available in the git repository at:
  git://uboot.jcrosoft.org/barebox.git resource

Jean-Christophe PLAGNIOL-VILLARD (1):
      mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE

Sascha Hauer (15):
      register_device: Add IORESOURCE_MEM flag
      device: Add a dev_request_mem_region function
      add a add_mem_device function
      mem_read/write: use resources
      nand i.MX: convert to struct resource
      video i.MX: convert to struct resource
      serial i.MX: convert to struct resource
      i2c i.MX: convert to struct resource
      mci i.MX: convert to struct resource
      net i.MX fec: convert to struct resource
      mci i.MX esdhc: convert to struct resource
      spi i.MX: convert to struct resource
      video i.MX ipu: convert to struct resource
      i.MX devices: convert to struct resource
      cfi: convert to struct resource

 arch/arm/boards/a9m2410/a9m2410.c                 |   35 +++-----
 arch/arm/boards/a9m2440/a9m2440.c                 |   22 +----
 arch/arm/boards/chumby_falconwing/falconwing.c    |   21 +----
 arch/arm/boards/edb93xx/edb93xx.c                 |   91 ++++-----------------
 arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c |   20 +----
 arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c |   19 +----
 arch/arm/boards/eukrea_cpuimx35/eukrea_cpuimx35.c |   20 +----
 arch/arm/boards/eukrea_cpuimx51/eukrea_cpuimx51.c |   20 +----
 arch/arm/boards/freescale-mx23-evk/mx23-evk.c     |   20 +----
 arch/arm/boards/freescale-mx25-3-stack/3stack.c   |   48 +++--------
 arch/arm/boards/freescale-mx35-3-stack/3stack.c   |   19 +----
 arch/arm/boards/freescale-mx51-pdk/board.c        |   19 +----
 arch/arm/boards/guf-cupid/board.c                 |   19 +----
 arch/arm/boards/guf-neso/board.c                  |   19 +----
 arch/arm/boards/imx21ads/imx21ads.c               |   19 +----
 arch/arm/boards/imx27ads/imx27ads.c               |   21 +----
 arch/arm/boards/karo-tx25/board.c                 |   54 +++----------
 arch/arm/boards/karo-tx28/tx28.c                  |   22 +----
 arch/arm/boards/mini2440/mini2440.c               |   24 ++----
 arch/arm/boards/netx/netx.c                       |   21 ++----
 arch/arm/boards/omap/board-beagle.c               |   28 ++-----
 arch/arm/boards/omap/board-omap3evm.c             |   30 ++-----
 arch/arm/boards/omap/board-sdp343x.c              |   30 ++-----
 arch/arm/boards/panda/board.c                     |   20 +----
 arch/arm/boards/pcm037/pcm037.c                   |   67 +++------------
 arch/arm/boards/pcm038/pcm038.c                   |   35 ++-------
 arch/arm/boards/pcm043/pcm043.c                   |   20 +----
 arch/arm/boards/pcm049/board.c                    |   36 ++-------
 arch/arm/boards/phycard-i.MX27/pca100.c           |   19 +----
 arch/arm/boards/scb9328/scb9328.c                 |   19 +----
 arch/arm/mach-at91/at91rm9200_devices.c           |   27 +-----
 arch/arm/mach-at91/at91sam9260_devices.c          |   27 +-----
 arch/arm/mach-at91/at91sam9261_devices.c          |   27 +-----
 arch/arm/mach-at91/at91sam9263_devices.c          |   27 +-----
 arch/arm/mach-at91/at91sam9g45_devices.c          |   27 +-----
 arch/arm/mach-imx/devices.c                       |    7 +-
 arch/arm/mach-nomadik/8815.c                      |   27 +-----
 arch/arm/mach-versatile/core.c                    |   20 +----
 arch/blackfin/boards/ipe337/ipe337.c              |   16 +---
 arch/nios2/boards/generic/generic.c               |   16 +---
 arch/ppc/boards/pcm030/pcm030.c                   |   16 +---
 arch/x86/boards/x86_generic/generic_pc.c          |   16 +---
 commands/mem.c                                    |   32 ++------
 common/Makefile                                   |    1 +
 common/startup.c                                  |   16 +---
 drivers/i2c/busses/i2c-imx.c                      |   28 ++++---
 drivers/mci/imx-esdhc.c                           |    2 +-
 drivers/mci/imx.c                                 |    2 +-
 drivers/mtd/nand/nand_imx.c                       |    2 +-
 drivers/net/fec_imx.c                             |    2 +-
 drivers/nor/cfi_flash.c                           |   36 ++++-----
 drivers/serial/serial_imx.c                       |    2 +-
 drivers/spi/imx_spi.c                             |    2 +-
 drivers/video/imx-ipu-fb.c                        |    2 +-
 drivers/video/imx.c                               |    2 +-
 fs/fs.c                                           |    5 +-
 include/driver.h                                  |   26 +++++--
 lib/driver.c                                      |   18 ++++
 58 files changed, 342 insertions(+), 946 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2011-07-19 16:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 16:07 Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-07-19 16:08 ` [PATCH 01/16] register_device: Add IORESOURCE_MEM flag Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:08 ` [PATCH 02/16] device: Add a dev_request_mem_region function Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:08 ` [PATCH 03/16] mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 04/16] add a add_mem_device function Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:07   ` [PATCH 04/16 v3] " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:19   ` [PATCH 04/16] " Sascha Hauer
2011-07-19 17:10     ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 05/16] mem_read/write: use resources Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 06/16] nand i.MX: convert to struct resource Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 07/16] video " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 08/16] serial " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 09/16] i2c " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 10/16] mci " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 11/16] net i.MX fec: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 12/16] mci i.MX esdhc: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 13/16] spi i.MX: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 14/16] video i.MX ipu: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 15/16] i.MX devices: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 16:09 ` [PATCH 16/16] cfi: " Jean-Christophe PLAGNIOL-VILLARD

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=20110719160758.GK5727@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