Files
u-boot-tk1-som/include
Przemyslaw Marczak 754e71e850 dm: test: Add tests for device's uclass platform data
This test introduces new test structure type:dm_test_perdev_uc_pdata.
The structure consists of three int values only. For the test purposes,
three pattern values are defined by enum, starting with TEST_UC_PDATA_INTVAL1.

This commit adds two test cases for uclass platform data:
- Test: dm_test_autobind_uclass_pdata_alloc - this tests if:
  * uclass driver sets: .per_device_platdata_auto_alloc_size field
  * the devices's: dev->uclass_platdata is non-NULL

- Test: dm_test_autobind_uclass_pdata_valid - this tests:
  * if the devices's: dev->uclass_platdata is non-NULL
  * the structure of type 'dm_test_perdev_uc_pdata' allocated at address
    pointed by dev->uclass_platdata. Each structure field, should be equal
    to proper pattern data, starting from .intval1 == TEST_UC_PDATA_INTVAL1.

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
..
2014-07-30 08:48:03 -04:00
2015-04-18 16:54:29 -04:00
2015-01-14 11:35:43 -05:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2014-06-21 10:06:58 -06:00
2015-04-10 14:23:23 +02:00
2014-10-25 15:27:36 -04:00
2014-11-19 08:48:41 +01:00
2014-12-05 08:06:15 -08:00
2015-01-21 10:25:02 +01:00
2015-02-24 13:09:42 -08:00
2015-03-05 08:56:39 -05:00
2014-11-19 08:48:42 +01:00
2015-01-29 17:09:59 -07:00
2014-12-11 13:18:43 -07:00
2013-09-24 09:10:33 -04:00
2014-10-25 15:27:37 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2014-10-22 16:56:41 -06:00
2013-09-20 10:30:54 -04:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2015-01-06 10:10:04 +02:00
2015-04-10 14:22:48 +02:00
2015-04-18 11:11:18 -06:00
2015-04-16 19:27:40 -06:00
2015-01-05 12:08:55 -05:00
2015-04-20 17:57:13 -05:00
2014-11-24 12:00:00 +01:00
2015-03-05 20:50:29 -05:00
2013-12-04 08:11:28 -05:00
2015-01-21 10:25:53 +01:00