diff options
author | Tom Rini <trini@konsulko.com> | 2015-04-23 13:53:09 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-04-23 14:56:10 -0400 |
commit | 5f757cdcc6efbefec09b8f964a234f84ff9fa7f6 (patch) | |
tree | e8058651bd0319757d33fb7a949b9491211de7c7 /include/dm/test.h | |
parent | bba97cd2c96ae0c21ad916a9c4eb363fe569a2f9 (diff) | |
parent | f3d46bd658ef4df575ec26c29e472ac858723159 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/dm/test.h')
-rw-r--r-- | include/dm/test.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dm/test.h b/include/dm/test.h index 9c4b8d3e573..f03fbcb1cdc 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -98,6 +98,26 @@ struct dm_test_parent_data { int flag; }; +/* Test values for test device's uclass platform data */ +enum { + TEST_UC_PDATA_INTVAL1 = 2, + TEST_UC_PDATA_INTVAL2 = 334, + TEST_UC_PDATA_INTVAL3 = 789452, +}; + +/** + * struct dm_test_uclass_platda - uclass's information on each device + * + * @intval1: set to TEST_UC_PDATA_INTVAL1 in .post_bind method of test uclass + * @intval2: set to TEST_UC_PDATA_INTVAL2 in .post_bind method of test uclass + * @intval3: set to TEST_UC_PDATA_INTVAL3 in .post_bind method of test uclass + */ +struct dm_test_perdev_uc_pdata { + int intval1; + int intval2; + int intval3; +}; + /* * Operation counts for the test driver, used to check that each method is * called correctly |