mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user