mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
test: Drop sandbox_set_enable_memio() from mux-cmd test
This test does not appear to use sandbox's memory-mapped I/O so there is no need to enable it. Even if there were a need, it should be disabled at the end of the test, so as not to affect other tests. Drop these lines from the test. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
87dec3078a
commit
98eba15ab8
1 changed files with 0 additions and 6 deletions
|
@ -26,8 +26,6 @@ static int dm_test_cmd_mux_list(struct unit_test_state *uts)
|
|||
int i;
|
||||
unsigned long val;
|
||||
|
||||
sandbox_set_enable_memio(true);
|
||||
|
||||
ut_assertok(uclass_get_device_by_name(UCLASS_MUX, "a-mux-controller",
|
||||
&dev));
|
||||
chip = dev_get_uclass_priv(dev);
|
||||
|
@ -119,8 +117,6 @@ static int dm_test_cmd_mux_select(struct unit_test_state *uts)
|
|||
char cmd[BUF_SIZE];
|
||||
unsigned int i, state;
|
||||
|
||||
sandbox_set_enable_memio(true);
|
||||
|
||||
ut_assertok(uclass_get_device_by_name(UCLASS_MUX, "a-mux-controller",
|
||||
&dev));
|
||||
chip = dev_get_uclass_priv(dev);
|
||||
|
@ -153,8 +149,6 @@ static int dm_test_cmd_mux_deselect(struct unit_test_state *uts)
|
|||
char cmd[BUF_SIZE];
|
||||
unsigned int i, state;
|
||||
|
||||
sandbox_set_enable_memio(true);
|
||||
|
||||
ut_assertok(uclass_get_device_by_name(UCLASS_MUX, "a-mux-controller",
|
||||
&dev));
|
||||
chip = dev_get_uclass_priv(dev);
|
||||
|
|
Loading…
Add table
Reference in a new issue