aboutsummaryrefslogtreecommitdiff
path: root/include/dm/test.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-03 06:01:20 -0700
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:27 +1300
commitea74c95103c66282b8c43e7893bdcd533cab220f (patch)
tree9abea76c49022e6409902b6fbf9bacea4ac83606 /include/dm/test.h
parent9763e4eb93bfcb5cc50edf13b152c231b218591f (diff)
downloadu-boot-ea74c95103c66282b8c43e7893bdcd533cab220f.zip
u-boot-ea74c95103c66282b8c43e7893bdcd533cab220f.tar.gz
u-boot-ea74c95103c66282b8c43e7893bdcd533cab220f.tar.bz2
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>
Diffstat (limited to 'include/dm/test.h')
-rw-r--r--include/dm/test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dm/test.h b/include/dm/test.h
index fe1cc2e..30f71ed 100644
--- a/include/dm/test.h
+++ b/include/dm/test.h
@@ -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
*/