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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot