dm: test: Add a test for the system controller uclass
Add a test to confirm that we can access system controllers and find their driver data. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -28,6 +28,14 @@ enum {
|
||||
PERIPH_ID_COUNT,
|
||||
};
|
||||
|
||||
/* System controller driver data */
|
||||
enum {
|
||||
SYSCON0 = 32,
|
||||
SYSCON1,
|
||||
|
||||
SYSCON_COUNT
|
||||
};
|
||||
|
||||
/**
|
||||
* sandbox_i2c_set_test_mode() - set test mode for running unit tests
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user