[U-Boot] [PATCH 0/2] api: extend accessible set of block device attributes

Che-Liang Chiou clchiou at chromium.org
Fri Oct 21 08:31:46 CEST 2011


struct device_info in api_public.h defined its own subset of attributes
of block_dev_desc, which limits the capability of external apps.

This patch set let external apps access the same set of block device
attributes as U-Boot.

Che-Liang Chiou (2):
  Flatten and solidify block_dev_desc layout
  api: storage: Share attributes with block_dev_desc

 api/api_storage.c        |   17 +++++++++++++++--
 disk/part_dos.c          |    2 +-
 disk/part_efi.c          |    4 +---
 drivers/mmc/mmc.c        |    4 ++--
 drivers/mmc/pxa_mmc.c    |    2 +-
 examples/api/demo.c      |   15 +++++++++++++--
 include/api_public.h     |    8 +-------
 include/block_dev_attr.h |   39 +++++++++++++++++++++++++++++++++++++++
 include/part.h           |   18 +++---------------
 9 files changed, 76 insertions(+), 33 deletions(-)
 create mode 100644 include/block_dev_attr.h

-- 
1.7.3.1



More information about the U-Boot mailing list