summaryrefslogtreecommitdiff
path: root/test/py/tests/test_mmc.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-09 09:07:15 -0700
committerSimon Glass <sjg@chromium.org>2025-03-15 11:02:04 +0000
commitd9ed4b75add4b4ccc37cf32b54cd9c77f48e3396 (patch)
tree842b5b9b6ede8c5aa232cc6c60395618be6b6c21 /test/py/tests/test_mmc.py
parent752c3769874596d012cd8325099d2ae20123f989 (diff)
test/py: Drop u_boot_ prefix on test files
We know this is U-Boot so the prefix serves no purpose other than to make things longer and harder to read. Drop it and rename the files. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # test_android / test_dfu
Diffstat (limited to 'test/py/tests/test_mmc.py')
-rw-r--r--test/py/tests/test_mmc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/py/tests/test_mmc.py b/test/py/tests/test_mmc.py
index 4ecd999c02c..4916dcd8529 100644
--- a/test/py/tests/test_mmc.py
+++ b/test/py/tests/test_mmc.py
@@ -4,7 +4,7 @@
import pytest
import random
import re
-import u_boot_utils
+import utils
"""
Note: This test doesn't rely on boardenv_* configuration values but it can
@@ -290,7 +290,7 @@ def test_mmc_fatload_fatwrite(ubman):
for y in mmc_modes:
ubman.run_command('mmc dev %d %d %d' % x, part, y)
part_detect = 1
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
devices[x]['addr_%d' % part] = addr
size = random.randint(4, 1 * 1024 * 1024)
devices[x]['size_%d' % part] = size
@@ -394,7 +394,7 @@ def test_mmc_ext4load_ext4write(ubman):
for y in mmc_modes:
ubman.run_command('mmc dev %d %d %d' % x, part, y)
part_detect = 1
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
devices[x]['addr_%d' % part] = addr
size = random.randint(4, 1 * 1024 * 1024)
devices[x]['size_%d' % part] = size
@@ -658,7 +658,7 @@ def test_mmc_fat_read_write_files(ubman):
for y in mmc_modes:
ubman.run_command('mmc dev %d %d %d' % x, part, y)
part_detect = 1
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
count_f = 0
addr_l = []
size_l = []