[U-Boot] [PATCH 00/11] Add DM blockdev subsystem

Pavel Herrmann morpheus.ibis at gmail.com
Thu Sep 20 21:37:36 CEST 2012


This series adds the new unified blockdev subsystem based on DM, converts all
filesystems and associated commands to the new API and adds a compatibility
wrapper for current SATA drivers.

Note: this is based on current DM branch with some FS cleanup patches sent out
recently.

Pavel Herrmann (11):
  DM: add block device core
  DM: add support for scanning DOS partitions to blockdev core
  DM: add block controller core
  DM: add sata_legacy driver for blockctrl
  DM: add ata and partition blockdev drivers
  DM: add cmd_block command
  DM: use new blockdev API in FAT
  DM: use new blockdev API in ext2
  DM: use new blockdev API in reiserfs
  DM: use new blockdev API in ZFS
  DM: switch sandbox to DM blockdev

 Makefile                                 |   2 +
 arch/sandbox/lib/board.c                 |   8 +
 common/Makefile                          |  14 +
 common/cmd_block.c                       | 139 ++++++
 common/cmd_ext2dm.c                      | 211 +++++++++
 common/cmd_fatdm.c                       | 192 ++++++++
 common/cmd_reiserdm.c                    | 193 ++++++++
 common/cmd_zfsdm.c                       | 199 ++++++++
 drivers/blockctrl/Makefile               |  43 ++
 drivers/blockctrl/core.c                 | 349 ++++++++++++++
 drivers/blockctrl/sata_legacy.c          | 166 +++++++
 drivers/blockdev/Makefile                |  43 ++
 drivers/blockdev/ata.c                   | 234 ++++++++++
 drivers/blockdev/ata.h                   |  37 ++
 drivers/blockdev/core.c                  | 752 +++++++++++++++++++++++++++++++
 drivers/blockdev/part_types/part_dos.c   | 148 ++++++
 drivers/blockdev/part_types/part_dos.h   |  49 ++
 drivers/blockdev/part_types/part_types.h |  34 ++
 drivers/blockdev/partition.c             | 179 ++++++++
 fs/ext2/Makefile                         |   7 +-
 fs/ext2/dev_dm.c                         | 107 +++++
 fs/fat/Makefile                          |   7 +-
 fs/fat/dev_dm.c                          | 141 ++++++
 fs/reiserfs/Makefile                     |   8 +-
 fs/reiserfs/dev_dm.c                     | 104 +++++
 fs/zfs/Makefile                          |   7 +-
 fs/zfs/dev_dm.c                          | 117 +++++
 include/configs/sandbox.h                |   4 +
 include/dm/blockctrl.h                   |  75 +++
 include/dm/blockdev.h                    | 121 +++++
 include/ext2fs.h                         |   9 +-
 include/fat.h                            |   8 +
 include/reiserfs.h                       |   8 +-
 include/zfs_common.h                     |   8 +
 34 files changed, 3717 insertions(+), 6 deletions(-)
 create mode 100644 common/cmd_block.c
 create mode 100644 common/cmd_ext2dm.c
 create mode 100644 common/cmd_fatdm.c
 create mode 100644 common/cmd_reiserdm.c
 create mode 100644 common/cmd_zfsdm.c
 create mode 100644 drivers/blockctrl/Makefile
 create mode 100644 drivers/blockctrl/core.c
 create mode 100644 drivers/blockctrl/sata_legacy.c
 create mode 100644 drivers/blockdev/Makefile
 create mode 100644 drivers/blockdev/ata.c
 create mode 100644 drivers/blockdev/ata.h
 create mode 100644 drivers/blockdev/core.c
 create mode 100644 drivers/blockdev/part_types/part_dos.c
 create mode 100644 drivers/blockdev/part_types/part_dos.h
 create mode 100644 drivers/blockdev/part_types/part_types.h
 create mode 100644 drivers/blockdev/partition.c
 create mode 100644 fs/ext2/dev_dm.c
 create mode 100644 fs/fat/dev_dm.c
 create mode 100644 fs/reiserfs/dev_dm.c
 create mode 100644 fs/zfs/dev_dm.c
 create mode 100644 include/dm/blockctrl.h
 create mode 100644 include/dm/blockdev.h

-- 
1.7.12



More information about the U-Boot mailing list