u-boot-brain/include/dm
Przemyslaw Marczak 5eaed88028 dm: core: Extend struct udevice by '.uclass_platdata' field.
This commit adds 'uclass_platdata' field to 'struct udevice', which
can be automatically allocated at bind. The allocation size is defined
in 'struct uclass_driver' as 'per_device_platdata_auto_alloc_size'.

New device's flag is added: DM_FLAG_ALLOC_UCLASS_PDATA, which is used
for memory freeing at device unbind method.

As for other udevice's fields, a complementary function is added:
- dev_get_uclass_platdata()

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2015-04-22 11:03:14 -06:00
..
platform_data dm: sh: serial: Add support driver model 2015-02-12 15:17:17 -07:00
device-internal.h dm: core: Convert driver_bind() to use const 2015-04-18 11:11:19 -06:00
device.h dm: core: Extend struct udevice by '.uclass_platdata' field. 2015-04-22 11:03:14 -06:00
lists.h dm: Add a function to bind a device by driver name 2014-11-22 10:16:47 +01:00
platdata.h dm: core: Allow a list of devices to be declared in one step 2014-10-22 10:36:54 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h dm: test: Allow 'dm test' to select a particular test to run 2015-04-18 11:11:30 -06:00
uclass-id.h dm: usb: sandbox: Add an emulator for USB flash devices 2015-04-18 11:11:26 -06:00
uclass-internal.h dm: core: add internal functions for getting the device without probe 2015-04-22 11:03:14 -06:00
uclass.h dm: core: Extend struct udevice by '.uclass_platdata' field. 2015-04-22 11:03:14 -06:00
ut.h dm: i2c: Add tests for I2C 2014-12-11 13:18:43 -07:00
util.h dm: Disable dm_warn() in SPL 2014-11-21 08:13:17 +01:00