u-boot-brain/include/dm
Masahiro Yamada e2282d7076 devres: make Devres optional with CONFIG_DEVRES
Currently, Devres requires additional 16 byte for each allocation,
which is not so insignificant in some cases.

Add CONFIG_DEVRES to make this framework optional.
If the option is disabled, devres functions fall back to
non-managed variants.  For example, devres_alloc() to kzalloc(),
devm_kmalloc() to kmalloc(), etc.

Because devres_head is also surrounded by an ifdef conditional,
there is no memory overhead when CONFIG_DEVRES is disabled.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-06 07:44:29 -06:00
..
platform_data dm: sh: serial: Add support driver model 2015-02-12 15:17:17 -07:00
device-internal.h devres: make Devres optional with CONFIG_DEVRES 2015-08-06 07:44:29 -06:00
device.h devres: make Devres optional with CONFIG_DEVRES 2015-08-06 07:44:29 -06:00
lists.h dm: core: Add a function to bind a driver for a device tree node 2015-04-29 21:02:32 -06:00
platdata.h dm: Add platform data advice and admonishment 2015-07-21 17:39:30 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
uclass-id.h dm: video: Add support for video bridges 2015-08-05 21:06:13 -06:00
uclass-internal.h dm: core: Remove unbind operations when not required 2015-04-23 09:05:52 -06:00
uclass.h dm: core: Support finding a device by phandle 2015-08-05 20:57:51 -06:00
util.h dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00