[U-Boot] [PATCH v2 00/14] Devres (Managed Device Resource) for U-Boot

Masahiro Yamada yamada.masahiro at socionext.com
Mon Jul 13 06:17:03 CEST 2015


Please refer to the commit message of 06/14
for what this series wants to do.


Masahiro Yamada (14):
  x86: delete unneeded declarations of disable_irq() and enable_irq()
  linux_compat: remove cpu_relax() define
  linux_compat: move vzalloc() to header file as an inline function
  linux_compat: handle __GFP_ZERO in kmalloc()
  dm: add DM_FLAG_BOUND flag
  devres: introduce Devres (Managed Device Resource) framework
  devres: add devm_kmalloc() and friends (managed memory allocators)
  dm: refactor device_bind() and device_unbind() with devm_kzalloc()
  dm: merge fail_alloc labels
  linux_compat: introduce GFP_DMA flag for kmalloc()
  dm: refactor device_probe() and device_remove() with devm_kzalloc()
  devres: add debug command to dump device resources
  dm: remove redundant CONFIG_DM from driver/core/Makefile
  devres: compile Devres iif CONFIG_DM_DEVICE_REMOVE is enabled

 arch/x86/include/asm/interrupt.h       |   4 -
 drivers/core/Kconfig                   |  16 ++
 drivers/core/Makefile                  |   4 +-
 drivers/core/device-remove.c           |  41 +----
 drivers/core/device.c                  |  64 +++-----
 drivers/core/devres.c                  | 258 ++++++++++++++++++++++++++++++
 drivers/usb/musb-new/musb_gadget_ep0.c |   1 +
 include/dm/device-internal.h           |  32 ++++
 include/dm/device.h                    | 280 +++++++++++++++++++++++++++++++--
 include/linux/compat.h                 |  29 ++--
 lib/linux_compat.c                     |  19 +--
 11 files changed, 634 insertions(+), 114 deletions(-)
 create mode 100644 drivers/core/devres.c

-- 
1.9.1



More information about the U-Boot mailing list