[PATCH] resources work

Sascha Hauer s.hauer at pengutronix.de
Tue Jul 19 04:39:44 EDT 2011


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
- 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://git.pengutronix.de/git/barebox.git resources

Sascha Hauer (19):
      register_device: Add IORESOURCE_MEM flag
      device: Add a dev_request_mem_region function
      add a add_mem_device function
      generic memmap: use resources
      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
      ARM pcm038: use add_mem_device helper
      ARM pcm037: use add_mem_device helper
      ARM i.MX51 babbage: use add_mem_device helper

 arch/arm/boards/freescale-mx51-pdk/board.c |   20 ++-------
 arch/arm/boards/pcm037/pcm037.c            |   56 ++++-----------------------
 arch/arm/boards/pcm038/pcm038.c            |   34 ++--------------
 arch/arm/mach-imx/devices.c                |    7 ++-
 commands/mem.c                             |   25 ++++++++++++
 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                           |   20 ++++++++++
 lib/driver.c                               |   21 +++++++++-
 18 files changed, 132 insertions(+), 136 deletions(-)



More information about the barebox mailing list