[U-Boot] [RFC PATCH 00/12] Devres (Managed Device Resource) for U-Boot

Masahiro Yamada yamada.masahiro at socionext.com
Wed Jul 8 06:29:30 CEST 2015


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



Masahiro Yamada (12):
  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 allocation)
  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 devres

 arch/x86/include/asm/interrupt.h       |   4 -
 drivers/core/Kconfig                   |  16 +++
 drivers/core/Makefile                  |   2 +-
 drivers/core/device-remove.c           |  41 ++-----
 drivers/core/device.c                  |  64 ++++-------
 drivers/core/devres.c                  | 195 +++++++++++++++++++++++++++++++++
 drivers/usb/musb-new/musb_gadget_ep0.c |   1 +
 include/dm/device.h                    |  52 +++++++--
 include/linux/compat.h                 |  29 +++--
 lib/linux_compat.c                     |  19 ++--
 10 files changed, 310 insertions(+), 113 deletions(-)
 create mode 100644 drivers/core/devres.c

-- 
1.9.1



More information about the U-Boot mailing list