board: atmel: sama5d2_icp: standby disable on CAN transceivers in SPL
[oweals/u-boot.git] / include / dm / test.h
index cba504909acae50f337989c0ab2743952f86050a..07385cd531fa2c9af660010ad4a439aab0ec75e0 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2013 Google, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __DM_TEST_H
@@ -70,6 +69,7 @@ struct dm_test_priv {
        int op_count[DM_TEST_OP_COUNT];
        int uclass_flag;
        int uclass_total;
+       int uclass_postp;
 };
 
 /**
@@ -150,6 +150,8 @@ enum {
        DM_TESTF_SCAN_PDATA     = 1 << 0,       /* test needs platform data */
        DM_TESTF_PROBE_TEST     = 1 << 1,       /* probe test uclass */
        DM_TESTF_SCAN_FDT       = 1 << 2,       /* scan device tree */
+       DM_TESTF_FLAT_TREE      = 1 << 3,       /* test needs flat DT */
+       DM_TESTF_LIVE_TREE      = 1 << 4,       /* needs live device tree */
 };
 
 /* Declare a new driver model test */