mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
dtoc: Generate uclass devices
Add support for generating a file containing uclass instances. This avoids the need to create these at run time. Update a test uclass to include a 'priv_auto' member, to increase test coverage. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -71,6 +71,11 @@ struct dm_test_priv {
|
||||
int uclass_postp;
|
||||
};
|
||||
|
||||
/* struct dm_test_uc_priv - private data for the testdrv uclass */
|
||||
struct dm_test_uc_priv {
|
||||
int dummy;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct dm_test_perdev_class_priv - private per-device data for test uclass
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user